Now, what I would like to do, is to select the parts I just created and change "Mark" parameter.
This little operation however is starting to give me a headace :
Dynamo returns a warning: a cycle dependency exists between two variables
The script wonât âcollectâ all the elements until I run the script a second time, which obviously generates ALOT of other warnings.
Any input will be greatly appreciated!
Iâm running Dynamo Core - 2.0.1.5055
and Dynamo Revit - 2.0.1.5065
@jshial, you are right, I just tried to restart Revit and Dynamo - now the error is gone!
But when one problem is solved, a new arises.
I would like the âall elements by typeâ node, to select all creaded parts, not just one - how do I achive this if not by âall elements by typeâ?
I âalwaysâ test in an empty metric Revit project, but Iâll gladly attach the file: Divide wall.rvt (436 KB)
how do you want to set mark on parts ? I guess you need to reorganize the order of parts , the order from All Elements of Category might be âchaoticâ.
@jshial, you are absolutely right; the order IS chaotic - at best!
But I got that part figured out, fore the time being Iâm using one script to divide the wall into parts, and one to change parameters for the parts.
I would very much like these two scripts merged into one, but I canât figure out how to get dynamo to select the elements (parts) created during the running of the scripts.
As far as I can figure out, dynamo only selects the part present in Revit before running the script.
For combining scripts: after dividing walls into parts, you can retrieve parts for each wall by this method. (âinclude Parts With Associated Partsâ or ânot include Parts With Associated Partsâ )
Thanks for the input itâs really really great.
But no matter what method Iâm applying, Iâm only getting the associated Part OUT, but not the parts I just created.
itâs possible I think, you can just make it happend in the same Python Node, walls get divided first then just use that method to collect the parts from the walls. I need to look through the entire process recently to give a solid answer.