ArcFM Solution Developer Guide
Execute Method (IMMSpecialAUStrategy)


Passes in as IObject the object that is being acted on
Use this method to code your special autoupdater task. It can contain code to perform any task that you want to assign to a feature event.
Syntax
'Declaration
 
Sub Execute( _
   ByVal pObj As ESRI.ArcGIS.Geodatabase.IObject _
) 
'Usage
 
Dim instance As IMMSpecialAUStrategy
Dim pObj As ESRI.ArcGIS.Geodatabase.IObject
 
instance.Execute(pObj)
void Execute( 
   ESRI.ArcGIS.Geodatabase.IObject pObj
)

Parameters

pObj
Passes in as IObject the object that is being acted on
Example

This object is passed in when ArcFM executes the AU strategy. This is the "incoming" object being edited. The following code sample demonstrates how the IMMSpecialAUStrategy::Execute method may be implemented. The sample below is from the ArcFM Place Work Location autoupdater developer sample.

 

Visual Basic Copy Code
Private Sub IMMSpecialAUStrategy_Execute(ByVal pObj As esriCore.IObject)

    'Test if pObj is a valid feature with valid shape.
    If Not ValidObject(pObj) Then Exit Sub

    If IsWorkFunctionChange(pObj) Then
        AutoPLaceWorkFunction pObj
    End If

End Sub
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

IMMSpecialAUStrategy Interface
IMMSpecialAUStrategy Members

 

 


Send Comment