Examples of stylization are given below.
Illustration of the blowing-in direction
To illustrate the blowing-in direction at the building, we use the duct fitting that connects the microduct in the composite with the microduct in the drop segment. The duct fitting comes with a rotation that we can use for stylizing. The approach is to stylize the duct fitting as a triangle and to position it correctly in terms of rotation and offset using the corresponding settings.
The feature class required for the illustration is the TC_M_SP_fitting.
For example, the result may look like this:
Stylize as described below:
Rotation - how to find the correct expression for the rotation in the representation model?
By default, AutoCAD expects rotation information in the display model in anti-clockwise degrees. In addition, a rotation of 0 in AutoCAD means "east", whereas in a shell it means "north". The rotation values stored in the shell data must therefore be converted in the display model for correct display in AutoCAD Map 3D. Here are the required formulas at a glance.
Angle unit of the tray | Rotation direction of the tray | Expression for the rotation in the display model |
Degrees | anti-clockwise | ORIENTATION + 90 |
Gon | anti-clockwise | ((ORIENTATION * 9/10) + 90) |
Radians | anti-clockwise | ((ORIENTATION * 1.800.000/31.415) + 90) |
Degrees | clockwise | (90 - ORIENTATION) |
Gon | clockwise | (90 - (ORIENTATION * 9/10)) |
Radians | clockwise | (90 - (ORIENTATION * 1.800.000/31.415)) |
Insertion offset
Enter the following formula in the insertion X offset:
Sin(ORIENTATION*0.0174533)*0.5
Enter the following formula in the insertion Y offset:
Cos(ORIENTATION*0.0174533)*0.5
The insertion offset is required when you use the triangle from the standard symbols as the symbol.
Note
For example, use the “Query for data filtering” to display only duct fittings of a certain type as a triangle.
Coloring of ducts with geometry with the sleeve color
Use the duct view TC_M_SP_DUCT to illustrate the ducts with their own geometry. In addition to the default attributes of the duct, this view contains the ARGB_COLOR and ARGB_COLOR2 value for the convenient querying and displaying of the sleeve color. Use these attributes in the stylization directly when defining the color:
For two-color ducts, work with 2 entries in style and define the first duct color via ARGB_COLOR with a solid line and the second color via ARGB_COLOR2 value with a dashed line.
Stylisation of the Result: Connection point
If you want to stylise the Result: connection point in colour according to the value from "Evaluation of the connection", use "New theme" in the style editor.
- Open the style editor of TC_PL_V_OUT_DEMAND_POINT.
- Start "New theme" and select the CONNECTION_SCORE property. Fill in the other fields as shown in the screenshot. Select a suitable method for distribution.
- In "Style area", define the symbol and style as well as the size and the corresponding display colours.
- Define the legend text and the legend format.
- Confirm your entries with the OK button.