I don't know of a way to do exactly what you're asking for without a little bit a script. Here's one way, I'm researching if there's an easier way to do this.
Create a tag, in my example I'll call it "ColorTag". Select the object who's color you want to change. Click on the "Dynamic" tab. Click on "Fill" and set up some different colors mapped to the "ColorTag".
Attachment:
fill_dynamic.JPG [ 22.92 KiB | Viewed 3475 times ]
Next, select "Tags" on the left. Select the "Tags" tab, click on "Script". Double click on "ValueChange" in the tree to create an event in code. Add some code similar to this (see attached screenshot).
Code:
int n = Globals.Tags.Tag1.Value.Int;
if ((n & 0x01) != 0) {
Globals.Tags.ColorTag.Value = 0;
}
else {
Globals.Tags.ColorTag.Value = 1;
}
if ((n & 0x02) != 0) {
Globals.Tags.ColorTag.Value = 0;
}
else {
Globals.Tags.ColorTag.Value = 2;
}
Attachment:
script_example.JPG [ 169.25 KiB | Viewed 3485 times ]