[Frage] How to preserve color of element in VS

Schlagworte:
  • Visual
  • Scripting
  • Color
  • Palette

Hello everyone,

I've simplified my script to show you what kind of problem I am facing. What I would like to do is assign a color to one element and leave the other as white. This is easily achievable through node Format. The problem occurs when I use the node ObjectSwitcher2, then everything appears as white. Moving the node Format after the ObjectSwitcher2 wouldn't help me because that would change the color of all the elements.
Any ideas on what I could change to achieve my desired plan?

Anhänge (2)

Typ: video/mp4
737-mal heruntergeladen
Größe: 2,17 MiB
Typ: image/png
125-mal heruntergeladen
Größe: 280,95 KiB

Hilfreichste Antwort anzeigen Hilfreichste Antwort verbergen

Apparently the Node ObjectSwitcher can only handle unformatted objects (geometries). It obviously ignores the existing formatting. It will be best to "apply" the formatting at the end.

Anhänge (3)

Typ: image/png
78-mal heruntergeladen
Größe: 111,62 KiB
Typ: application/x-sqlite3
741-mal heruntergeladen
Größe: 132,00 KiB
Typ: text/xml
739-mal heruntergeladen
Größe: 480,00 B

Apparently the Node ObjectSwitcher can only handle unformatted objects (geometries). It obviously ignores the existing formatting. It will be best to "apply" the formatting at the end.

Anhänge (3)

Typ: image/png
78-mal heruntergeladen
Größe: 111,62 KiB
Typ: application/x-sqlite3
741-mal heruntergeladen
Größe: 132,00 KiB
Typ: text/xml
739-mal heruntergeladen
Größe: 480,00 B