Iterating through Entities in a layer

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: admin, support, SDS

Post Reply
sanket
Posts: 3
Joined: 03 Dec 2018, 13:22

Iterating through Entities in a layer

Post by sanket » 29 May 2019, 15:10

Hi,

I get a handle to a TsgDXFLayer Object and wanted to get hold of all the entities which are present on this layer. Is it possible to do so using the layer object?


Best Regards,
Sanket

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

Re: Iterating through Entities in a layer

Post by support » 29 May 2019, 16:30

Hello Sanket,

Unfortunately, it is not possible. You will have to iterate through all the entities and check the layer name for each entity.

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

Post Reply