HyperWorks Desktop

*SetPartColorList()

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

*SetPartColorList()

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

Previous topic Next topic No expanding text in this topic  

*SetPartColorList()

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

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

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

Argument

Names

Description

 

Color

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

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()

• • •

Application

MotionView.

Context

*BeginGraphicDefaults()

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.

Application

MotionView and HyperView.

See also

 

*BeginGraphicDefaults()

*Force()

*Marker()

*Part()

List of Preference Statements