Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revit Dynamo Generative Design: force GD to single threading #112

Open
HadiMoosavi opened this issue Aug 23, 2022 · 1 comment
Open

Revit Dynamo Generative Design: force GD to single threading #112

HadiMoosavi opened this issue Aug 23, 2022 · 1 comment

Comments

@HadiMoosavi
Copy link

Situation right now

I recently installed Revit 2023 and also updated it with the latest hotfix (2023.0.2 Hotfix released on August 3, 2022).
I am trying to develop a dynamo graph for Generative Design (GD). In this graph, there is a zero-touch node that I have developed myself that calls Robot Structural Analysis (RSA) through API. This graph works perfectly when tried without GD but when used in GD, things go wrong and it is like the node does not run

I understand that Dynamo GD uses 6 instances at a time to speed up the process and RSA API cannot be called multiple times. So I tried to use the hack described here: Generative Design in Structural Analysis / How to handle connections / Multithreading? - Generative Design - Dynamo (dynamobim.com)
This is to force Dynamo GD to use only 1 instance instead of 6. This hack seems to have worked for some people and probably previous versions. But I was not successful.

Could you please help me with this?

What improvement do you suggest ?

Could we possibly have an option in Dynamo to select the number of threads during GD. And for example, limit it to one when need in certain case like this?

How would this change improve the Primer ?

This would help developers use Dynamo GD for interesting applications.

Are you ready to write the content for this change ?

I use C# for my work. Let me know if I can be helpful.

@QilongTang
Copy link

@saintentropy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants