Exporting Materials from GetRenderingAsset()
Not applicable
06-25-2016
07:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I am able to export Material textures etc for the majority of models using doc.GetElement(material.AppearanceAssetId) as AppearanceAssetElement.
However, (as an example) element "Trck_BswySystms_Cooper_RSA_Profile Series_AR1111 Closed Back Integral Xfmr" has geometry for the reflector and lens of the lamp that does not appear to have a material. I am currently just assigning a white generic material for these parts but it is not satisfactory as it occludes the embedded IES light source.
Question: How do I get the material properties for all geometry? Are there other properties I should be looking at?
Adam
Link copied