ReinfSteelGrade¶
The ReinfSteelGrade type is used to create a combo box for a steel grade selection. The result assigned to the parameter is the integer value associated with the selected steel grade.
Syntax¶
<Parameter>
<Name>ReinfSteelGrade</Name>
<Text>ReinfSteelGrade</Text>
<Value>-1</Value>
<ValueType>ReinfSteelGrade</ValueType>
</Parameter>
If the <Value> tag is assigned the value -1, the parameter is initialized with the steel grade currently used in Allplan.
Example¶
The implementation of the ReinfSteelGrade value type is described in the example AllControls, which is located in
…\etc\Examples\PythonParts\PaletteExamples\AllControls.pyp
…\etc\PythonPartsExampleScripts\PaletteExamples\AllControls.py