Guest Mark Flamer Posted July 12, 2010 Share Posted July 12, 2010 Can anyone explain how this index can be used? Here is a quote from the reference manual. "For container objects, GetClosestPt has distinct behaviors. For walls, if the closest vertex is is in a subobject, obj will be set to a handle to the subobject. For symbols and plug-in objects, an index to the sub-object will be returned via parameter containedObj. " I am trying to get to the name or handle of the sub object within a PIO that this index is pointing to. I can get the command to work, I just dont know what we can do with this index. Thanks for any input. Quote Link to comment
Guest Mark Flamer Posted July 14, 2010 Share Posted July 14, 2010 I figured out that this is supossed to be the index of the closest object within the PIO. I then should be able to step through the list of subobjects in the PIO and finally get a handle to the one I want. Now I cannot get the indexing to work correctly. If there is any text in my Pio it always returns the handle of the text. If I get rid of the text It seems to return an index to the wrong subobject. I am getting frustrated! Does anyone have any experience using this command to get access to the inside of a PIO? Thanks. 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.