SketchAssocType Enumeration — NXOpen Python API Reference 12.0.0 documentation

# SketchAssocType Enumeration

NXOpen.Sketch.AssocType is an alias for NXOpen.SketchAssocType

class `NXOpen.``SketchAssocType`

  Bases: `object`

  Used in `NXOpen.SketchDimensionGeometry_Struct` to indicate what type of geometry to use

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  NotSet | Use the entire geometric item, as opposed to a point
  StartPoint | Start point. E.g. the start point of a line
  EndPoint | End point. E.g. the start point of a line
  ArcCenter | Center of an arc, circle, or ellipse
  Tangency | Create the dimension tangent to the geometric item
  CurvePoint | A point on a spline
  AnchorPoint | The anchor of a conic
  Midpoint | The midpoint of a curve

  `ValueOf`()

    Returns enum member equivalent to the value passed. Useful for bit operations of enum members.

    Signature `ValueOf(value)`

    Parameters: | value – Any integer value or bit operation result of enum members:type value: int:returns: Enum member equivalent to the value passed.
    Return type: | Enum Member type.

    New in version NX9.0.1.

    License requirements: None.