ReinforcementShapeMeshProperties¶
The ReinforcementShapeMeshProperties type is used to create a parameter with multiple reinforcement mesh shape input controls in the property palette:
Syntax¶
<Parameter>
<Name>MeshProperties</Name>
<Text>Mesh shape properties</Text>
<Value>ReinforcementShapeProperties(ConcreteGrade(-1),MeshType(-1),MeshBendingDirection(LongitudinalBars),BendingRoller(4.0))</Value>
<ValueType>ReinforcementShapeMeshProperties</ValueType>
</Parameter>
The internal value of the parameter is a ReinforcementShapeProperties object, and the values of the input controls can be retrieved via the properties of this object. As parameter text inside the property palette the standard parameter text is used.
Example¶
The implementation of the ReinforcementShapeMeshProperties value type is described in the example AllControls, which is located in
…\etc\Examples\PythonParts\PaletteExamples\AllControls.pyp
…\etc\PythonPartsExampleScripts\PaletteExamples\AllControls.py