Hello,
I can not find how to set render material on component level, like by UI.
There is possibility to set material by .p2m file on ModelDoc level by API and UI. But set material by .p2m file only on component level is possible only by UI not API. By API there is possibility for component to set only some material values by array of doubles not by .p2m file.
Do you somebody knows if it is possible to set another appearance by .p2m file on component level by API? It means that each component can have different color even if is from one file.
Best Regards and thaks a lot.
Petr Bartoš
SolidworksApi macros