Value > DataPair Values |
The DataPair class is simply a wrapper around two values.
The values can be of any value type.
The class is available in 3ds Max 2008 and higher.
It was previously available in the Avguard Extensions.
Available in 3ds Max 2017.1 Update and higher: DataPair values can be specified in a persistent global variable. Both values in the DataPair must be specifiable as a persistent global variable in order for the DataPair to be fully restored on scene file load.
Get/set the first value in the DataPair.
Get/set the second value in the DataPair.
Get/set the first value in the DataPair by name.
Get/set the second value in the DataPair by name.
Returns array of names values where first two values are #v1 and #v2, remaining 2 values are <value1_name> and <value2_name> if that form of the constructor is used.