ArcFM Engine Developer Guide
IMMEditTask Interface
Members 


In ArcFM, you can assign an edit task to a feature class so that when the feature is added, the edit task will execute. This allows you to customize the process of adding a certain feature.
Available at Version
Product Availability
Required Licenses
.NET Assembly
Syntax
'Declaration
 
<TypeLibTypeAttribute(TypeLibTypeFlags.FOleAutomation)>
<GuidAttribute("AD349930-2139-11D4-80D6-0050DA5BE899")>
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>
<ComImportAttribute()>
Public Interface IMMEditTask 
'Usage
 
Dim instance As IMMEditTask
[TypeLibType(TypeLibTypeFlags.FOleAutomation)]
[Guid("AD349930-2139-11D4-80D6-0050DA5BE899")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComImport()]
public interface IMMEditTask 
Remarks

In our example, the edit task requires the user to interactively set the symbol's rotation angle of a new point feature. Use an edit task any time you want the user to interact with the map while adding a feature. The ArcFM Attribute Editor must know the shape of a new feature before it is added. For this reason, you must use the IMMEditTask interface with any edit tasks in addition to using ArcGIS's IEditTask Interface.

Order of Events:

  • User starts editing and selects a feature with an assigned Edit Task

  • Calls IEditTask::Activate

  • SetProposedGeometry checked

  • Calls OnSketchModified as user adds vertices

  • Calls FinishSketch

  • Calls SetProposedGeometry

  • User selects different feature

  • Calls IEditTask::Deactivate

Template Edit Tasks: When implementing IMMEditTask to create a template edit task, the interface does NOT call IMMEditTask::SetProposedGeometry. Rather, it calls IMMProposedObject2::SetProposedGeometry to allow the geometry to come from the template itself.

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

IMMEditTask Members
Miner.Interop Namespace

In ArcFM, you can assign an edit task to a feature class so that when the feature is added, the edit task will execute. This allows you to customize the process of adding a certain feature.
Syntax
'Declaration
 
<TypeLibTypeAttribute(TypeLibTypeFlags.FOleAutomation)>
<GuidAttribute("AD349930-2139-11D4-80D6-0050DA5BE899")>
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>
<ComImportAttribute()>
Public Interface IMMEditTask 
'Usage
 
Dim instance As IMMEditTask
[TypeLibType(TypeLibTypeFlags.FOleAutomation)]
[Guid("AD349930-2139-11D4-80D6-0050DA5BE899")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComImport()]
public interface IMMEditTask 
Remarks

In our example, the edit task requires the user to interactively set the symbol's rotation angle of a new point feature. Use an edit task any time you want the user to interact with the map while adding a feature. The ArcFM Attribute Editor must know the shape of a new feature before it is added. For this reason, you must use the IMMEditTask interface with any edit tasks in addition to using ArcGIS's IEditTask Interface.

Order of Events:

  • User starts editing and selects a feature with an assigned Edit Task

  • Calls IEditTask::Activate

  • SetProposedGeometry checked

  • Calls OnSketchModified as user adds vertices

  • Calls FinishSketch

  • Calls SetProposedGeometry

  • User selects different feature

  • Calls IEditTask::Deactivate

Template Edit Tasks: When implementing IMMEditTask to create a template edit task, the interface does NOT call IMMEditTask::SetProposedGeometry. Rather, it calls IMMProposedObject2::SetProposedGeometry to allow the geometry to come from the template itself.

Inheritance Hierarchy

Miner.Interop.IMMEditTask

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

IMMEditTask Members
Miner.Interop Namespace

 

 


Send Comment