Family instance lock alignment to pipe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good day,
I have been trying to lock a family instance to a pipe with Document.Creation.NewAlignment method but it depends on the view you are referring to. I tried some workaround to be able to lock in horizontal and vertical planes even if the active view is a 3d view. When I use CenterFrontBack and CenterElevation for the family instance references I'm getting a non valid reference error on sloped pipes that runs in any direction except straight X-axis. When I use a reference line inside the family to lock alignments, I need to change the elevation views if the pipe is straight Y or straight X and when I move the pipe in Z axis the family instance loose the constrain.
Someone have a workaround that actually works or any comment on this topic.
Thanks