.NET

Reply
Valued Contributor
sunburned.surveyor
Posts: 60
Registered: ‎10-26-2004
Message 1 of 2 (108 Views)

Getting Entity Handles for all objects on a layer...

108 Views, 1 Replies
07-23-2006 09:33 PM
I have figured out how to get the entity handles for all of the drawing entities in a selection set, but what .NET Classes would I use to obtain all the entity handles for all the drawing entities on a layer? Is this possible?

What about obtaining all the entity handles for all the drawing entities in a drawing?

Thanks for the help.

Scott Huey
*Tony Tanzillo
Message 2 of 2 (108 Views)

Re: Getting Entity Handles for all objects on a layer...

07-24-2006 10:09 AM in reply to: sunburned.surveyor
You can look at the LayerId property, and compare it to the
ObjectId of the LayerTableRecord object for the desired layer.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com

wrote in message news:5245788@discussion.autodesk.com...
I have figured out how to get the entity handles for all of the drawing entities in a selection set, but what .NET Classes would I use to obtain all the entity handles for all the drawing entities on a layer? Is this possible?

What about obtaining all the entity handles for all the drawing entities in a drawing?

Thanks for the help.

Scott Huey
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.