Jump to content
Developer Wiki and Function Reference Links ×

Restore current view in plug-in


michaelk

Recommended Posts

@michaelk,

   Try two scripts.

 

First script:

VSave('test');
SetView(#-90d,#0d,#0d,0",0",0");

 

Second script:
VRestore('test');

 

Unless your eyes are really, really quick (or your computer is really, really slow), you'll never see a view change between the VSave and VRestore in a single three line script.

 

I'm not at all sure what you are trying to do, but often it is recommended NOT to change the view in a plug-in. Good luck.

 

Raymond

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...