Drawing - Aligning base view with largest face landscape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
a while ago i wrote a method for positioning parts into my drawing that forces the base view to show the largest face and then also orients it so that its always landscape. It works well but its slow. The reason for that is the process it goes through which is-
open part visible (only works visible)
loop through the part faces checking the area and storing the value
adding the face to a selection set only if the face is larger
once the larger face is selected, use the Look At command to bring that face to the camera
add the base view as Current View
i believe it would be much faster if the opening visible process was removed but then how could i reorient the view? is it possible to do this with a matrix of some sort to get the largest face and orient it as the base view?
Thanks
Nacho
Automation & Design Engineer
Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.