NXOpen.UF.Attr.DeleteUserAttributeWithTitleAndType

Attr.DeleteUserAttributeWithTitleAndType()

Refer to UF_ATTR_delete_user_attribute_with_title_and_type for documentation.

Signature: DeleteUserAttributeWithTitleAndType(objectArg, title, type, index, update)

Parameters:
  • objectArg (Tag) – The object holding the attributes
  • title (str) – The title of the attribute
  • type (int) – The attribute type Valid values: UF_ATTR_integer UF_ATTR_real UF_ATTR_time UF_ATTR_null UF_ATTR_string UF_ATTR_bool UF_ATTR_any NOTE: If UF_ATTR_any is used, the first attribute encountered that matches the given title (and index), is deleted
  • index (int) – The array index Set to UF_ATTR_NOT_ARRAY if the attribute is not an array. Set to UF_ATTR_LAST_ELEMENT if the attribute is an array.
  • update (bool) – Perform an update immediately

License requirements: None