*SetPartColorList()

Specifies a list of colors to be applied to parts when a model is loaded.

Syntax

*SetPartColorList (Color1, Color2, Color3, ... Colorn)

Application

MotionView and HyperView.

Inputs

Color
An integer from 0 to 63 representing any of the 64 colors on the palette.

Context

*BeginGraphicDefaults()

Example

• • •
*BeginGraphicDefaults()
	*SetOrientation(Top)
	*SetBackgroundColor(0)
	*Part(Default, On, -1, Opaque, Shaded, NoTrace)
	*Part("P/999", Off, 8, Opaque, Shaded, NoTrace)
	*Force(Default, Off, 2, Opaque, Shaded, NoTrace, Force, Resultant)
	*Marker(Default, Off, 5, Opaque, Shaded, NoTrace)
	*SetPartColorList(8,9,10,11,12,13,14,15)
*EndGraphicDefaults()
• • •

Comments

Colors are applied sequentially to parts. When the last color in the list is used, the color assignments start over at the beginning of the part color list. Any number of colors can be included in the list.