mayo icon indicating copy to clipboard operation
mayo copied to clipboard

Wrong colors on step: instance vs product - when to choose which label?

Open mmaenz opened this issue 4 years ago • 1 comments

Hi,

I already made a forum question on opencascade for whats the reason but as you are also affected by this behaviour I created this issue. The problem is that I simply don't know when to use product (referred) label or the instance itsself.

See here: https://dev.opencascade.org/content/problems-getting-correct-information-step-file What is strange to me is that I use the V3d_View and load my sample which does display correct colors but when using mayo the colors are wrong. Do you do something else with your view? Is there something to configure this behaviour? Mayo V3D_SWT-Viewer

CAD Assistant as reference for right implementation: Result-CadAssistant

Here is my sample step for testing: StepWithMultiAssembly.zip

Thank you

mmaenz avatar Mar 04 '22 16:03 mmaenz

Probably I was a bit to fast with questioning. I have found the answer by checking for IsSet(label, ...) and when all colors are wrong asking the referenced Label for its colors. When this is also wrong it defaults to yellow.

mmaenz avatar Mar 04 '22 17:03 mmaenz