Volume¶
The value type Volume is used to create an edit field for an volume value that is displayed in the current Allplan length input unit.
Syntax¶
<Parameter>
<Name>VolumeValue</Name>
<Text>Volume</Text>
<Value>104553677431</Value>
<ValueType>Volume</ValueType>
</Parameter>
Value unit¶
The unit for the default values assigned to <Value>, <MinValue>, <MaxValue> and <IntervalValue> is mm³.
Example¶
The implementation of the Volume value type is described in the example AllControls, which is located in
…\etc\Examples\PythonParts\PaletteExamples\AllControls.pyp
…\etc\PythonPartsExampleScripts\PaletteExamples\AllControls.py