Тёмный

AutoCAD Core Console for batch files 

Dan Abbott
Подписаться 6 тыс.
Просмотров 1,3 тыс.
50% 1

This is an update of the batch processing unit for the CAD Management class at Southern Maine Community College.
There is a function in AutoCAD known as the Core Console that runs AutoCAD without the graphical user interface. When it was first introduced, it was a great way to run this batch process, but then stopped working a few releases later, so I stopped using it. I went back to it this semester and was able to modify my batch files and script files in such a way that it now works as it should (and once did).
When I tested it using the Block Out project the difference was dramatic. Opening AutoCAD's GUI took 102 seconds to run through. Using the Core Console took 9 seconds to do the same thing. That is 11 times faster or a 92% reduction in time. I've never tried doing the whole process manually, but I opened one of the five drawings and created drawings from 10 of the blocks in that drawing, then closed it. That took 132 seconds. Since there were 101 blocks created by the program, my estimate would be that it would take 1320 seconds, or 22 minutes to do this manually. So using the Core console would do the job in 0.7% of the time it would take manually.

Опубликовано:

 

8 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@PaulGDowling
@PaulGDowling 11 месяцев назад
Thanks Dan for sharing your findings. Greatly appreciated. Just about to try it myself
@DanAbbott-SMCC
@DanAbbott-SMCC 11 месяцев назад
Best of luck!
@DanAbbott-SMCC
@DanAbbott-SMCC 11 месяцев назад
Did the core console work for you?
@PaulGDowling
@PaulGDowling 11 месяцев назад
Hi Dan. Regrettably I have not been able to get it to work with express tools burst lisp routine but I have some other cleansing activities I am planning to use it for that I am confident it will work with.
@DanAbbott-SMCC
@DanAbbott-SMCC 8 месяцев назад
For some reason, I had to rewrite the code when using the Core Console by putting an LISP code directly into the script file. You might try that with Burst if you are currently trying to load it from the script. That doesn't make any sense to me, since the Core Console should work just like the command line with the GUI. I had to do that, which makes it more cumbersome to trouble-shoot code.
@TheMalboro91
@TheMalboro91 8 месяцев назад
Thank you very much for this video!!!!
@DanAbbott-SMCC
@DanAbbott-SMCC 8 месяцев назад
You are very welcome.
@Colin_Holloway
@Colin_Holloway Год назад
Great video. Thank you for uploading.
@DanAbbott-SMCC
@DanAbbott-SMCC Год назад
Glad you enjoyed it.
@user-sw3oz9ix3g
@user-sw3oz9ix3g Год назад
I will look at adapting the program we wrote for PWD :)
@DanAbbott-SMCC
@DanAbbott-SMCC Год назад
It will be tricky with all those calls to different lisp programs, but I think it is doable.
@kabesang69
@kabesang69 5 месяцев назад
if i have a script that has all the command line steps to plot a dwg, how can i use core console to run the script and then save the pdf to a folder with the same dwg name then move to the next dwg in the folder and run the script again on multiple .dwg files
@DanAbbott-SMCC
@DanAbbott-SMCC 5 месяцев назад
A script can run AutoLISP code if written correctly. That is the most effective way to plot to a PDF from each layout (I assume that you would want the PDF to be plotted from a layout and not from the model space tab, but you can do either.) If you execute AutoCAD from a batch file using the FOR function in DOS, you can go through each drawing file sequentially, cycle through the layouts, save a PDF file of each (turn off the "open PDF" option so it doesn't hang up after plotting), close the Core Console when done, and move on to the next DWG file.
@danieladams-zarate959
@danieladams-zarate959 Год назад
Hi @DanAbbott-SMCC, I'm wanting to embed thousands of CAL, TIFF, GP4, etc files into various individual DWG drawings. It's easy enough using RASTER, but the challenge I have is that I have thousands of these drawings that I want to convert and embed in DWG format. I've written a script to do the task, however, while running it tends to crash the AutoCAD UI after a few hundred are processed. Is there a headless way of doing this using a similar software as AcCoreConsole.exe?
@DanAbbott-SMCC
@DanAbbott-SMCC Год назад
I need a little more information. Are you trying to embed the same files in each of the drawings? Can you send me the script with some sample files -- both the ones you are embedding and the drawings into which you are embedding them? dabbott@smccme.edu is my email. I've never crashed AutoCAD doing this, but using the Core Console should make crashes less likely. At any rate, I don't think I quite understand the process you are using, but I'd be happy to see if I can help once I see the script file.
Далее
MissingExtensionsHIddenFolders
3:24
Просмотров 287
ВОТ ЧТО МЫ КУПИЛИ НА ALIEXPRESS
11:28
7 Amazing CLI Tools You Need To Try
18:10
Просмотров 324 тыс.
Module12-Updating hundreds of drawings in a hurry
1:50:19
AutoCAD Quick Scripting with Spreadsheets
51:41
Просмотров 11 тыс.
AutoCad 2017 Tutorial | 13.10 Script Files
11:42
Просмотров 24 тыс.
Linux File System/Structure Explained!
15:59
Просмотров 4,1 млн
I've been using Redis wrong this whole time...
20:53
Просмотров 357 тыс.
ВОТ ЧТО МЫ КУПИЛИ НА ALIEXPRESS
11:28