Gets the set of topology properties for the specified topology name.
Get map topology properties
{
// Retrieves the topology properties for the specified map asynchronously.
var mapTopoProperties = await activeMap.GetTopologyAsync("Map") as MapTopologyProperties;
var tolerance_m = mapTopoProperties.Tolerance;
var defaultTolerance_m = mapTopoProperties.DefaultTolerance;
}
Get geodatabase topology properties by name
// Asynchronously retrieves the properties of a geodatabase topology with the specified name from the given map.
var topoProperties = await activeMap.GetTopologyAsync(topologyName) as GeodatabaseTopologyProperties;
var workspace = topoProperties.WorkspaceName;
var topoLayer = topoProperties.TopologyLayer;
var clusterTolerance = topoProperties.ClusterTolerance;
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)
ArcGIS Pro version: 3.1 or higher.