SketchInferConstraintsOption Enumeration — NXOpen Python API Reference 12.0.0 documentation

# SketchInferConstraintsOption Enumeration

NXOpen.Sketch.InferConstraintsOption is an alias for NXOpen.SketchInferConstraintsOption

class `NXOpen.``SketchInferConstraintsOption`

  Bases: `object`

  Used when adding a point or curve to a sketch. Specifies whether to infer coincident constraints between the geometry that already exists in the sketch and the geometry being added to the sketch. If you choose to infer constraints, coincident constraints will be created if an end point of the geometry being added is at the same location (within system tolerance) as another end point in the sketch.

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  InferNoConstraints | Do not infer constraints
  InferCoincidentConstraints | Infer constraints

  `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.