v4.0
Style Namespace Reference

The Style namespace contains functions to set geometry, create rebars, get parameters and ports. More...

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.
nil SetInsulationSkeleton (table parts)
 Sets the insulation skeleton for the object.
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.

Detailed Description

The Style namespace contains functions to set geometry, create rebars, get parameters and ports.

Style namespace.