Message 4 of 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all!
When I initially open AutoCAD and insert a layout, the scale is much larger. Then I open a new file and I insert the same layout again: it inserts just fine. I use a lisp I wrote to do this. I have turned off all the other commands and left just the insert new layout from the template. Both the insert file and the new file have the same units and insert units. I'm not sure what's going on. Below are the lisp and the image. Note the first image (Drawing 1) is the incorrect scale and the second image (Drawing 2) is the correct scale. They are both in the same instance of AutoCAD.
;-------------------------------------------------------------------------------------------
;INSERT NEW 17 X 11 LAYOUT WITH BORDER
(DEFUN C:L17 ()
; (C:IU)
; (c:scalelist)
; (C:annoscale)
(C:TERRA) ;CREATES TERRA TEXT STYLES
(C:TDIM) ;CREATES DIMENSION TERRA STYLES
(C:DWGLAYERS) ;CREATES DRAWING LAYOUT LAYERS
(SETVAR "CMDECHO" 0)
(SETVAR "CLAYER" "DWG-BORDER")
(COMMAND
"-LAYOUT"
"T"
"X:/Automation/Lisp Routines/Border Templates/Border templates.DWG"
"11X17"
)
(SETVAR "CTAB" "11X17")
(command "regenall")
(c:ze) ;ZOOM EXTENTS
; (C:IUSF) ;CHANGES INSERT UNITES TO US SURVEY FEET
; (C:BDBLOCK) ;INSERTS STANDARD BLOCKS TO LAYOUT SPACE
(SETVAR "CMDECHO" 1)
(PROMPT "\n INSERTED 11X17 LAYOUT WITH BORDER \n")
(PRINC)
)
;END****************************************************************************************
Solved! Go to Solution.