![]() |
v2.0
|
|
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. | |
| 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 (Curve3D, table Curve2D, table Placement3D, InsulationCapType, InsulationCapType). Each part is defined by: Guide curve Curve3D, Array of 2D section curves (Curve2D), Array of coordinate systems (Placement3D). The curves are located in the XY-planes, С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. |