NXOpen.UF.Attr.GetIntegerUserAttribute¶
-
Attr.
GetIntegerUserAttribute
()¶ Refer to UF_ATTR_get_integer_user_attribute for documentation.
Signature:
GetIntegerUserAttribute(objectArg, title, index)
Parameters: - objectArg (Tag) – The object holding the attribute
- title (str) – The attribute title
- index (int) – The array index (set to UF_ATTR_NOT_ARRAY if not an array)
Returns: A Tuple
Return type: A tuple consisting of (value,hasAttribute)
value(int): The value, if any
hasAttribute(bool): An attribute has been found
License requirements: None