.NET

.NET

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

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

111 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 (111 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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.