Page 1 of 1

The number of entities on a specific layer?

Posted: 09 Sep 2007, 07:29
by andyseo
Hi,

How can I get the number of entities on a specific layer?
I know xx->Converter->Counts[csEntities] gives you the number of total entities, but when I tried to use similar commands to get the number of entities on a specific layer, the only number I am getting is "0" (xx->Converter->Layers->Count)
Thanks in advance.

Posted: 10 Sep 2007, 12:45
by support
Hello!

xx->Converter->Layers->Count gives total amount of layers in the file.

It is necessary to analyse property <b>Layer.Name</b> of all CAD entities to determine what entities belongs to a specific layer.

Sergey.



Please post questions to the forum or write to support@cadsofttools.com