NXOpen.UF.Attr.HasUserAttributeWithTitleAndType¶
-
Attr.
HasUserAttributeWithTitleAndType
()¶ Refer to UF_ATTR_has_user_attribute_with_title_and_type for documentation.
Signature:
HasUserAttributeWithTitleAndType(objectArg, title, type, index)
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 noted as being present
- index (int) – The array index ((set to UF_ATTR_NOT_ARRAY if not an array)
Returns: An attribute has been found
Return type: bool
License requirements: None