v2.0
 
Style Namespace Reference

Functions

nil SetDetailedGeometry (ModelGeometry geometry)
 Sets the detailed geometry for the object style.
 
nil SetSymbolicGeometry (ModelGeometry geometry)
 Sets the symbolic geometry for the object style.
 
nil SetSymbolGeometry (ModelGeometry geometry)
 Sets the symbol geometry for the object style.
 
table GetParameterValues ()
 Returns a table of parameter values.
 
ParameterGroup GetParameterGroup (string groupName)
 Returns a group of parameters by name.
 
Parameter GetParameter (string groupName, string paramName)
 Returns a parameter by group name and parameter name.
 
Port GetPort (string name)
 Returns the port by name.
 
nil AddRebar (number id, Curve3D curve)
 Adds the rebar defined by the rebar style and the curve.
 
nil AddRebarSet (number id, Curve3D curve, Vector3D direction, number step, number count)
 Adds the rebar set.
 

Function Documentation

◆ AddRebar()

nil Style::AddRebar ( number id,
Curve3D curve )

Adds the rebar defined by the rebar style and the curve.

Since
v2.0

◆ AddRebarSet()

nil Style::AddRebarSet ( number id,
Curve3D curve,
Vector3D direction,
number step,
number count )

Adds the rebar set.

Parameters
idThe style id.
curveThe base curve.
directionThe direction of arrangement of the rebars.
stepThe interval between the rebars.
countThe count of the rebars.
Since
v2.0

◆ GetParameterValues()

table Style::GetParameterValues ( )

Returns a table of parameter values.

Returns
Table of parameter values of the form [group name][parameter name][parameter value].