v2.37
|
|
Represents a usage of rebar in the reinforcement unit or reinforced object. More...
Public Member Functions | |
HRESULT | GetPlacements ([out, retval] IPlacement3DCollection **ppPlacements) |
Returns a collection of 3D placements that define the locations of the rebars. For rebar usages received from a level based object the placements are defined in the coordinate system of the level. For rebar usages received from a reinforcement unit the placements are defined in the coordinate system of the unit. | |
HRESULT | GetQuantities ([out, retval] IQuantityContainer **ppQuantityContainer) |
Returns the quantity container interface for the usage. | |
HRESULT | GetRebarGeometry ([out, retval] ICurve3D **ppGeometry) |
Returns the rebar geometry represented by a 3D curve. The coordinate system the curve is defined in is unspecified. To get the rebar geometry set transform this geometry into placements returned by GetPlacements. | |
Properties | |
int | StyleId [get] |
The rebar style ID. | |
Represents a usage of rebar in the reinforcement unit or reinforced object.
The rebar usage aggregates all rebars with equal geometry and style within a single owner (a model object, e.g. a wall, or a reinforcement unit, e.g a reinforcement cage). Rebar usage quantities, such as total reinforcement mass or total reinforcement length, can be obtained via this interface. This interface can be obtained from an IObjectReinforcementModel or an IReinforcementUnitStyle.
HRESULT GetPlacements | ( | [out, retval] IPlacement3DCollection ** | ppPlacements | ) |
Returns a collection of 3D placements that define the locations of the rebars. For rebar usages received from a level based object the placements are defined in the coordinate system of the level. For rebar usages received from a reinforcement unit the placements are defined in the coordinate system of the unit.
HRESULT GetQuantities | ( | [out, retval] IQuantityContainer ** | ppQuantityContainer | ) |
Returns the quantity container interface for the usage.
HRESULT GetRebarGeometry | ( | [out, retval] ICurve3D ** | ppGeometry | ) |
Returns the rebar geometry represented by a 3D curve. The coordinate system the curve is defined in is unspecified. To get the rebar geometry set transform this geometry into placements returned by GetPlacements.