NXOpen.UF.Sf.PropertySetValueNx¶
-
Sf.
PropertySetValueNx
()¶ Refer to UF_SF_property_set_value_nx for documentation.
Signature:
PropertySetValueNx(propertyTag, boolValue, intValue, scalarValue, textValue, numLines, multiTextValue)
Parameters: - propertyTag (Tag) – The tag of the property.
- boolValue (bool) – Property value, if type SFOM_FEM_VALUE_BOOL.
- intValue (int) – Property value, if type is one of the following: UF_SF_FEM_VALUE_INT UF_SF_FEM_VALUE_ENUM
- scalarValue (float) – Property value, if type is UF_SF_FEM_VALUE_SCALAR.
- textValue (str) – Property value, if type is UF_SF_FEM_VALUE_TEXT.
- numLines (int) – If type is UF_SF_FEM_VALUE_MULTI_STRING, this is the number of text lines in the property.
- multiTextValue (list of str) – If type is UF_SF_FEM_VALUE_MULTI_STRING, this is the array of text lines in the property.
License requirements: None