SOLIDWORKS PDM Professional API Help Send Feedback
IEdmTaskInstance Interface
See Also  Members   Example
EPDM.Interop.epdm Namespace : IEdmTaskInstance Interface


Allows you to access the task instance of an add-in.


NOTE: Click the Members link, located near the top of the topic, to see this interface's methods and properties.

Syntax

Visual Basic 
Public Interface IEdmTaskInstance 
C# 
public interface IEdmTaskInstance 
C++/CLI 
public interface class IEdmTaskInstance 

Example

Remarks

This interface inherits from IDispatch. See IDispatch Interface (Automation)

An instance of the task is created when the task is launched. This interface is created in EdmCmd::mpoExtra when an add-in calls IEdmAddIn5::OnCmd and has previously registered the hooks, EdmCmdType.EdmCmd_TaskRun, EdmCmdType.EdmCmd_TaskLaunch, EdmCmdType.EdmCmd_TaskDetails, using IEdmCmdMgr5::AddHook. After the task launches, IEdmTaskInstance can be used to prompt the user for user-defined variable values, display a data card for editing data card variables, or update the task list messages and progress bar as the task runs. 

Programming tasks are add-ins that allow you to specify when and where to perform specific tasks.  

The definition of the task can be used to modify the task setup page.

See Also