Requires that you know how to work in a program language, such as VB.net.
If you want to use the custom task functionality with COM, first create a COM component which is derived from IServiceModules. The file ServiceModuleInterfaceDef.tlb, which defines the COM interface -- IServiceModules, is installed at Program Files Autodesk Inventor [version] Bin. There are five methods defined in the interface:
Task Type: Enter a name for the task.
ProgramID/Application: Specify the Program ID of a COM object, and enter a name, such as ServiceModule.MigrationManager. Alternatively, specify Application (EXE File) and enter the name of an executable file, such as notepad.exe. Click OK.
The new custom task type is listed in the Custom Task Type dialog box.
To edit a task type in the list, select the task and then click Edit. In the Task Type dialog box, enter the changes.
To delete a task type in the list, click Delete. In the warning message dialog box, click Yes to delete the custom task type. If the task is still in use, a warning message prompts you that it cannot be deleted.
Click OK.
Task Type: Select the new task.
Parameters: Enter parameters. For example, for a notepad.exe, specify the name of the text file to open.
Task Schedule: Specify a schedule
or
select Immediately.
Time Out: Specify whether to use a time-out threshold., and enter a value.
Click OK.
If this task is the first you create during the current session, the Authentication dialog box is displayed. Enter your Microsoft Windows log in name and password.
The task is displayed in the task list. You can close the Autodesk Inventor Task Scheduler window. The task runs as scheduled.
For this procedure, you build the solution first, and then invoke COM.
Task Type Name: Enter the name ConvertIDW2DWG
Program ID/Application: Enter ConvertDLL.ConvertManager
Select Program ID(COM)
Click OK.
Parameters: Enter the .idw file name and the .dwg file name. (Example: E:\Datasets\Version12\part1111.idw|E:\Datasets\Version12\part1111.dwg)
Task Schedule: Specify a schedule for the task.
Time Out: Select Time Out, and in Hr(s), enter 72.
Click OK
For this procedure, you build the solution first, and then invoke EXE.
Task Type Name: Enter the name ConvertIDW2DWGExe
Program ID/Application: Enter ConvertIDWToDWG\debug\ConvertIDWToDWG.exe
Select Application (EXE File).
Click OK.
Parameters: Enter the .idw file name and the .dwg file name. (Example: E:\Datasets\Version12\part1111.idw;E:\Datasets\Version12\part1111.dwg)
Task Schedule: Specify a schedule for the task.
Time Out: Select Time Out, and in Hr(s), enter 72.
Click OK