Author Topic: Accessing groups in a model from code  (Read 355 times)

How would I access a group in a mode via code?

I think you should poke around the JVS system add-on. JVS content add-ons have these "node name" things that allow you to color named objects (not groups, those are for 3D modeling software) of the model with a specific color.
Code: [Select]
$JVS::Content::Type::nodeCount = 4;
$JVS::Content::Type::nodeColor0 = "0.5 0.5 0.5 1.0";
$JVS::Content::Type::nodeColor1 = "0.500 0.250 0.000 1.000";
$JVS::Content::Type::nodeColor2 = "0.5 0.5 0.5 1.0";
$JVS::Content::Type::nodeColor3 = "Color";
$JVS::Content::Type::nodeName0 = "pivot";
$JVS::Content::Type::nodeName1 = "wheel";
$JVS::Content::Type::nodeName2 = "nuts";
$JVS::Content::Type::nodeName3 = "plates";