Message 1 of 15
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This is my bat file
call "%acadDir%\accoreconsole.exe" /ld "%acadDir%\AecBase.dbx" /p "<<C3D_Metric>>" /product C3D /s "%acadScriptDir%\SetFileDia.scr"
As you note, I am using accoreconsole, and I don't pass in an ACAD drawing in the command line argument, and this is my .scr file content
(setvar "filedia" 1)I just set FileDia to 1. Because accoreconsole will always set FileDIa=0 at the beginning of the run, so I need to set it back.
However, the above script doesn't work. FileDia is still 0 when I check in ACAD.exe ( the UI).
Maybe it will work if I pass in a drawing( even a dummy one will do?), but this is definitely not expected because I don't usually have a drawing to begin with when using accoreconsole.
##########
Ngu Soon Hui
##########
I'm the Benevolent Dictator for Life for MiTS Software. Read more here
I also setup Civil WHIZ in order to share what I learnt about Civil 3D
Ngu Soon Hui
##########
I'm the Benevolent Dictator for Life for MiTS Software. Read more here
I also setup Civil WHIZ in order to share what I learnt about Civil 3D
Solved! Go to Solution.