terri87
Guest
buongiorno a tutti,
esiste qualche lisp che mi permetta di creare in batch una serie di etransmit in automatico senza aprire ogni singolo file dwg.
tenete conto che stiamo parlando di più di 100 dwg, quindi avrei un risparmio di tempo non indifferente.
mi hanno passato uno script ma non riesco a capire cosa non va, di seguito il contenuto
echo off
:: etrasmit_multiple.bat
:: to use, place this file along with etraasmit_multiple.scr in a folder with the autocad drawings to be checked.
:: open autocad 2015 or later and access a license. then close the current drawing, but leave the window open.
:: afterwards execute this file by double-clicking it (close this windows first).
:: impostazioni di etrasmit
:: type:: *.zip
:: file format:: keep existing drawing file formats
:: trasmittal file folder:: "persorso destinazione file zip"
:: trasmittal file name:: overwrite if necessary
:: command lines
:: deletes previous versione of etrasmit_multiple.txt and create a new one.
del "etrasmit_multiple.txt"
type nul>etrasmit_multiple.txt
::finds autocad
set path=c:\program files\autodesk\autocad 2018\acad.exe
:s_d
echo.
echo sdsd
echo.
echo s_d
echo.
pause
goto:ultimissimo
:: runs autocad, then opens each drawing in turn and executes cowi_check script from within it.
:end
for %%f in (*.dwg) do start /wait %path% "%%f" /b etrasmit_multiple.scr
:ultimissimo
:: deletes all .bak files (automatically generated by autocad when drawing is opened) in the directory.
for %%f in (*.bak) do del %%f
::rinomina tutti gli zip
[MENTION=6530]echo[/MENTION] off
setlocal enabledelayedexpansion
for %%f in (* - standard.zip) do (
set "name=%%f
ren "!name!" "!name: - standard=!"
)
esiste qualche lisp che mi permetta di creare in batch una serie di etransmit in automatico senza aprire ogni singolo file dwg.
tenete conto che stiamo parlando di più di 100 dwg, quindi avrei un risparmio di tempo non indifferente.
mi hanno passato uno script ma non riesco a capire cosa non va, di seguito il contenuto
echo off
:: etrasmit_multiple.bat
:: to use, place this file along with etraasmit_multiple.scr in a folder with the autocad drawings to be checked.
:: open autocad 2015 or later and access a license. then close the current drawing, but leave the window open.
:: afterwards execute this file by double-clicking it (close this windows first).
:: impostazioni di etrasmit
:: type:: *.zip
:: file format:: keep existing drawing file formats
:: trasmittal file folder:: "persorso destinazione file zip"
:: trasmittal file name:: overwrite if necessary
:: command lines
:: deletes previous versione of etrasmit_multiple.txt and create a new one.
del "etrasmit_multiple.txt"
type nul>etrasmit_multiple.txt
::finds autocad
set path=c:\program files\autodesk\autocad 2018\acad.exe
:s_d
echo.
echo sdsd
echo.
echo s_d
echo.
pause
goto:ultimissimo
:: runs autocad, then opens each drawing in turn and executes cowi_check script from within it.
:end
for %%f in (*.dwg) do start /wait %path% "%%f" /b etrasmit_multiple.scr
:ultimissimo
:: deletes all .bak files (automatically generated by autocad when drawing is opened) in the directory.
for %%f in (*.bak) do del %%f
::rinomina tutti gli zip
[MENTION=6530]echo[/MENTION] off
setlocal enabledelayedexpansion
for %%f in (* - standard.zip) do (
set "name=%%f
ren "!name!" "!name: - standard=!"
)