Hello
My question is about Entity properties.
For example i draw 3 lines on the cadImageFld, after that i want to remove a specific line, then how the software knows about this selected entity ?
Is there any specific properties of the Entity(Line) that i can differenciate from the other lines?
I see in the "EditorDemo" sample that there is a MouseDown, MouseUp and MouseMove, but I do not understand where/how I can detect if an entity was selected.
CADimport Line Selection Function or properties
Moderators: SDS, support, admin
Re: CADimport Line Selection Function or properties
Hello,
You can detect if some entity was selected using CADEntity.Selected property. It returns true if the entity was selected, otherwise, false. There is also CADImage.SelectedEntities property that stores a list of selected entities.
Mikhail.
You can detect if some entity was selected using CADEntity.Selected property. It returns true if the entity was selected, otherwise, false. There is also CADImage.SelectedEntities property that stores a list of selected entities.
Mikhail.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support