![]() |
v4.0
|
|
Functions | |
| nil | Style::SetDetailedGeometry (ModelGeometry geometry) |
| Sets the detailed geometry for the object style. | |
| nil | Style::SetSymbolicGeometry (ModelGeometry geometry) |
| Sets the symbolic geometry for the object style. | |
| nil | Style::SetSymbolGeometry (ModelGeometry geometry) |
| Sets the symbol geometry for the object style. | |
| nil | Style::SetInsulationSkeleton (table parts) |
| Sets the insulation skeleton for the object. | |
| table | Style::GetParameterValues () |
| Returns a table of parameter values. | |
| ParameterGroup | Style::GetParameterGroup (string groupName) |
| Returns a group of parameters by name. | |
| Parameter | Style::GetParameter (string groupName, string paramName) |
| Returns a parameter by group name and parameter name. | |
| Port | Style::GetPort (string name) |
| Returns the port by name. | |
| nil | Style::AddRebar (number id, Curve3D curve) |
| Adds the rebar defined by the rebar style and the curve. | |
| nil | Style::AddRebarSet (number id, Curve3D curve, Vector3D direction, number step, number count) |
| Adds the rebar set. | |
| nil Style::AddRebar | ( | number | id, |
| Curve3D | curve ) |
Adds the rebar defined by the rebar style and the curve.
Adds the rebar set.
| id | The style id. |
| curve | The base curve. |
| direction | The direction of arrangement of the rebars. |
| step | The interval between the rebars. |
| count | The count of the rebars. |
| table Style::GetParameterValues | ( | ) |
Returns a table of parameter values.
| nil Style::SetInsulationSkeleton | ( | table | parts | ) |
Sets the insulation skeleton for the object.
| parts | Each element of the table describes a part of insulation (table Curve2D, table Placement3D, Curve3D, InsulationCapType, InsulationCapType). Each part is defined by: Array of 2D section curves (Curve2D), Array of coordinate systems (Placement3D). The curves are located in the XY-planes, Guide curve Curve3D, Сap type at the beginning of the spine. Acceptable values: InsulationCapType.None, InsulationCapType.Flat (default InsulationCapType.None). Сap type at the end of the spine. Acceptable values: InsulationCapType.None, InsulationCapType.Flat (default InsulationCapType.None). The size of the section curves array must be equal to the size of the placements array. Section curve must be closed. |