FamilyAttributeAttrType Enumeration — NXOpen Python API Reference 12.0.0 documentation

# FamilyAttributeAttrType Enumeration

NXOpen.PartFamily.FamilyAttribute.AttrType is an alias for NXOpen.PartFamily.FamilyAttributeAttrType

class `NXOpen.PartFamily.``FamilyAttributeAttrType`

  Bases: `object`

  The part family attribute types. These should always be in synch with the UF_fam_attr_types

  New in version NX9.0.0.

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  Text | text attribute
  Numeric | numeric attribute
  Integer | integer attribute
  Double | double attribute
  String | string attribute
  Part | part attribute
  Name | name attribute
  Instance | instance attribute
  Expression | expression attribute
  Mirror | mirror attribute
  Density | density attribute
  Feature | feature attribute
  Mass | asserted mass attribute
  Material | material attribute
  Undefined | undefined attribute 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.