Skip to content

Reinforcement resource control

Reinforcement resource controls are giving the user access to the reinforcement properties

Value type with single control

With this value types a single control (a combo box to be specific) is being created in the palette.

Steel grade

The type ReinfSteelGrade is used to create a combo box for a steel grade selection for the rebar. The result assigned to the parameter is an integer value associated with the selected steel grade. This integer value is defined in the cross-section catalog in Allplan. Please refer to Bar cross-section catalogs in Allplan documentation for more information.

Steel grade control

<Parameter>
    <Name>ReinfSteelGrade</Name>
    <Text>ReinfSteelGrade</Text>
    <Value>-1</Value><!--(1)!-->
    <ValueType>ReinfSteelGrade</ValueType>
</Parameter>
  1. If the <Value> is set to -1, the parameter is initialized with current Allplan setting.

Concrete grade

The type ReinfConcreteGrade is used to create a combo box for a concrete grade selection. The result assigned to the parameter is an integer value associated with the selected concrete grade.

Concrete grade control

<Parameter>
    <Name>ReinfConcreteGrade</Name>
    <Text>ReinfConcreteGrade</Text>
    <Value>-1</Value><!--(1)!-->
    <ValueType>ReinfConcreteGrade</ValueType>
</Parameter>
  1. If the <Value> is set to -1, the parameter is initialized with current Allplan setting.

Bar diameter

The type ReinfBarDiameter is used to create a combo box for a bar diameter selection. The result assigned to the parameter is the bar diameter in mm as a float value.

Bar diameter control

<Parameter>
    <Name>ReinfBarDiameter</Name>
    <Text>ReinfBarDiameter</Text>
    <Value>-1</Value><!--(1)!-->
    <ValueType>ReinfBarDiameter</ValueType>
</Parameter>
  1. If the <Value> is set to -1, the parameter is initialized with current Allplan setting.

Concrete cover

The type ReinfConcreteCover is used to create a combo box for the selection of a concrete cover. The result assigned to the parameter is the concrete cover in mm as a float value.

Concrete cover control

<Parameter>
    <Name>ReinfConcreteCover</Name>
    <Text>ReinfConcreteCover</Text>
    <Value>-1</Value><!--(1)!-->
    <ValueType>ReinfConcreteCover</ValueType>
</Parameter>
  1. If the <Value> is set to -1, the parameter is initialized with current Allplan setting.

Bending roller

The type ReinfBendingRoller is used to create a combo box for the selection of a bending roller diameter factor. The result assigned to the parameter is the factor itself as a float value.

Bending roller control

<Parameter>
    <Name>ReinfBendingRoller</Name>
    <Text>ReinfBendingRoller</Text>
    <Value>-1</Value><!--(1)!-->
    <ValueType>ReinfBendingRoller</ValueType>
</Parameter>
  1. If the <Value> is set to -1, the parameter is initialized with current Allplan setting.

Mesh group

The type ReinfMeshGroup is used to create a combo box for selecting a mesh group. The result assigned to the parameter is an integer value associated with the selected mesh group.

Mesh group control

<Parameter>
    <Name>ReinfMeshGroup</Name>
    <Text>ReinfMeshGroup</Text>
    <Value>-1</Value><!--(1)!-->
    <ValueType>ReinfMeshGroup</ValueType>
</Parameter>
  1. If the <Value> is set to -1, the parameter is initialized with current Allplan setting.

Mesh type

The type ReinfMeshType is used to create a combo box for selecting a mesh type. The result assigned to the parameter is a string value with the name of the selected mesh type.

Mesh type control

<Parameter>
    <Name>ReinfMeshType</Name>
    <Text>ReinfMeshType</Text>
    <Value>-1</Value><!--(1)!-->
    <ValueType>ReinfMeshType</ValueType>
</Parameter>
  1. If the <Value> is set to -1, the parameter is initialized with current Allplan setting.

Hook length

The parameter of type ReinfHookLength creates an edit field for the hook length input in the current Allplan length input unit. The main advantage of using this parameter type instead Length is, that the hook length is being calculated based on the norm, rebar diameter, its steel grade, concrete grade and hook angle. When the values of those are changed, the hook length is recalculated.

Hook length control

<Parameter>
    <Name>BarHookLength</Name>
    <Text>Hook length</Text>
    <Value>-1</Value><!--(1)!-->
    <ValueType>ReinfHookLength</ValueType>
    <!--(2)!--><Constraint>BarDiameter;SteelGrade;ConcreteGrade;BarHookAngle;__ReinfHookType__ = BarHookType</Constraint>
</Parameter>
  1. If the <Value> is set to -1, the initial value is calculated using the values from the parameters in <Constraint>.
  2. To calculate the hook length, the parameter names of the type ReinfBarDiameter, ReinfSteelGrade, ReinfConcreteGrade, Angle and ReinfMeshType can be specified here. The values can also be assigned directly like, e.g. __Angle__ = 90 If nothing is specified:

    • the value for the angle is set to 90 degree,
    • the value for ReinfBarDiameter, ReinfSteelGrade, ReinfConcreteGrade or ReinfMeshType are set to the value currently used in Allplan.

Group value types

For simplifying the creation of the .pyp file, there are additional group value types available for a direct creation of multiple input controls.

Reinforcement position

The type ReinfPosition is used to create a group of reinforcement parameters from one parameter block. As a result of this type of parameter not one, but several values are created for the PythonPart creation.

Reinforcement position control group

<Parameter>
    <ReinfID>1</ReinfID><!--(1)!-->
    <Picture>OpenStirrup_NoHooks.png</Picture>
    <Select>1</Select>
    <Diameter>10</Diameter>
    <MeshType>-1</MeshType>
    <SideLengthStart>-1</SideLengthStart>
    <SideLengthEnd>-1</SideLengthEnd>
    <Distance>-1</Distance>
    <ValueType>ReinfPosition</ValueType>
</Parameter>
  1. The <ReinfID> tag defines the index, which is used for each parameter tag inside the parameter block.
Name Text Value type Value
Picture1 Picture OpenStirrup_NoHooks.png
Shape1 CheckBox 1
ReinfType1 RadioButtonGroup 1
Diameter1 Diameter ReinfBarDiameter 10
MeshType1 Mesh type ReinfMeshType -1
SideLengthStart1 Segment length at start Length 1000
SideLengthEnd1 Segment length at end Length 500
Distance1 Spacing Length 150

Reinforcement shape bar properties

The type ReinforcementShapeBarProperties is used to create a parameter with multiple reinforcement bar shape input controls in the property palette. As a result, a ReinforcementShapeProperties object is assigned to the property value.

Reinforcement bar shape properties control group

<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>

Reinforcement shape mesh properties

The type ReinforcementShapeMeshProperties is used to create a parameter with multiple reinforcement mesh shape input controls in the property palette. As a result a ReinforcementShapeProperties object is assigned to the property value. As parameter text inside the property palette the standard parameter text is used.

Reinforcement mesh shape properties control group

<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>