ReinforcementShapeMeshProperties

The ReinforcementShapeMeshProperties type is used to create a parameter with multiple reinforcement mesh shape input controls in the property palette:

../../../../_images/ReinforcementShapeMeshProperties.png

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.

Optional tags

Sometimes it’s useful to disable or hide the controls depending on the value of another parameter. This is achieved by adding additional tags to the parameter or by defining functions in the py-file. See Enable and visible options

The persistent state of the parameter can be changed by adding

<Persistent></Persistent>

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