Added some new scripts

This commit is contained in:
2019-07-06 18:22:47 +02:00
parent d0ada576bb
commit a6b0536e48
23 changed files with 14360 additions and 770 deletions

View File

@@ -0,0 +1,28 @@
@echo off
SETLOCAL EnableDelayedExpansion
REM Dwg import template copier
REM Copies and renames the default rfa file to all dwg files in the folder.
REM Current revit file is for revit 2019
REM Created by Peter Gyetvai: gyetpet@gmail.com
REM ---------
REM VARIABLES
REM ---------
SET FILEEXT=dwg
SET TEMPLATEFILENAME=Detail_empty
REM -----------------------
REM Beginning of the script
REM -----------------------
for /R "%~dp0" %%f in (*.%FILEEXT%) do (
echo processing: %%f
copy "%~dp0\%TEMPLATEFILENAME%.rfa" "%~dp0%%~nf.rfa"
echo "%~dp0%%~nf.rfa">> "%~dp0filelist.txt"
)
REM -----------------
REM End of the script
REM -----------------