screen space move
All  1-10  11-12

Previous
Next
 From:  Michael Gibson
10112.11 In reply to 10112.10 
Hi Pior,

re:
> Is the custom Cplane feature (as run like in this script) always tied to all views, or can it be related to
> the perspective view only, leaving the other (orthos) unaffected ?

It can be set just for the 3D view without changing the ortho views. Try this:

script:/* Orient cplane to 3D view direction, origin on selected objects */ var frame = moi.ui.mainWindow.viewpanel.getViewport('3D').targetFrame; frame.origin = moi.view.getCPlane().origin; var objs = moi.geometryDatabase.getSelectedObjects(); if ( objs.length > 0 ) { frame.origin = objs.getHighAccuracyBoundingBox().center; } moi.view.setCPlane( frame, false /*ApplyToAllViews*/ );

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  pior (PIOR_O)
10112.12 In reply to 10112.11 
Well, as per usual this seems to be working perfectly. Thank you so much !!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-10  11-12