v4.0
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...

Functions

Entity GetRebarStyle (number id)
 Returns the rebar style by its id.
value GetParameterValue (Entity entity, string name)
 Returns the parameter value by name.

Function Documentation

◆ GetParameterValue()

value GetParameterValue ( Entity entity,
string name )

Returns the parameter value by name.

Since
v4.0

Possible parameters

numberRebarDiameter
Diameter of the rebar.
numberReinforcementGradeId
ID of the reinforcement grade.
numberMaterialId
ID of the material.

◆ GetRebarStyle()

Entity GetRebarStyle ( number id)

Returns the rebar style by its id.

Since
v2.0