David O Posted July 20, 2018 Share Posted July 20, 2018 I created (VS) a menu command but i need to use this command inside an Object Contextual Menu... I can insert it in the Object Contextual Menu using Workspace Editor ... but is there a way to know (inside VS Script...) the handle of the object which was right clicked ? Quote Link to comment
Nicolas Goutte Posted July 20, 2018 Share Posted July 20, 2018 Is the object not automatically selected when you right-click it? If yes, then you could check the currently selected object(s). Quote Link to comment
Nicolas Goutte Posted July 20, 2018 Share Posted July 20, 2018 According to the following thread, you must use http://developer.vectorworks.net/index.php/VS:FSActLayer to get the first selected object. Quote Link to comment
Recommended Posts
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.