Jump to content
Developer Wiki and Function Reference Links ×

View Port script


jcprovp

Recommended Posts

I don't understand. Please explain better what you are trying to do and we can probably help.

 

1. View Drop Down Menu - Do you mean just the View menu?  If so, isn't there a command there already to create a viewport?

 

2. Previously Selected Object - I understand what this is. Normally when you have an object selected and run the Viewport command it uses the object as the crop object.  What do you want to do differently?

Link to comment

Two options.

 

1. If you can live (or prefer) the dialog box to open you can do it in a single line of 

 

    DoMenuTextByName('Create Viewport');

 

2. If you want to skip the dialog box, check out all of the Viewport functions in the GROUPS section of the Vectorscript Function Reference. You will need to create the viewport, assign the crop object, get the existing Layer and Class visibilities and set the viewport visibilities to match.  Not hard, but kind of tedious.

 

Let me know if you need more help.

 

 

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...