Page 1 of 1

Iterating through Entities in a layer

Posted: 29 May 2019, 15:10
by sanket
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

Re: Iterating through Entities in a layer

Posted: 29 May 2019, 16:30
by support
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