Message 1 of 5

Not applicable
08-30-2018
01:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi !
I would like to get the material's of somes of my element.
I search on the web to get this, but it's doesn't work with everything.
I tried this :
ElementId id = e.get_Parameter(BuiltInParameter.MATERIAL_ID_PARAM).AsElementId(); if (id != null) { Material mat = m_doc.GetElement(id) as Material; }
But it's doesn't work with floor tile or cope.
Do you have something to accomplish what i want ?
Regards,
Maxence
Solved! Go to Solution.