Jump to content
Developer Wiki and Function Reference Links ×

Function used to get Mouse or User Selected object in Vectorscript


Tn_Pink

Recommended Posts

Good day, :)

What is the best function I can use to get Mouse or User Selected object in Vectorscript?

Thanks so much in advance.

You can get the point a user clicks in the document (might only work for tools)

http://developer.vectorworks.net/index.php/VS:vstGetPt2D

You can also get an object when clicking somewhere:

http://developer.vectorworks.net/index.php/VS:PickObject

Again this might not work if not a tool.

If you just want a handle to the selected object(s) use a foreachloop with criteria it being selected.

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