Jump to content

Viewport & Custom Plugin


Recommended Posts

If you want to find out where you are, using the "waldo" technique is usually effective.  Search the forms for waldo.  Essentially, create a locus, get its handle, get its parent, then delete the locus.

 

The above works for a menu command.  If this is a plug-in object, GetPluginObjectInfo will get a handle to the currently executing plug-in.  The get the plug-in's parent.  A nil parent indicates that the plug-in is in preview mode, about to be inserted.

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