SketchDimensionGeometry_Struct Struct — NXOpen Python API Reference 12.0.0 documentation

# SketchDimensionGeometry_Struct Struct

NXOpen.Sketch.DimensionGeometry is an alias for NXOpen.SketchDimensionGeometry_Struct

class `NXOpen.``SketchDimensionGeometry_Struct`

  Bases: `object`

  Used in the dimension creation methods to indicate what geometry to create the dimension on.

  Examples: 1. To specify the start point of line1 Geometry = line1 AssocType = StartPoint AssocValue = 0

  . Constructor: NXOpen.Sketch.DimensionGeometry()

# Fields

Field | Description
--- | ---
Geometry |
AssocType |
AssocValue | See table for meaning.
HelpPoint | help point
View | The view the geometry is dependent on, if any

## Geometry

`SketchDimensionGeometry_Struct.``Geometry`

  `-------------------------------------`

  Field Value Type:`NXOpen.NXObject`

## AssocType

`SketchDimensionGeometry_Struct.``AssocType`

  `-------------------------------------`

  Field Value Type:`NXOpen.SketchAssocType`

## AssocValue

`SketchDimensionGeometry_Struct.``AssocValue`

  See table for meaning.

  The AssocValue has the following meanings: AssocType AssocValue meaning ———- ——————- Tangency parameter percentage (0 - 100) (used to find approximate tangent point) CurvePoint the index number of the defining point of the spline(starting from 1) all else not used

  `-------------------------------------`

  Field Value Type:int

## HelpPoint

`SketchDimensionGeometry_Struct.``HelpPoint`

  help point `-------------------------------------`

  Field Value Type:`NXOpen.Point3d`

## View

`SketchDimensionGeometry_Struct.``View`

  The view the geometry is dependent on, if any `-------------------------------------`

  Field Value Type:`NXOpen.NXObject`