ArcFM Engine Developer Guide
GetCurrentStatusAsWeightValue Method (IMMCurrentStatus)


The Esri Network Element ID as long; More information about the Element ID is available in the ArcGIS Developer Help, Network Analysis Library Overview.

The Feature Class ID as long

The Object ID as long

The Esri Network Element SubID as long. More information about the SubID is available in the ArcGIS Developer Help, Network Analysis Library Overview.

A value from the esriElementType enumeration that indicates whether the feature is a junction or an edge.

This argument can read or set the weight value of the feature.

Given an ID argument to identify the feature (ElementID, Feature Class ID, Object ID, SubID), this method allows access to the weight value. It provides the opportunity to override the MMElectricTraceWeight value found in the database for an element encountered during the trace.
Syntax
'Declaration
 
Sub GetCurrentStatusAsWeightValue( _
   ByVal EID As Integer, _
   ByVal FCID As Integer, _
   ByVal OID As Integer, _
   ByVal SUBID As Integer, _
   ByVal ElementType As ESRI.ArcGIS.Geodatabase.esriElementType, _
   ByRef weightVal As Integer _
) 
'Usage
 
Dim instance As IMMCurrentStatus
Dim EID As Integer
Dim FCID As Integer
Dim OID As Integer
Dim SUBID As Integer
Dim ElementType As ESRI.ArcGIS.Geodatabase.esriElementType
Dim weightVal As Integer
 
instance.GetCurrentStatusAsWeightValue(EID, FCID, OID, SUBID, ElementType, weightVal)
void GetCurrentStatusAsWeightValue( 
   int EID,
   int FCID,
   int OID,
   int SUBID,
   ESRI.ArcGIS.Geodatabase.esriElementType ElementType,
   out int weightVal
)

Parameters

EID

The Esri Network Element ID as long; More information about the Element ID is available in the ArcGIS Developer Help, Network Analysis Library Overview.

FCID

The Feature Class ID as long

OID

The Object ID as long

SUBID

The Esri Network Element SubID as long. More information about the SubID is available in the ArcGIS Developer Help, Network Analysis Library Overview.

ElementType

A value from the esriElementType enumeration that indicates whether the feature is a junction or an edge.

weightVal

This argument can read or set the weight value of the feature.

Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

IMMCurrentStatus Interface
IMMCurrentStatus Members

 

 


Send Comment