Jump to content
Developer Wiki and Function Reference Links ×

How do I get the handle to the currently edited symbol?


Recommended Posts

I think you would have to use a version of the Waldo method.  Search here for Waldo for more details.

 

Basically, you insert a loci and then get the parent of the loci. Check the type of the Parent. If it is a symbol Definition you are good. If it is a container (group) then get the parent of the parent.  Repeat until you get a handle to a symbol definition (what you want) or a layer (meaning you are not editing a symbol).

  • Like 2
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...