RUNTASK Command
Description
The runtask command allows you to execute a PDM task on a specific file or via search in the PDM vault.
Syntax
runtask -taskName -filePath -search -recursive
Parameters
The command requires the following parameters:
taskName: Task name. This can be found in under Tasks in the Administration tool.filePath: Path to the affected file.search: (Optional) Search query to find files to run the macro on.recursive: (Optional) If set, search will include subfolders.
Examples
# run PrintPDF task on an assembly
taskrun -TaskName "PrintPDF" -filePath "Assembly.sldasm"
Availability
Available since PDMShell 2.0.33.