NXOpen.UF.Attr.GetStringTimeUserAttribute

Attr.GetStringTimeUserAttribute()

Refer to UF_ATTR_get_string_time_user_attribute for documentation.

Signature: GetStringTimeUserAttribute(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 (timeString,hasAttribute)

timeString(str): Time/Date value formatted as a string (Free using UF_free() after use)

hasAttribute(bool): An attribute has been found

License requirements: None