Handle 'Look At' command (extend an action of 'Perspective with Ortho Faces' projection method)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I used to use 'Perspective with ortho Faces' projection method all the time (even developed the add-in for pre 2024 Inventor versions).
But now I feel a bit disappointed with the projection method mentioned itself - it enables Ortho only for those look directions that are parallel to those named main View-Cube directions.
I believe that by activating 'Perspective with ortho Faces' user enables handling of ActiveView.Camera.ViewOrientation changes and Orthographic is set in case any of the 6 main ViewOrientationTypeEnums (kTopViewOrientation, Front, Left, Right, Bottom, Back) got active, and set Perspective for 'else'.
I'd like to extend it to look-directions that are perpendicular to some 2Dsketch or plane face.
The only way I can imagine is to add some handling usage of 'Look At'.
But for now I don't know how to understand that ViewOrientation have changed because of use of 'Look At' .
...any ideas are welcome...
UPDATE:
Should I use UserInputEvents.OnActivateCommand Event ?
Please vote for Inventor-Idea Text Search within Option Names