NXOpen.UF.View.Visualization Structure — NXOpen Python API Reference 12.0.0 documentation

# NXOpen.UF.View.Visualization Structure

NXOpen.UF.View.Visualization is an alias for NXOpen.UF.ViewVisualization_Struct

class `NXOpen.UF.``ViewVisualization_Struct`

  Bases: `object`

  Refer to UF_VIEW_visualization_s for documentation.

Fields

`NXOpen.UF.ViewVisualization_Struct.DisplayMode` | Display mode for the view.
`NXOpen.UF.ViewVisualization_Struct.HiddenEdgeMode` | Hidden edge style for the view The following constants are valid : UF_VIEW_HIDDEN_EDGES_SOLID, UF_VIEW_HIDDEN_EDGES_INVIS, UF_VIEW_HIDDEN_EDGES_DASHED, UF_VIEW_HIDDEN_SURFACE and UF_VIEW_HIDDEN_EDGES_GRAY_THIN
`NXOpen.UF.ViewVisualization_Struct.SilhouetteMode` | Silhouettes flag (on or off) in the view The following constants are valid : UF_VIEW_SILHOUETTES_ON and UF_VIEW_SILHOUETTES_OFF
`NXOpen.UF.ViewVisualization_Struct.SmoothEdgesMode` | Smooth edges flag (on or off) in the view The following constants are valid : UF_VIEW_SMOOTH_EDGES_ON and UF_VIEW_SMOOTH_EDGES_OFF
`NXOpen.UF.ViewVisualization_Struct.SmoothEdgeColor` | Smooth edges color in the view The following values are valid : UF_OBJ_COLOR_ORIGINAL, [ 1 - 216 ]
`NXOpen.UF.ViewVisualization_Struct.SmoothEdgeFont` | Smooth edges font in the view The following constants are valid : UF_OBJ_FONT_ORIGINAL, UF_OBJ_FONT_SOLID, UF_OBJ_FONT_DASHED, UF_OBJ_FONT_PHANTOM, UF_OBJ_FONT_CENTERLINE, UF_OBJ_FONT_DOTTED, UF_OBJ_FONT_LONG_DASHED and UF_OBJ_FONT_DOTTED_DASHED
`NXOpen.UF.ViewVisualization_Struct.SmoothEdgeWidth` | Smooth edges width in the view The following constants are valid : UF_OBJ_WIDTH_ORIGINAL, UF_OBJ_WIDTH_THIN, UF_OBJ_WIDTH_NORMAL and UF_OBJ_WIDTH_THICK
`NXOpen.UF.ViewVisualization_Struct.SmoothEdgeAngleTolerance` | Smooth edge angle tolerance in the view.
`NXOpen.UF.ViewVisualization_Struct.FogMode` | Fog mode in viewThe following constants are valid : UF_VIEW_FOG_OFF, UF_VIEW_FOG_LINEAR, UF_VIEW_FOG_LIGHT and UF_VIEW_FOG_HEAVY
`NXOpen.UF.ViewVisualization_Struct.FogColor` | Fog color[0] = red, [1] = green, [2] = blue Each color has a range from 0.0 to 1.0.
`NXOpen.UF.ViewVisualization_Struct.FogFront` | Front fog plane has a range from 0 to 100 and is only valid for fog_mode = UF_VIEW_FOG_LINEAR
`NXOpen.UF.ViewVisualization_Struct.FogBack` | Back fog plane has a range from 0 to 100 and is only valid for fog_mode = UF_VIEW_FOG_LINEAR.
`NXOpen.UF.ViewVisualization_Struct.FogRate` | The fog density which has a range from 0 to 100.