AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Stop Zoom Extents when importing drawing settings

7 REPLIES 7
Reply
Message 1 of 8
bra2692
527 Views, 7 Replies

Stop Zoom Extents when importing drawing settings

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?

 

7 REPLIES 7
Message 2 of 8
rhesusminus
in reply to: bra2692

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. 😉
Message 3 of 8
Anonymous
in reply to: bra2692

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

Message 4 of 8
rhesusminus
in reply to: Anonymous

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. 😉
Message 5 of 8
Anonymous
in reply to: rhesusminus

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. 

Message 6 of 8
Anonymous
in reply to: Anonymous

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. 

Message 7 of 8
rhesusminus
in reply to: Anonymous

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. 😉
Message 8 of 8
bra2692
in reply to: rhesusminus

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.

Post to forums  

Autodesk Design & Make Report