- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I am using AutoCAD 2020, and trying to make a simple script to compare two drawings. For achive this, I don't need a gui, because I just need to get the result dwg.
compare.scr:
_compare
C:\compare\b.dwg
_compareexport
C:\compare\c.dwg
If I open the a.dwg and running this script in the main AutoCAD (GUI) software, it works fine. But if I am running this on the Windows command line like this:
AcCoreConsole.exe /i c:\c\a.dwg /s c:\c\compare.scr
nothing happens at the export. I see that it loads the a.dwg, then makes the compare to b.dwg, bnut the compareexport just returns immediately without asking for the filename (to export).
Full output:
(sorry it's hungarian, made a translation myself below)
Redirect stdout (file: C:\Users\Norbert\AppData\Local\Temp\accc220882).
AcCoreConsole: StdOutConsoleMode: processed-output: enabled,auto
AutoCAD Core Engine Console - Copyright 2019 Autodesk, Inc. All rights reserved. (Q.47.0.0)
Execution Path:
D:\Program Files\Autodesk\AutoCAD 2020\accoreconsole.exe
Version Number: Q.47.0.0 (UNICODE)
Loading AEC Base...
Helyettesítés: [simplex.shx] [flexiton.shx] helyett.
Helyettesítés: [simplex.shx] [Arial Narrow Közép-európai] helyett.
Xref "b": .\b.dwg
"b" nem hivatkozott és törölve lett a TISZTÍT parancs által.
Modell regenerálása.
**** Egy rendszerváltozó módosult ****
A figyelt rendszerváltozók közül 1 értéke módosult a kívánt értékről. Használja a RENDSZERVÁLTFIGYELŐ parancsot a módosítások megtekintéséhez.
Parancs:
Parancs:
Parancs:
Parancs: _compare
Adja meg az összehasonlítani kívánt rajz nevét <.>: C:\compare\b.dwg
Parancs: _compareexport
Parancs:
ÖSSZEHASONLÍTÁSEXPORT
Parancs: C:\compare\result.dwg
A(z) "DWG" ismeretlen parancs. Információért nyomja meg az F1 billentyűt.
Parancs: _.quit
**** Nincs módosult rendszerváltozó ****
Translation of the important things:
Command:
Command:
Command:
Command: _compare
Give the name of the comparable drawing <.>: C:\compare\b.dwg
Command: _compareexport
Command:
COMPAREEXPORT
Command: C:\compare\result.dwg
The command "DWG" is unknown, press F1 for help.
Command: _.quit
Do you have any idea how can I make it work?
Thank you!
Solved! Go to Solution.