UserDefinedObjectLinkType Enumeration — NXOpen Python API Reference 12.0.0 documentation

# UserDefinedObjectLinkType Enumeration

NXOpen.UserDefinedObjects.UserDefinedObject.LinkType is an alias for NXOpen.UserDefinedObjects.UserDefinedObjectLinkType

class `NXOpen.UserDefinedObjects.``UserDefinedObjectLinkType`

  Bases: `object`

  Available link types for a `NXOpen.Features.UserDefinedObjectFeature`.

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  Owning | The object is owned by the UDO
  Type1 | If the UDO is deleted the link between the UDO and the associated object is removed and the object is unaffected. If the UDO is updated the associated object is unaffected. If the associated object is deleted the UDO is also deleted. If the associated object is updated the UDO is updated.
  Type2 | If the UDO is deleted the link between the UDO and the associated object is removed and the object is deleted. If the UDO is updated the associated NX object is unaffected. If the associated object is deleted, it is left in the data model in a condemned state and remains attached to the UDO. If the associated object is updated the UDO is unaffected.
  Type3 | If the UDO is deleted the link between the UDO and the associated object is removed and the object is unaffected. If the UDO is updated the associated object is unaffected. If the associated object is deleted the link to the UDO is removed and the UDO is updated. If the associated object is updated the UDO is updated
  Type4 | If the UDO is deleted the link between the UDO and the associated object is removed and the object is unaffected. If the UDO is updated the associated object is unaffected. If the associated object is deleted the link to the UDO is removed and the UDO is unaffected. If the associated object is updated the UDO is unaffected.

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