NXOpen.UF.Attr.SetStringUserAttribute

Attr.SetStringUserAttribute()

Refer to UF_ATTR_set_string_user_attribute for documentation.

Signature: SetStringUserAttribute(objectArg, title, index, value, update)

Parameters:
  • objectArg (Tag) – The object receiving the attribute
  • title (str) – The attribute title
  • index (int) – The array index (set to UF_ATTR_NOT_ARRAY if not an array)
  • value (str) – The value
  • update (bool) – Perform an update immediately

License requirements: None