Page 1 of 1

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

Posted: 28 Dec 2010, 06:50
by mari2011
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.

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

Posted: 28 Dec 2010, 10:29
by support
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.