Musisback Posted October 28, 2010 Share Posted October 28, 2010 Is there a way to get the handle to an object by clicking on it? I don't think it's clear so here is another way to explain. I would like a function kind of like getpt() but instead of returning the coordonates a the point selected by the user, it returns an handle to the object on witch the user clicks. I don't think a such function exists, but if you guys find a ways do do this, please tell me. Thanks Quote Link to comment
Vectorworks, Inc Employee klinzey Posted October 28, 2010 Vectorworks, Inc Employee Share Posted October 28, 2010 There are several ways to do this. First it to use getpt() and pass the point to GetPickObjectInfo() If you want the user to select a certain type of object then use TrackObject(). It gives interactive highlighting as you move around the document based on your criteria. Quote Link to comment
Musisback Posted October 29, 2010 Author Share Posted October 29, 2010 Alright, Thanks for the quick answer. 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.