ModelColor Property

Runtime Only

Applies To
Vision Objects: ColorMatch, ImageOp

Description
Gets / sets the color of a model.

Usage

VGet  Sequence.Object.ModelColor, var
VSet  Sequence.Object.ModelColor, value
Sequence
Name of a sequence or string variable containing a sequence name.
Object
Name of an object or string variable containing an object name
.
The object must exist in the specified sequence.
var
Long variable that will contain the value of the property.
value
Long expression that will contain the new value of the property.

Values
The color of the model in the format &Hrrggbb (red, green, blue) when ColorMode = RGB, and &Hhhhssvv when ColorMode = HSV.

Remarks
The ModelColor property is used to set the color of a model at runtime. Before setting the ModelColor, you must first set the CurrentModel property to the desired model.

See Also
ColorMatch Object, CurrentModel Property, ImageOp Object, ModelName Property