Provides access to members that modify the schema of the network.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
When To Use
Use the INetSchemaEdit interface when you want to make changes to your network schema. For example, you can add a new weight and weight association to your network.
This interface is designed specifically for the editing of a stand-alone logical network, which does not have an associated geometric network. It is imperative that if you have a geometric network, the logical network must be edited through its associated geometric network. You risk data corruption if you use the INetSchemaEdit interface on logical networks that have an associated geometric network. For building the schema of a new geometric network, use the Build Geometric Network Wizard or the NetworkLoader object.
Changes in schema must be made when the network has no topology. When you create a new logical network, the schema should be set up first, before any topology is added to the network.
Members
Description | ||
---|---|---|
AddElementClass | Adds a new element class to the network. | |
AddWeight | Adds a new weight to the network. | |
AddWeightAssociation | Adds a new weight association to the network. | |
ElementClass | Element class by index. | |
ElementClassByUserID | Element class corresponding to the specified user class ID. | |
ElementClassCount | Number of element classes in the network. | |
GetAncillaryRole | Returns the ancillary role type and the name of the field containing the ancillary role information. | |
GetEnabledDisabledFieldName | Returns the name of the filed containing the enabled/disabled information for the specified user class. | |
PutAncillaryRole | Sets the ancillary role type and the name of the field containing the ancillary role information for the specified user class. | |
PutEnabledDisabledFieldName | Sets the name of the field containing the enabled/disabled information for the specified user class. | |
Weight | Network weight corresponding to the specified weight internal ID. | |
WeightAssociations | Network weight associations corresponding to the specified weight internal ID. | |
WeightAssociationsByTableName | Network weight associations corresponding to the specified table name. | |
WeightByName | Network weight corresponding to the specified name. | |
WeightCount | Number of weights in the network. |
Inherited Interfaces
Interfaces | Description |
---|---|
INetSchema | Provides access to members that get information about the schema of the network. |
CoClasses that implement INetSchemaEdit
CoClasses and Classes | Description |
---|---|
StreetNetwork | A container for describing a street network. |
UtilityNetwork | A container for describing a utility network. |
Remarks
Adding Element Classes
The AddElementClass method should only be used for adding element classes to a stand-alone logical network.
Adding Weights
Weights can be added to a network but you do not have the ability to remove weights once they have been added.
Weights can be added to a network but you do not have the ability to remove weights once they have been added.
See the help for the INetWeightEdit interface to learn how to create a NetWeight object.
See Also
INetSchemaEdit Interface | INetSchema Interface | INetWeightAssociationEdit Interface | INetWeightAssociation Interface | INetWeightEdit Interface | INetWeight Interface