About Querying a Topology

You can query part of a topology in a source drawing and work on that part of a topology without having to retrieve all the objects that make up a topology.

There are three differences between using standard queries and topology queries:

Creating a Result Topology

When you use a topology query, you can hold the retrieved information in the current drawing in three types of topology:

Location Queries

Location queries on network topology work in the same way as queries on any other linear or point object.

Topology Data Retrieved by Location Query
Node Nodes
Network Links; also nodes if part of topology
Polygon Polygons if links or centroid selected; also links or nodes if part of polygon topology

Polygons are handled as true areas, not just as boundaries. In the example following, the polygon area crosses through the query boundary so the whole polygon is retrieved, although none of the objects that make up the polygon intersect any part of the query boundary.

Point location queries also retrieve the polygon that includes the point.

Object Data Queries

Any topology object can be queried using object data, such as node, link, and polygon identifiers; the "from" and "to" node information on links; the left and right side information on links; polygons; and so on.

Topology queries can retrieve data such as areas, perimeters, numbers of links, and more. For example, a query to retrieve objects with an area greater than a specified value gives different results with the two query types:

Property Alteration with Topology Queries

When you define a property alteration for topology objects, only specific elements of the topology are altered, as shown in the following table.

Property Alteration Modified Objects
Block Name Nodes in node and network topologies Centroids in polygon topology
Color Nodes, links, and centroids
Elevation Nodes, links, and centroids
Height Nodes in node and network topologies Centroids in polygon topology
Layer Nodes, links, and centroids
Linetype Nodes, links, and centroids
Rotation Nodes in node and network topologies. Centroids in polygon topology
Scale Nodes, links, and centroids
Text Style Nodes in node and network topologies Centroids in polygon topology
Width Links
Text Value Nodes in node and network topologies Centroids in polygon topology (text appears at the centroid label point)
Thickness Links
Hatch Hatched polygons

Report Mode

In addition to the dot variables available using the standard Define Query Of Attached Drawings command, Define Topology Query has two extra dot variables.

Three of the dot variables give different results in topology queries.

The Process Sub-Objects option in the Output Report Options dialog box specifies the objects in a report.