Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AutoCAD Core Engine Console - AutoCAD Scripting - Informational

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
1446 Views, 2 Replies

AutoCAD Core Engine Console - AutoCAD Scripting - Informational

Hi all,

 

here is the First script with Autocad core engine console to convert the CAD file From *.dwg to *.dxf

its having two part

  1. AutoCAD script 
  2. windows batch file to execute the core engine console

both sample files are available in zip folder just change the path as per your AutoCAD Version and File Folder

also i am planning to put Script for plotting on next week 

 

Small Video Link : - https://youtu.be/HenmmFvykd0

hope everyone like this also do support my Youtube channel 

 

 

Thanks and Regards,

Hari Nair [Master From Lost Nalanda]

 

 

Facebook|Youtube|Gmail

Labels (1)
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Hi all,

 

here is the Second script with Autocad core engine console to Plot Cad to PDF (Model Format)

its having three part

  1. AutoCAD script 
  2. windows batch file to execute the core engine console
  3. Rename.vbs [ Visual basic script]

sample files are available in zip folder [Plot A1] just change the path as per your AutoCAD Version and File Folder

 

Small Video Link : - https://www.youtube.com/watch?v=vrLA6qhJ1mc&t=15s

hope everyone like this also do support my Youtube channel 

 

 

Thanks and Regards,

Hari Nair [Master From Lost Nalanda]

 

 

Facebook|Youtube|Gmail

Message 3 of 3
lIJOHNSON69QRH
in reply to: Anonymous

Thank for the input, it was helpful

I got it to work but, I not sure how to get to plot to a folder other than the source foler

------------------------------------------------------------------------------------------------

Here is what I have.

 

 

echo off
"C:\Program Files\AutoCAD 2000\acad.exe" /p "K:\AutoCad\Support_Client_Files\client\Profile\Client2018.arg
:: Path to AutoCAD core console
set accoreexe="C:\Program Files\Autodesk\AutoCAD 2018\accoreconsole.exe"

:: Path the directory to process
set "source=C:\CADDLib\AutoCAD\Projects\######"

:: Path to the script to run
set script="C:\CADDLib\AutoCAD\Projects\######\printsheet.scr"

FOR /f "delims=" %%f IN ('dir /b "%source%\*.dwg"') DO %accoreexe% /i "%source%\%%f" /s %script%

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


AutoCAD Beta