Hide Table of Contents

Customized Tasks

If the tasks provided with the SolidWorks Task Add-in do not meet your needs, you can modify them or create your own task add-in.

Customizing Existing Tasks

With programming knowledge, you can modify the script that underlies the Convert and Print tasks.

Use the Advanced Scripting Options dialog box to view and modify the task code while you are configuring the task from the Administration tool.

  • When configuring a conversion task, on the Output File Details page, click Advanced Scripting Options.
  • When configuring a print task, on the Files page, click Advanced Scripting Options.

Creating Custom Task Add-ins

Programmers can use the Enterprise PDM API to create an add-in to execute tasks for specific environments.

Creating a task add-in requires programming in Visual Basic .Net, C#, or C++. See the description of the API in the Enterprise PDM Programmer's Reference Guide.

A task add-in extends the capabilities of the task executor. For example, a task add-in could open files in Microsoft Word and save them to another format such as .html.

You can program the task add-in to:

  • Send parameters and data to the task executor as part of the task instruction
  • Execute any MS-DOS®/Windows command
  • Start up any Windows program with an arbitrary number of parameters
  • Give commands to any Windows program
  • Access and send commands to installed resources like printers and plotters

When you install the add-in to the vault, you add the tasks it defines to the Tasks node by creating new tasks.



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Customized Tasks
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS PDM 2012 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.