Jump to content
Developer Wiki and Function Reference Links ×

Better method for getting actively selected items in and out of edit contexts?


Recommended Posts

Hello all, 

 

For a couple years I've been having to make my own functions for returning the handles of actively selected objects, regardless of the current edit context the user is in.

 

It involves creating a waldo (which I hate) to find out whether the user is just in a layer or editing a group, or symbol or plug-in. Then either using FSObject, FinGroup, FinSymDef, or Fin3D to run through the items in that container and find which are selected.

 

This feels so clunky to me, and it is surprising to me that there is not a built-in function to accomplish this, especially as this is something that many built-in commands do (Edit or transform only objects which are selected).

 

I guess my ask is hopefully I've just been blind and haven't found the all-in-one function that does this? And in the case one doesn't exist, I'm begging, pleading, crying for someone to have a more elegant solution to this than I do 😅

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