Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

access Appearance properties of materials

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
853 Views, 4 Replies

access Appearance properties of materials

My purpose is to access the all material properties, in all tab (e.g., graphic, appearance, thermal, physics)

 

From the material class, to access appearance properites, I use the following code: 

 

Document doc = m_material.Document;
AppearanceAssetElement aae = doc.GetElement(m_material.AppearanceAssetId) as AppearanceAssetElement;

 

However, how can I get the appearance properties, the AppearanceAssetElement does not have properties for such as "tint" "cutout"

 

How can I get accesss all the properties of materials through API?

 

2014-05-01_165646.jpg

 

4 REPLIES 4
Message 2 of 5
jeremy.herbert
in reply to: Anonymous

I'm also having this problem, I'm trying to access the keywords for different appearances but am having no luck. Can anyone help?
Message 3 of 5
spesci
in reply to: Anonymous

I would like to get the image path. Has anyone able to get this asset parameter?

Message 4 of 5
jakob.noggler
in reply to: Anonymous

Hi!

 

I know this is an older question, but maybe you still need help, or anyone else thats stumbles across this question.

This link should give you the information you need:

 

http://adndevblog.typepad.com/aec/2015/03/revitapi-how-to-get-asset-properties-of-material-i-want.ht...

 

Greetings

Message 5 of 5
spesci
in reply to: jakob.noggler

Thanks for the info.

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


Rail Community