Jump to content

Persistent highlight of object during dialog


Recommended Posts

No, you need SDK functions for that. The only vs/py function for highlighting is TrackObject()

 

You can use regular selection highlighting while in the dialog as well as use temporary geometry. Your easiest option might be to get the bounding box of each object and draw a colored rectangle using the coordinates. The begin/endContext commands help keep undo clean for temporary geometry. 

Link to comment

Thanks!

What I'm after is from a PIO, using a button to show a dialog like the Subtract solid, to 'highlight' which part of the object will be edited.

 

I already thought about a temporary object, but it only got created after the dialog closed... perhaps you know a way to create a temporary rectangle within the Begin and Endcontext()? A second option would be to use a SymbolDisplayControl within the dialog, but somehow that seems like an overkill...

 

Any Ideas for the first option are welcome!

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