NXOpen.UF.Sf.ColorAttr Structure — NXOpen Python API Reference 12.0.0 documentation

# NXOpen.UF.Sf.ColorAttr Structure

NXOpen.UF.Sf.ColorAttr is an alias for NXOpen.UF.SfColorAttr_Struct

class `NXOpen.UF.``SfColorAttr_Struct`

  Bases: `object`

  Refer to UF_SF_COLOR_attr_s for documentation.

Fields

`NXOpen.UF.SfColorAttr_Struct.NumRanges` | Number of of discrete ranges of scalar values in the scalar-to-color mapping.
`NXOpen.UF.SfColorAttr_Struct.Ranges` | Array of size num_ranges defining ranges of scalar values, each of which maps to a different color.
`NXOpen.UF.SfColorAttr_Struct.RgbValues` | Array of RGB triples where each triple consists of red, green, and blue double-precision numbers.