v4.4
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 }
 Foundation shape. More...

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 reinforcement 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.
object GetSectionProfile (Entity entity)
 Returns the object section profile.
Entity GetTypeName (object anyObject)
 Returns the type name of the passed object.

Enumeration Type Documentation

◆ FoundationShape

Foundation shape.

Since
v4.0
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 
RebarStylenumberRebarDiameter
Diameter of the rebar.
numberReinforcementGradeId
ID of the reinforcement grade.
numberMaterialId
ID of the material.
IsolatedFoundationFoundationShapeIsolatedFoundationShape
Shape.
numberIsolatedFoundationWidth
Width.
numberIsolatedFoundationDepth
Depth.
numberIsolatedFoundationHeight
Height.
numberIsolatedFoundationWidthTop
Width top (for trapezoidal shape).
numberIsolatedFoundationDepthTop
Depth top (for trapezoidal shape).
Column
Since v4.4
numberColumnHeight
Height.

◆ GetRebarStyle()

Entity GetRebarStyle ( number id)

Returns the rebar style by its id.

Since
v2.0

◆ GetReinforcementUnitStyle()

Entity GetReinforcementUnitStyle ( number id)

Returns the reinforcement unit style by its id.

Since
v4.0

◆ GetSectionProfile()

object GetSectionProfile ( Entity entity)

Returns the object section profile.

Since
v4.4

◆ GetTypeName()

Entity GetTypeName ( object anyObject)

Returns the type name of the passed object.

Since
v4.4