[Contents] [Index] [Books]

CoCreate OneSpace Designer - Commands Reference Manual


SET_DEFAULT_PART_COLOR interrupt action

SET_DEFAULT_PART_COLOR defines the color attribute automatically attached to a part.

Until the default is reset, whenever a part is created it is assigned the default color.

Syntax


---->(SET_DEFAULT_PART_COLOR)--->---|GET_RGB_COLOR|---->

Options

This action has no options.

When to use

Use this action to specify the color that will be assigned to new parts. The values you enter must lie in the range 0.0 to 1.0.

Example

The following parameter sequence modifies the HSL values to set the default part color.

SET_DEFAULT_PART_COLOR :HSL 0.4,0.78,0.98

Alternatively, you can use the HSL and RGB sliders on the color menu to specify the default part color.

See also

SET_PART_INST_COLOR terminate action SET_FACE_COLOR terminate action
[Contents] [Index] [Books]