access Appearance properties of materials

access Appearance properties of materials

Anonymous
Not applicable
1,006 Views
4 Replies
Message 1 of 5

access Appearance properties of materials

Anonymous
Not applicable

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

 

1,007 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
I'm also having this problem, I'm trying to access the keywords for different appearances but am having no luck. Can anyone help?
0 Likes
Message 3 of 5

Anonymous
Not applicable

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

0 Likes
Message 4 of 5

Anonymous
Not applicable

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

0 Likes
Message 5 of 5

Anonymous
Not applicable

Thanks for the info.

0 Likes