This document is archived and information here might be outdated. Recommended version. |
The current edit task.
[Visual Basic .NET] Public Property CurrentTask As IEngineEditTask
[C#] public IEngineEditTask CurrentTask {get; set;}
[C++]
HRESULT get_CurrentTask(
IEngineEditTask* Task
);
[C++]
HRESULT putref_CurrentTask(
IEngineEditTask** Task
);
[C++] Parameters Task [in]
Task is a parameter of type IEngineEditTask* Task [out, retval]
Task is a parameter of type IEngineEditTask**
Use this property to check or change the EngineEditor's current task.
When an edit sketch is completed the IEngineEditTask::OnFinishSketch method of the current engine edit task uses the geometry stored in IEngineEditSketch::Geometry to perform some action (e.g. store any created features)
The IEngineEditEvents::OnCurrentTaskChanged event is fired when this property is set or when a different task is selected using the ControlsEditingTaskToolControl.