Stop Zoom Extents when importing drawing settings

bra2692
Contributor
Contributor

Stop Zoom Extents when importing drawing settings

bra2692
Contributor
Contributor

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?

 

0 Likes
Reply
583 Views
7 Replies
Replies (7)

rhesusminus
Mentor
Mentor
This is hardcoded into AcadE and cannot be changed unfortunately.

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
0 Likes

Anonymous
Not applicable

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

0 Likes

rhesusminus
Mentor
Mentor
This does not apply for this...
Notice it says "_E" in the WD.ENV and "_EXTENTS" in the script.

The zooming is also disabled by default.

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
0 Likes

Anonymous
Not applicable

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. 

0 Likes

Anonymous
Not applicable

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. 

0 Likes

rhesusminus
Mentor
Mentor
Did you try this with export/import drawing settings to/from spreadsheet? I did.
As I said, this setting does NOT apply in this case.

I know that you can type E or EXTENTS on the command line. What you see in the OP is what's in the script. And the script says _EXTENTS. If it was the WD_OPEN_DWG setting that applied, it would say _E on the command line, not _EXTENTS.

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉

bra2692
Contributor
Contributor

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.

0 Likes