Remove Rule from Topology (Data Management) (ArcInfo and ArcEditor only) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
Removes a rule from a topology.
Usage tips
When removing a rule from a topology using the command line or scripting, you must specify the feature class ObjectClassID in brackets after the rule name. See the command line syntax for an example. If you are using the Remove Feature Class From Topology tool, the list of rules is presented to you in a dropdown list.
Removing a rule will require the topology to be revalidated.
Removing a topology rule alters the schema of the topology and requires an exclusive lock. It also requires the topology be unregistered as versioned.
The following environment affects this tool: Workspace.
Command line syntax
An overview of the Command Line window
RemoveRuleFromTopology_management <in_topology> <in_rule>
Parameter | Explanation | Data Type |
<in_topology> |
The topology from which you want to remove a rule. |
Topology |
<in_rule> |
The topology rule you want to remove from the topology. |
String |
RemoveRuleFromTopology D:\Calgary\Trans.mdb\Streets\Street_Topo Must Not Intersect Or Touch Interior (5)
Scripting syntax
About getting started with writing geoprocessing scripts
RemoveRuleFromTopology_management (in_topology, in_rule)
Parameter | Explanation | Data Type |
in_topology (Required) |
The topology from which you want to remove a rule. |
Topology |
in_rule (Required) |
The topology rule you want to remove from the topology. |
String |
import arcgisscripting gp = arcgisscripting.create() Output_Topology = "C:/Datasets/TestGPTopology.mdb/LegalFabric/topo1" topo1 = "C:/Datasets/TestGPTopology.mdb/LegalFabric/topo1" gp.RemoveRuleFromTopology_management(topo1, "Must Not Have Dangles (2:1)", )