.NET

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

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

109 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 (109 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
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!