Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/20/2020 in all areas

  1. As Tharwat pointed out you have to quote "HIDDEN".
    2 points
  2. I am not sure about your variables p1 & p5 but as I described earlier the linetype name must be string like this. '(6 . "HIDDEN")
    1 point
  3. Rather than scripting use aeccoreconsole instead of ACAD.exe it is designed to run with out user interaction and does not open dwg, there is examples using the same batch file method as you have. https://through-the-interface.typepad.com/through_the_interface/2012/02/the-autocad-2013-core-console.html https://houseofbim.com/2016/10/05/son-of-a-batch-autocad-core-console-through-lisp/ bat file echo off :: Path to AutoCAD core console set accoreexe="C:\Program Files\Autodesk\AutoCAD 2014\accoreconsole.exe" :: Path to the script to run set script="C:\Users\[USERNAME]\Desktop\IPAD\TESTER\tester2.scr" %accoreexe% /i C:\Users\[USERNAME]\Desktop\IPAD\TESTER\TEST1.dwg /s %script% %accoreexe% /i C:\Users\[USERNAME]\Desktop\IPAD\TESTER\TEST2.dwg /s %script% %accoreexe% /i C:\Users\[USERNAME]\Desktop\IPAD\TESTER\TEST3.dwg /s %script% %accoreexe% /i C:\Users\[USERNAME]\Desktop\IPAD\TESTER\TEST4.dwg /s %script% %accoreexe% /i C:\Users\[USERNAME]\Desktop\IPAD\TESTER\TEST5.dwg /s %script% pause
    1 point
  4. You might want to look at script processing this - I think Lee Mac has one that could save you a lot of time (http://www.lee-mac.com/scriptwriter.html I think), always worth checking there first
    1 point
×
×
  • Create New...