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: 

Check if RenderingAsset is available or get the path

0 REPLIES 0
Reply
Message 1 of 1
mikkelnymand4EMUM
224 Views, 0 Replies

Check if RenderingAsset is available or get the path

Hello 

I'm trying to get the image property of a MaterialAsset - See image below. 

 

I've tried several things but what I think got me the closest was the GetRenderingAsset() method of the AppearanceAssetElement class. 

 

However, I can't seem to get the filepath, or get to test if the image set is actual valid. 

 

Materials that doesn't have a valid path for the image impacts the performance of the material library alot, so I'm aiming towards creating a command the can clear all of them. 

 

Any idea how to target the property in the API? 

mikkelnymand4EMUM_0-1629228015082.png

 

 

Labels (2)
0 REPLIES 0

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

Post to forums  

Forma Design Contest


Rail Community