adding a descripton

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
quartz
Posts: 1
Joined: 15 Nov 2010, 23:22

adding a descripton

Post by quartz » 15 Nov 2010, 23:46

Hello!

I'm new here so i hope this is the right place for problem which i can't solve!

I'm using CADImport and my problem is that i cannot add a description to selected objects in loaded picture. For example, when i select the line in the picture i want to add it some kind descripiton (for example: "This line represents a wall or fence").

I've tried to add description field to property grid and in the CadEntityCollection class, but all without success.

Do you have any idea? Is that even possible?

I'm new to all of this so maybe i do some stupid mistake. Sorry about that.

Thanks in advance!

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

Re: adding a descripton

Post by support » 16 Nov 2010, 17:33

Hello.
CAD Import .NET provides a set of entities classes that represent AutoCAD entities. CADLine as well as other entities classes doesn't include any description property. You can create a set of descendant classes based on current entities classes and implement such property. However the description can't be exported within CAD structure and you will need create methods for description handling.
Another way is creating the table of descriptions based on entities types or handles.

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

Post Reply