Hi,
I have a tool where I need to know if the color table used is coming from the mater file or the reference itself.
Is it possible to find out the user preference setting for this?
Thanks,
Briant
Hi Briant,
Briant Piepgrass said:Is it possible to find out the user preference setting for this?
Did you search MicroStation API documentation and/or header files?
To obtain Reference > Use Color Table setting value, this key-in in MicroStation can be used:
calculator userPrefsP->flags.useRefColorTables
... so in C++, it can be accessed in similar way C expression, or (I do not test it) directly from userPrefsP variable.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Answer Verified By: Briant Piepgrass