Message 1 of 2
Create new material and set appearance

Not applicable
08-20-2013
12:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I've tried searching around for a similar question but haven't seen much. I was wondering if it is possible to create a new material and then set it's appearance using the Revit 2014 API.
As far as I can tell I can create a new material with Material.Create but then to create a new AppearanceAssetElement I need to have an Asset to pressumably set the values onto. But I can't see how to create a new Asset.
Essentially what I want to do is to be able to create new materials at run time from some external material definition source. The source isn't the problem, nor is translating the values from the source into the values that go onto an Asset, just creating the material with the rendering asset.
Thanks for any help.