SmartObjectUpdateOption Enumeration — NXOpen Python API Reference 12.0.0 documentation

# SmartObjectUpdateOption Enumeration

NXOpen.SmartObject.UpdateOption is an alias for NXOpen.SmartObjectUpdateOption

class `NXOpen.``SmartObjectUpdateOption`

  Bases: `object`

  Specifies when the smart object updates.

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  DontUpdate | No update occurs.
  WithinModeling | Updates within modeling (e.g. a feature).
  AfterModeling | Updates after modeling (e.g. a dimension).
  AfterParentBody | Updates after the parent body.
  Mixed | Updates after parent body for inter-part parents and updates within modeling for same part parents

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