NXOpen.UF.Cgm.Color Structure

NXOpen.UF.Cgm.Color is an alias for NXOpen.UF.CgmColor_Struct

class NXOpen.UF.CgmColor_Struct

Bases: object

Refer to UF_CGM_color_s for documentation.

Fields

NXOpen.UF.CgmColor_Struct.ClrIndex Color index in the range [ 0 to UF_OBJ_MAX_COLOR ]
NXOpen.UF.CgmColor_Struct.ClrName Color name, specified as a NULL-terminated ASCII string
NXOpen.UF.CgmColor_Struct.ClrVals An RGB definition of the color, consisting of red, green, and blue values in the range [ 0.0 to 1.0 ].
NXOpen.UF.CgmColor_Struct.FavoriteIndex If the color is a favorite color, an favorite index in the range [ 1 to 30 ].