ReinforcementShapeBarProperties¶
The ReinforcementShapeBarProperties type is used to create a parameter with multiple reinforcement bar shape input controls in the property palette:
Syntax¶
<Parameter>
<Name>BarProperties</Name>
<Text>Bar shape properties</Text>
<Value>ReinforcementShapeProperties(ConcreteGrade(-1),SteelGrade(-1),Diameter(25.0),BendingRoller(4.0))</Value>
<ValueType>ReinforcementShapeBarProperties</ValueType>
</Parameter>
The internal value of the parameter is a ReinforcementShapeProperties object and the value from the input controls are assessable by the properties of this object.
Example¶
The implementation of the ReinforcementShapeBarProperties value type is described in the example AllControls, which is located in
…\etc\Examples\PythonParts\PaletteExamples\AllControls.pyp
…\etc\PythonPartsExampleScripts\PaletteExamples\AllControls.py