LengthComboBox¶
The value type LengthComboBox is used to create a combo box for a length value that is displayed in the current Allplan length input unit.
Syntax¶
<Parameter>
<Name>LengthComboBoxValue</Name>
<Text>LengthComboBox</Text>
<Value>1000</Value>
<ValueList>1000|2000|3000|4000</ValueList>
<ValueType>LengthComboBox</ValueType>
</Parameter>
Additional info about the <Value> and <ValueList> tag are shown here Value and ValueList
Value unit¶
The unit for <Value> and <ValueList> is mm.
Example¶
The implementation of the LengthComboBox value type is described in the example ComboBox, which is located in
…\etc\Examples\PythonParts\PaletteExamples\ComboBox.pyp
…\etc\PythonPartsExampleScripts\PaletteExamples\ComboBox.py