.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Programmatically access layer info

1 REPLY 1
Reply
Message 1 of 2
toyter
296 Views, 1 Reply

Programmatically access layer info

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.

1 REPLY 1
Message 2 of 2
Alfred.NESWADBA
in reply to: toyter

Hi,

 

>> 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 -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost