How can I get the layer name of an entity (circle)?

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
mari2011
Posts: 9
Joined: 21 Dec 2010, 07:15

How can I get the layer name of an entity (circle)?

Post by mari2011 » 28 Dec 2010, 06:50

Hello.

How can I get the layer name of an entity (circle)?

i am used this code:
***
cadEditorControl1.Image.Converter.Entities.layer

***
but that return "cadimport.cadlayer "!


Sorry ,this software has educational books or example? :?:

Could you please send me a piece of code,
.
Thanks in advance.

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: How can I get the layer name of an entity (circle)?

Post by support » 28 Dec 2010, 10:29

Hello.
cadEditorControl1.Image.Converter.Entities.layer returns CADLayer object. The name of layer can be accessed as this object's property:
cadEditorControl1.Image.Converter.Entities.Layer.Name.
CAD Import .NET compilable package include the demo projects sources and documentation.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply