Active Member
Posts: 9
Registered: ‎03-20-2006
Message 1 of 2 (138 Views)

Programmatically access layer info

138 Views, 1 Replies
06-01-2012 12:20 PM

i'm stuck and in case my last question wasn't clear i've attached an image.  i can access the General layer properties thru the api (circled in green on image).  how can i programmatically access the Attributes (circled in red).  is this possible? thanks.

*Expert Elite*
Posts: 9,583
Registered: ‎06-29-2007
Message 2 of 2 (131 Views)

Re: Programmatically access layer info

06-01-2012 12:29 PM in reply to: toyter



>> how can i programmatically access the Attributes

If you have the BlockReference already at your hand, you can access the .AttributeCollection which gives you a list of ObjectIDs, every one pointing to each single AttributeReference attached to the BlockReference.


HTH, - alfred -

Ingenieur Studio HOLLAUS ... www.hollaus.at
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
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.