NXOpen.UF.Sf.PropertyAskValueNx

Sf.PropertyAskValueNx()

Refer to UF_SF_property_ask_value_nx for documentation.

Signature: PropertyAskValueNx(propertyTag)

Parameters:propertyTag (Tag) – The tag of the property.
Returns:A Tuple
Return type:A tuple consisting of (boolValue,intValue,scalarValue,textValue,numLines,multiTextValue)

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 UF_SF_FEM_VALUE_SCALAR.

textValue(str): Property value, if type is UF_SF_FEM_VALUE_TEXT. NOTE: Caller must UF_free the string.

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 pr operty. NOTE: Call UF_free_string_array to free the storage allocated within the structure.

License requirements: None