How to locate graphical objet in viewer?
Moderators: SDS, support, admin
How to locate graphical objet in viewer?
Hello,
I need following interactions between graphicals objets in viewer and the datas of my application :
- select graphical objets by using handles
- get handles of selected graphicals objets
My application must host viewer, allow user to move in the map and to select graphical objet. I use only dwg/dxf file.
Which component of CADImport .net can i use?
CADViewerControl allow to move in the map, but by code how i get handles of selected graphical objet make by user ?
And conversely, by code how can i make select some graphical objets in viewer by using handles?
Best regards, yannick.
I need following interactions between graphicals objets in viewer and the datas of my application :
- select graphical objets by using handles
- get handles of selected graphicals objets
My application must host viewer, allow user to move in the map and to select graphical objet. I use only dwg/dxf file.
Which component of CADImport .net can i use?
CADViewerControl allow to move in the map, but by code how i get handles of selected graphical objet make by user ?
And conversely, by code how can i make select some graphical objets in viewer by using handles?
Best regards, yannick.
Re: How to locate graphical objet in viewer?
Hello Yannick,
We recommend to use library of CAD Import .NET directly. It means that there is no need to use cadViewerControl.
Acoordingly to the described in your post tasks we would suggest you to test ViewerDemo and ImportDemo.
Every CADEntity contains Handle property, but we recommend to use KeyEnt property.
CADEntity.KeyEnt Property - Gets or sets a key chooses an entity from CADEntityCollection.
Sergey.
We recommend to use library of CAD Import .NET directly. It means that there is no need to use cadViewerControl.
Acoordingly to the described in your post tasks we would suggest you to test ViewerDemo and ImportDemo.
Every CADEntity contains Handle property, but we recommend to use KeyEnt property.
CADEntity.KeyEnt Property - Gets or sets a key chooses an entity from CADEntityCollection.
Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support