AddComponentBuilderLocationType Enumeration — NXOpen Python API Reference 12.0.0 documentation

# AddComponentBuilderLocationType Enumeration

NXOpen.Assemblies.AddComponentBuilder.LocationType is an alias for NXOpen.Assemblies.AddComponentBuilderLocationType

class `NXOpen.Assemblies.``AddComponentBuilderLocationType`

  Bases: `object`

  Represents initial location type that can be present during add component

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  Snap | Snap as initial location type
  WorkPartAbsolute | Absolute of work part as initial location type
  DisplayedPartAbsolute | Absolute of displayed part as initial location type
  DisplayedPartWCS | WCS as initial location type

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