I'm trying to set up a script for batch processing some files, including a layer translation. I used the advice from a JTB World Blog post to set this up.
Here is my line in the script:
(ACET-LAYTRANS "OBM topo Translate.dws" 5)
And here's what CAD says in response:
; error: no function definition: ACET-LAYTRANS
I've tried adding the path in the script, or adding it in my Support File Search Paths, but there is no difference.
Thanks.
Mark Green
Working on Civil 3D in Canada
Solved! Go to Solution.
Solved by hmsilva. Go to Solution.
Try
(if (not (member "laytrans.arx" (arx))) (arxload "laytrans"))
(ACET-LAYTRANS "OBM topo Translate.dws" 5)
HTH
Henrique
Hello Henrique
Your routine runs very well, nice work.
Patrick
http://www.multi-batch.com/
For your entire batch processing needs
Thanks, I've been using something similar for awhile and couldn't figure out why the nested block layers wouldn't convert. I had (+1 2 😎 instead of simply 5.
cheers
Hi, I'm trying to make a script like this but I have a basic question: where do I save the file_name.dws? Thank you