NXOpen.UF.Attr.SetRealUserAttribute

Attr.SetRealUserAttribute()

Refer to UF_ATTR_set_real_user_attribute for documentation.

Signature: SetRealUserAttribute(objectArg, title, index, value, unitType, 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 (float) – The value
  • unitType (Tag) – The unit type tag (may be NULL_TAG)
  • update (bool) – Perform an update immediately

License requirements: None