The number of entities on a specific layer?
Moderators: SDS, support, admin
The number of entities on a specific layer?
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.
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.
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
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