Various multi-drawing operations (importing drawing settings from XLS, running project wide utility, etc) seem to cause an extents zoom to happen and I'd like this to not happen. Below is some console outputs of what is showing up:
Command: Drawing Update from spreadsheet Checking files for any marked in-use/read-only . . . Command:
[ AutoCAD - Mon Feb 24 21:12:10 2020 ]---------------------------------------- Loading Modeler DLLs. Opening an AutoCAD 2013 format file. Substituting [ROMANS__.TTF] for [C:\r13\com\fonts\romans.shx]. Substituting [SANSS___.TTF] for [C:\r13\com\fonts\sas_____.pfb]. Substituting [isocp___.ttf] for [isocp.shx]. AutoCAD menu utilities loaded. AutoCAD Electrical menu utilities loaded. Command: Autodesk DWG. This file is a TrustedDWG last saved by an Autodesk application or Autodesk licensed application. Command: Command: Command: Command: (COMMAND "_.SCRIPT" "C:/Users/[REDACTED]/AppData/Local/Temp/ace44.scr") _.SCRIPT Enter script file name <C:\USERS\[REDACTED]\DESKTOP\[REDACTED]\BACKPLATE.scr>: C:/Users/[REDACTED]/AppData/Local/Temp/ace44.scr Command: nil Command: _.ZOOM Specify corner of window, enter a scale factor (nX or nXP), or [All/Center/Dynamic/Extents/Previous/Scale/Window/Object] <real time>: _EXTENTS Command: wd_scr_msg "========== Drawing 1 of 2 ==========" Command: Command: wd_cfg_lst_upd_dwg nil Command: Command: wd_scr_qsave3 _.QSAVE Command: Command:
Opening up one of the called script files (ace44.scr) shows this
_.ZOOM _EXTENTS wd_scr_msg "========== Drawing 1 of 2 ==========" wd_cfg_lst_upd_dwg wd_scr_qsave3
These scripts seem to be auto-generated by AutoCAD Electrical as part of the multi-drawing update and there is one for each drawing that is processed. How do I get the "_.ZOOM _EXTENTS" line to not be a part of them?
In the WD.ENV file add * infront of WD (see attached). This normally disables the Zoom extent during file opening. Restart ACADE to reload the WD.ENV
Yes, it will disable the zoom command because Extent is part of Zoom command and _E is short form of Extents. And it works when you add *. If you check his screenshot, ACADE loads zoom command and applies _extents, see attached.
When I want to apply Zoom Extents manually, in practice, I just type Zoom and type E (or EXTENTS) and hit enter. This will do Zoom extents.
That is correct. I disabled the WD_OPEN_DWG (it was enabled on our setup) hoping it would fix the scripts as well but sadly it does not. That's very unfortunate being hardcoded that way.
Can't find what you're looking for? Ask the community or share your knowledge.