Getting incorrect color values from Fusion360 APIs

Getting incorrect color values from Fusion360 APIs

Prototech
Participant Participant
422 Views
0 Replies
Message 1 of 1

Getting incorrect color values from Fusion360 APIs

Prototech
Participant
Participant

Hello Support,

 

We are writing a plugin in Fusion360. We want to get color of each face in a body in this plugin.

I have imported one client model in Fusion 360. Then our plugin tried to fetch color. I am getting wrong color values from Fusion API.
If I changed the color RBG value manually in GUI, then API sometimes returns correct color values properly.
Please refer attached code snippet "Color Code snippet_Fusion360.png".

 

Please guide us to get correct values of Color of each face in a body in Fusion360. We had referred "https://forums.autodesk.com/t5/fusion-360-api-and-scripts/color-of-the-model/td-p/6045216".


Regards,
Mahesh

423 Views
0 Replies
Replies (0)