隱藏目錄

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.



提供對此主題的意見反應

SOLIDWORKS 歡迎您提供有關於文件呈現方式、正確性、及完整性的意見反應。請使用下方的表格直接將您對此主題的意見與建議傳送給我們的文件團隊。文件團隊並無法回答關於技術支援的問題。按一下此處來獲得關於技術支援的資訊

* 必要的

 
*電子郵件:  
主旨:   說明主題的意見反應
頁面:   Customized Tasks
*意見:  
*   我承認已閱讀且僅此接受隱私權政策,Dassault Systèmes 將遵循此政策之規定使用我的個人資料

列印主題

選擇要列印的內容範圍:

x

偵測到您使用的瀏覽器版本是舊於 Internet Explorer 7。要獲得最佳的顯示,建議您升級瀏覽器到 Internet Explorer 7 或更新的版本。

 不要再次顯示此訊息
x

Web 式說明內容版本:SOLIDWORKS PDM 2014 SP05

要從 SOLIDWORKS 中停用 Web 式的說明並改用本機說明,請按一下說明 > 使用 SOLIDWORKS Web 式說明

要報告在 Web 式說明介面及搜尋中遇到的問題,請聯絡您當地的技術支援代表。要針對個別說明主題提供意見反應,請使用個別主題頁面中的「提供對此主題的意見反應」連結。