Make2D in place?

I am scripting Make2D in Top view of two different layers. The problem is that Make2D places the result at an offset, and the offsets are different for each layer. So objects in different layers are not in the correct relative positions afterwards.

Original (left) and generated by Make2D (right):

Well, apparently Make2D places the bounding box of the generated objects at 0,0. That means, if I determine the position of the bounding box of the source objects, then I could shift the generated objects to the source objects’ position.

If there is a simpler solution, I’m happy to hear about it!

Hi Felix - one way is to specify the current CPllane in the Make2d control . “DrawingLayout=CurrentCPlane” in the scriptable command.

-Pascal

1 Like

That does it, thanks Pascal!