Get unique Polyline name?

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
mattcourtney27
Posts: 2
Joined: 04 May 2010, 17:19

Get unique Polyline name?

Post by mattcourtney27 » 04 May 2010, 17:34

I know its possible to get unique names from the various CADLayers, however is it possible to get the same from the polylines? When I use CADEntity.EntName it always just returns the same value..

I'm wondering if..
1. I'm missing some logic..
2. CAD doesn't store meaningfull names for polylines..

If there is a way to extract the info please provide an example

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

Re: Get unique Polyline name?

Post by support » 06 May 2010, 11:20

Hello.
Unique names supported for layer or layout entities in CAD files. Insert entity have name of contained block. Unique names not provided for most entities such as line, circle, polyline and so on. However any entity in CAD file have its own unique identifier - a handle. You can get entity's handle via CADEntity.Handle property.

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

Post Reply