Updated ImportObjBatch-DP
This commit is contained in:
1722
ImportObjBatch-DP/ImportObjBatch-DP.dyn
Normal file
1722
ImportObjBatch-DP/ImportObjBatch-DP.dyn
Normal file
File diff suppressed because it is too large
Load Diff
29
ImportObjBatch-DP/obj-copy.bat
Normal file
29
ImportObjBatch-DP/obj-copy.bat
Normal file
@@ -0,0 +1,29 @@
|
||||
@echo off
|
||||
SETLOCAL EnableDelayedExpansion
|
||||
REM Obj import template copier
|
||||
REM Copies and renames the default rfa file to all obj files in the folder.
|
||||
REM Current revit file is for revit 2016 update it for later revit versions first
|
||||
REM Created by Peter Gyetvai: gyetpet@gmail.com
|
||||
|
||||
REM ---------
|
||||
REM VARIABLES
|
||||
REM ---------
|
||||
|
||||
SET FILEEXT=OBJ
|
||||
REM SET TEMPLATEFILENAME=obj-empty2016
|
||||
SET TEMPLATEFILENAME=obj-facebased-empty2016
|
||||
|
||||
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 -----------------
|
||||
BIN
ImportObjBatch-DP/obj-empty2016.rfa
Normal file
BIN
ImportObjBatch-DP/obj-empty2016.rfa
Normal file
Binary file not shown.
BIN
ImportObjBatch-DP/obj-facebased-empty2016.rfa
Normal file
BIN
ImportObjBatch-DP/obj-facebased-empty2016.rfa
Normal file
Binary file not shown.
Reference in New Issue
Block a user