Jade
January 8, 2018, 12:45pm
#1
Hey there. Just having a problem finalizing a script and wondering if anyone could add some insight.
I’m trying to move a bunch of equipment referenced to the wrong level to the correct level using dynamo.
I even tried to create a custom node however it still isn’t giving me a response. Perhaps I am using the wrong wording for my output?
I have attached my script and the custom node.
Any insight on a better output or assistance with knowledge or information would be greatly appreciated.
Jade
January 8, 2018, 12:54pm
#2
Just an update. still not sure if this is getting any further though - should I maybe turn the node into a code block and then script in python?
You need to use an Element.SetParameterValueByName node. See here for more detail.
Hi all,
I need to change the level from many elements in the project while keeping their exact location.
So, I made a script to select elements and read the base offset value, calculate the new offset and set the new level and base offset parameters.
So far so good. Only issue is that if both parameters are not changed at the same time (in the same transaction or when pressing apply in the revit UI) dynamo will change one first and then the other with the consequent move of the element during…
1 Like
Jade
January 8, 2018, 1:09pm
#4
Hi Jacob. Thank you for your response so quickly - I’m getting my head around that post and your response to where it was going, so will alter my script accordingly and hope for the best tomorrow morning - if I’m completely stuck and hitting a limited knowledge brick wall I’ll be back.
Sounds good. Be sure to post images as I may be without a laptop but on my cell for awhile yet. (Stuck flying standby from Heathrow airport)