Message 1 of 3
Using API to change color (and/or material) of DirectShape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When importing an my IFC file, all elements get converted to DirectShape elements.
But they now get colored fully black when viewing in shaded mode, and there seems to be no way to really change this.
Only workaround is to overwrite graphics per view, but i rather work to a more solid solution/
Is there some way to change the color of the DirectShape elements? From what i understood, an material could not be applied to a DirectShape.
EDIT:
when i import more IFC's from the same source, but with different export settings, it seems sometimes i get different color results.
So i can conclude that the color is somewhere stored within these DirectShape elements. I still can not seem to find where, and if it can be changed though API