Open Cyril-Pop opened 1 year ago
Hello Cyril-Pop, thank you for submitting this issue! We are super excited that you want to help us make Dynamo all that it can be. However, we need some more information in order for the Dynamo team to investigate any further.
Can you please fill in the following to the best of your ability:
Additional information:
Hello! @Cyril-Pop was helping me on another forum with my initial problem. I was trying to toggle a global parameter Called "Print Ready". "Print Ready" is attached to a bunch of different families to hide guidelines and other non print elements. The reason I wanted the toggle (versus just going to the global parameters) was that I wanted to combine it with another dynamo script.
The formula above is basically identical to my original formula, just with "Print Ready" in the first code block. I ensured that all spellings were correct and that there were no extra spaces. but the GlobalParameter.SetValue did not work to toggle the parameter. I even check to make sure the element ID was correct in the GlobalParameter.FindByName.
The GlobalParameter.SetValue just reported null and did nothing in the project
Given that there has been no additional information added, this issue will be closed for now. Please reopen and provide additional information if you wish the Dynamo team to investigate further.
Issue Description
Global Parameter is not set with "GlobalParameter.SetValue" node
Dynamo version
Dynamo:
2.12.0.5650
Revit version
Revit 2022
Operating system
OS:
Microsoft Windows NT 10.0.19044.0
Screenshoot
CLR:
4.0.30319.42000