US$0.00
0
Free Plugin
Ships with PDMShell

Task Script

A custom PDM task add-in that lets you execute PDMShell scripts the same way you’d use the built-in Convert task — configurable, dynamic, and deeply integrated with your vault.

SOLIDWORKS PDM Professional only

Requires PDMShell installed

Instant setup, zero config

taskscript — example.pdmshell
# TaskScript: Export to PDF on approval
# Runs automatically on PDM task trigger

$ checkout -filePath "$localPath"
$ export -filePath "$localPath" -format PDF
$ setvar -filePath "$localPath"
-variableName ExportDate -Value "$date"
$ checkin -filePath "$localPath"
-comment "Auto-export by $userName"
$ quit

✓ Task completed — 3 files processed in 1.4s
$
How It Works

From Script to Task in Minutes

TaskScript bridges the gap between your PDMShell scripts and the PDM task system — no custom coding required, just configure and run.
1

Install TaskScript

Download and register the TaskScript add-in inside your SOLIDWORKS PDM Administration tool — just like any other task add-in.

2

Write Your Script

Author a .pdmshell script using any PDMShell commands. Use dynamic placeholders like $localPath and $fileName for per-file context.

3

Configure the Task

In the PDM Administration panel, create a TaskScript task, point it to your script, set file extension filters, and configure the Command Menu tab.

4

Trigger & Run

Attach the task to any PDM workflow trigger. TaskScript runs your pdmcli session automatically on every selected file with detailed logging.

Key Features

Everything You Need to Automate Tasks

TaskScript bridges the gap between your PDMShell scripts and the PDM task system — no custom coding required, just configure and run.

Execute Scripts via PDM Task Triggers

Run any .pdmshell script automatically in response to PDM task triggers — approvals, state changes, manual runs, or scheduled tasks.

Dynamic Variable Binding at Runtime

Placeholders like $localPath, $fileName, $userName, and $date are substituted per file at runtime — making one script handle any file in the vault.

Reuse Your Existing Scripts

Point TaskScript at scripts stored locally or pulled from your network — no duplication, no migration. Your existing PDMShell library works as-is.

File Extension Filtering

Control exactly which file types TaskScript processes per task. Default is sldprt;sldasm;slddrw — fully customizable.

PDMShell Script auto-export.pdmshell
# Dynamic per-file export with PDM vars
# File info from TaskScript placeholders
checkout -filePath "$localPath"
# Read PDM variable for this file
getvar -filePath "$localPath"
-variableName Description
# Export to PDF output folder
export -filePath "$localPath"
-format PDF
-outputPath "$folderPath\output"
# Stamp export timestamp on file
setvar -filePath "$localPath"
-variableName LastExport
-Value "$timestamp"
checkin -filePath "$localPath"
-comment "Auto-export $yyyy-$MM-$dd"
quit

Setup Notes

  • Default extension filter: sldprt;sldasm;slddrw
  • Always set the Command Menu tab in task config
  • Scripts run one PDMShell session per affected file
  • Use $(Description.@) for the @ configuration tab

Get TaskScript For Free

TaskScript ships free with PDMShell. Enter your details and we’ll send the download link directly to your inbox — same delivery flow as all our free plugins.
  • Free for all PDMShell users (Free & Premium)
  • No credit card, no trial period
  • Instant confirmation email with download link
  • Includes setup instructions and example scripts
  • Requires SOLIDWORKS PDM Professional
Professional email required.
0
    0
    Your Cart
    Your cart is emptyReturn to Shop