Orient current view to closest orientation of WCS
Orient current view to closest orientation of WCS
(OP)
Hi,
I'm trying to write a journal code that orients current view to closest canned orientation using the WCS.
Default function under "F8" key - "workPart.ModelingViews.WorkView.SnapToClosestCannedOrientation()"
works with the absolute csys.
Regards,
Pawel
I'm trying to write a journal code that orients current view to closest canned orientation using the WCS.
Default function under "F8" key - "workPart.ModelingViews.WorkView.SnapToClosestCannedOrientation()"
works with the absolute csys.
Regards,
Pawel





RE: Orient current view to closest orientation of WCS
In NX6 it was called "Set to WCS" . Same function except the name.
Regards,
Tomas
RE: Orient current view to closest orientation of WCS
www.nxjournaling.com
RE: Orient current view to closest orientation of WCS
If I want to orient view to other planes I need to rotate WCS.
My idea is to get the orientation matrix of current view and compare it with the nearest plane of WCS.
That kind of function working under keybord shortcut would be very helpful for me.
Regards,
Pawel