Materials control the display of elements in views and rendered images and are useful for a variety of tasks including structural and energy analysis.
For more details, see the following topics:
A sample for working with materials can be found in the Examples/TB_DevGuideCommands/BmMaterialCmd sample command located inside your ODA BimRv SDK installation folder.