Move autocad objects using python

Hi,

To avoid working range issues I want to move autocad geometry (a solid generated with dynamo) at the end of the dynamo script using python.

It’s probably a quite simple script but I really don’t know how to get started.

Thanks in advance!

1 Like

Can you not transform the dynamo geometry before passing back to the DWG using Geometry.Translate ?

Hi @Michiel, I found more here: Move Objects
I’m same as you looking now for Python script how to move all 3D solids when I have vector in Dynamo. The reason is I can not find solution how to slice solid geometry by plane in Dynamo (more here Road markings as BIM objects to IFC - #3 by Drbohlav). I found only Solid.SliceByPlanes.

@Drbohlav have you already tried the Object.Transform node? Discussions here:

2 Likes

Thank you @mzjensen for this tip. I definetely will use this node in the future. This time the solution for road marking as 3D solid were in another node.