Skip to content

Variable

QIX methods for version 12.225.0.

ForceContent

Deprecated

Use GenericVariable::SetProperties method instead

Sets the value of a dual variable overriding any input constraints.

Parameters:

Name Type Mandatory Description
qs string Yes String representation of a dual value.
Set this parameter to "", if the string representation is to be Null.
qd number Yes Numeric representation of a dual value.

No return values.

GetContent

Deprecated

Use GenericVariable::GetProperties method instead

Returns the calculated value of a variable.

No parameters.

Returns:

Name Type Description
qContent AlfaNumString Information about the calculated value.

GetNxProperties

Deprecated

Use GetProperties method instead

Gets the properties of a variable.

No parameters.

Returns:

Name Type Description
qProperties NxVariableProperties Information about the properties of the variable.

GetRawContent

Deprecated

Use GenericVariable::GetProperties method instead

Returns the raw value of a variable.

No parameters.

Returns:

Name Type Description
qReturn string <Definition of the variable>

SetContent

Deprecated

Use GenericVariable::SetProperties method instead

Sets a value to a variable.

Parameters:

Name Type Mandatory Description
qContent string Yes Value of the variable.
qUpdateMRU boolean Yes If set to true, the value is added to the Most Recently Used (MRU) list.

Returns:

Name Type Description
qReturn boolean true/false
The operation is successful if qReturn is set to true.

SetNxProperties

Deprecated

Use SetProperties method instead

Sets some properties to a variable.

Required permissions: update

Parameters:

Name Type Mandatory Description
qProperties NxVariableProperties Yes Information about the properties of the variable

No return values.