Render object with object display colour in Rhino3dmjs

Hi @dale @fraguada,

How do I render the 3dm file in rhino3dmjs using the object display colour/layer colour and not the object material in rhino3dm js? Any pointers on this would be great.

Each rhino object has an attributes object with properties like objectColor and drawColor.

If you use the threejs 3dmLoader, you can get each object’s userData which will have this attribute information

1 Like