v4.1
Interacting with the Renga project

Topics

 Port

Classes

class  Entity
 The basic element of a Renga project, such as an object or a style. More...
class  ModelGeometry
 Model geometry. More...
class  Parameter
 Object style parameter. More...
class  ParameterContainer
 Parameter container. More...
class  ParameterGroup
 Style parameter group. More...

Enumerations

enum  FoundationShape { Rect , Trapeze }

Functions

Entity GetRebarStyle (number id)
 Returns the rebar style by its id.
value GetParameterValue (Entity entity, string name)
 Returns the parameter value by name.
Entity GetReinforcementUnitStyle (number id)
 Returns the reinforcemnent unit style by its id.
BoundingBox GetBoundingBox (Entity entity)
 Returns the bounding box of the detailed geometry of the entity (object or style) in its local coordinate system.

Enumeration Type Documentation

◆ FoundationShape

Enumerator
Rect 

Rectangular foundation.

Trapeze 

Trapezoidal foundation.

Function Documentation

◆ GetBoundingBox()

BoundingBox GetBoundingBox ( Entity entity)

Returns the bounding box of the detailed geometry of the entity (object or style) in its local coordinate system.

Since
v4.0

◆ GetParameterValue()

value GetParameterValue ( Entity entity,
string name )

Returns the parameter value by name.

Since
v4.0

Possible parameters

EntityParameters
RebarStyle
numberRebarDiameter
Diameter of the rebar.
numberReinforcementGradeId
ID of the reinforcement grade.
numberMaterialId
ID of the material.
IsolatedFoundation
FoundationShapeIsolatedFoundationShape
Shape.
numberIsolatedFoundationWidth
Width.
numberIsolatedFoundationDepth
Depth.
numberIsolatedFoundationHeight
Height.
numberIsolatedFoundationWidthTop
Width top (for trapezoidal shape).
numberIsolatedFoundationDepthTop
Depth top (for trapezoidal shape).

◆ GetRebarStyle()

Entity GetRebarStyle ( number id)

Returns the rebar style by its id.

Since
v2.0

◆ GetReinforcementUnitStyle()

Entity GetReinforcementUnitStyle ( number id)

Returns the reinforcemnent unit style by its id.

Since
v4.0