Tekla Open API

Detailed and full API reference helps you master Tekla Open API

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

RebarItemEnumeratorSelectRebarItem Method (String, Double, Double, Boolean)

Selects a rebar item in the rebar database with the given grade, nominal diameter and bending radius.

Namespace:  Tekla.Structures.Catalogs
Assembly:  Tekla.Structures.Catalogs (in Tekla.Structures.Catalogs.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public static RebarItem SelectRebarItem(
	string Grade,
	double Diameter,
	double BendRadius,
	bool UseNominalDiameter
)

Parameters

Grade
Type: SystemString
The grade of the rebar item to select.
Diameter
Type: SystemDouble
The diameter of the rebar item to select.
BendRadius
Type: SystemDouble
The bending radius of the rebar item to select.
UseNominalDiameter
Type: SystemBoolean
If set to false, the item is selected based on the actual diameter. If true, the item is selected based on the nominal diameter.

Return Value

Type: RebarItem
The first RebarItem that matches the conditions.
See Also