SldwrksExporter/scripts/export-file.cmd

13 lines
488 B
Batchfile
Raw Permalink Normal View History

2023-02-06 10:26:05 +00:00
ECHO OFF
SET inputFilePath=%~dp0%1".SLDPRT"
SET outFilePath=%~dp0%1".step"
PowerShell -NoProfile -ExecutionPolicy Bypass -File "%~dp0export-file.ps1" %inputFilePath% %outFilePath%
SET inputFilePath=%~dp0%1".SLDDRW"
SET outFilePath=%~dp0%1".pdf"
PowerShell -NoProfile -ExecutionPolicy Bypass -File "%~dp0export-file.ps1" %inputFilePath% %outFilePath%
SET outFilePath=%~dp0%1".dxf"
PowerShell -NoProfile -ExecutionPolicy Bypass -File "%~dp0export-file.ps1" %inputFilePath% %outFilePath%