Provides access to members that modify the disabled state and weight values of individual elements in the network.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
When To Use
Use the INetAttributesEdit interface when you want to change the disabled state of an element in your network or when you want to modify the value of a weight.
Disabling an element means setting its DisabledState to "True".
This interface is designed specifically for the editing of a stand-alone logical network, a logical network that 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 INetAttributesEdit interface on logical networks that have an associated geometric network. The logical network maintains its own weight values for the purpose of faster access. Directly manipulating the weight values or Disabled state of elements in a logical network with a corresponding geometric network, will cause the weight values from the feature to be out of sync with the weight values maintained by the logical network.
For geometric networks the weight value or Disabled state should only be edited on the feature and not on the logical network element. Use IRowBuffer::Value and IRow::Store to modify the value of a feature attribute.