A topology is given the following set of object data fields when it is built. These fields contain information about the elements of the topology.
Warning Although it is possible to use Data Extension Object Data functions (ade_od[xx]) to modify these fields, it is not a good idea to do so. The topology functions assume these fields are managed by them alone.
Element | Field Name | Default |
---|---|---|
Node | ID (int) | |
Node | RESISTANCE (real) | 0.0 |
Link | ID (int) | |
Link | START_NODE (int) | |
Link | END_NODE (int) | |
Link | DIRECTION (int) | 0 (Bidirectional) |
Link | DIRECT_RESISTANCE (real) | Length |
Link | REVERSE_RESISTANCE (real) | Length |
Link | LEFT_POLYGON (int) | |
Link | RIGHT_POLYGON (int) | |
Centroid | ID (int) | |
Centroid | AREA (real) | |
Centroid | PERIMETER (real) | |
Centroid | LINKS_QTY (int) |
The default resistance value Length is interpreted as follows, depending on the AutoCAD entity type:
Entity type | Length |
---|---|
Line | Line length |
Pline | Total pline length |
Arc | Calculated arc length |
Circle | Calculated circumference |
The default link direction value is 0 (bi-directional). The other possible direction values are 1 (forward), or -1 (reverse). The forward direction for lines is from start point to end point. For circles and arcs, the forward direction is counter-clockwise.