This document is archived and information here might be outdated.  Recommended version.

INetworkCollection.CreateGeometricNetwork Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkCollection Interface > INetworkCollection.CreateGeometricNetwork Method
ArcGIS Developer Help

INetworkCollection.CreateGeometricNetwork Method

Creates a new GeometricNetwork in this FeatureDataset.

[Visual Basic .NET]
Public Function CreateGeometricNetwork ( _
    ByVal Name As String, _
    ByVal NetworkType As esriNetworkType, _
    ByVal buildNormalizedTables As Boolean _
) As IGeometricNetwork
public IGeometricNetwork CreateGeometricNetwork (
    string Name,
    esriNetworkType NetworkType,
    bool buildNormalizedTables
HRESULT CreateGeometricNetwork(
  BSTR Name,
  esriNetworkType NetworkType,
  VARIANT_BOOL buildNormalizedTables
Name [in]

Name is a parameter of type BSTR NetworkType [in]
NetworkType is a parameter of type esriNetworkType buildNormalizedTables [in]
buildNormalizedTables is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


When you create a geometric network you also create a corresponding logical network. To get the logical network you need to call IGeometricNetwork::Network which will return the INetwork interface.
Any value supplied for the BuildNormalizedTables parameter is ignored and is reserved for future development.

See Also

INetworkCollection Interface | INetworkLoader Interface