Displace Elements (Create Displacement Set)

Is there a way to add model elements in a 3D view to a displacement set with Dynamo?

Have tried adapting python script from this thread but have had no luck:

Hello @wvee something here for cpython3…

Revit_V5bLCIWjqd
displace Home.dyn (11.5 KB)

1 Like

Amazing! I noticed that it worked when selecting multiple elements, but not when selecting only a single element to displace. When only a single model element is selected it gives this error “Error: iteration over non-sequence” Is this a limitation with displacing?

you could try a list create before feed in if single, or create a node so you have option for lacing…or edit the code for both single and multiple

something here

displace Home.dyn (12.2 KB)

Great. Thankyou for your help

1 Like