RUNSCRIPT Command Documentation
DESCRIPTION:
Runs a PDMShell script.
SYNTAX:
runscript -source -filePath -search -recursive
PARAMETERS:
source: Script file. Must end in.pdmshell
Important
Script extension is .pdmshell
filePath: File path to run the script on.search: Search query to filter files.recursive: If specified, the command will run script on all files recursively in subdirectories.
EXAMPLES:
runscript -filePath pdmscript.pdmshell -search "%.sldprt" -recursive
# this will run pdm.script on all part files in the active directory and its subdirectories
REMARKS:
- A good way to start a script is using the
start notepad.execommand to open up notepad.exe. - In your script, you must use the alias
$completefilenameand$completefoldernameto reference the file your script is targeting. This is required with thesearchorfilePathparameters.
FREE VERSION LIMIT:
- The free version is limited to 10 lines per script.