Place Component

I’m using place_component to insert a component into a model.

I’m wondering if there is a way to lock to orientation of the component to make it easier to place?

Is the component’s behavior snap_to set? and to what ?

For full control you’d need to perhaps use a custom tool. See this old example of mine …

I also posted this old command example, but it uses place_component as well:

2 Likes

Setting behavior.is2d = false works for the cupola.

For windows I have the snapto = SnapTo_Vertical, but the component still lays flat when not over a vertical face, or if seting is2d = true then it is forced horizonatally.

That’s probably the real solution, but I was hoping to avoid that until a later time.