NXOpen.UF.Attr.GetReferenceStringOfUserAttribute¶
-
Attr.
GetReferenceStringOfUserAttribute
()¶ Refer to UF_ATTR_get_reference_string_of_user_attribute for documentation.
Signature:
GetReferenceStringOfUserAttribute(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 (referenceString,hasAttribute)
referenceString(str): Reference string (Free using UF_free() after use)
hasAttribute(bool): An attribute has been found AND it has a reference string
License requirements: None