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.
Solved by ВeekeeCZ. Go to Solution.
Seems to me like the site has a bad day again. It removed all your description and left just screenshots untouched.
Try again!
Anyway, don't think that the GENERAL AUTOCAD FORUM would be more suitable for your issue?
Fun website problems! will do. I used a lisp to insert the layout, but I think I have (hopefully) determined my lisp isn't the issue. I'll still post in the general forum.
Thank you!
Hi,
we can not check the size and the setting inside a picture..
(the white "paper" in the background says NOTHING, sorry )
But if the problem appears only in one file and not in another,
i guess your target file has a AEC DWG Setup with another unit setting and scaling option on.
Both DWG would answer all questions in seconds 😉
If you using just AutoCAD and not a toolset:
Open your target file, use -ExportToAutoCAD command to delete possible AEC DWG Settings,
open this new file and try it again.
But so many questions are unanswered without the files..
Sebastian
As noted by others, your files are set up with different scale units (dwg1 is inches, dwg2 and template files are in feet).
Does your LISP need to be updated to consider this kind of variation, or is this a 1-off mistake or unique setup you got there? or something else?
Explain.
I must have changed it by accident. and yes I need to change my lisp to add this variation. from I had typed "units" instead of "dwgunits" so I was just confused.
Can't find what you're looking for? Ask the community or share your knowledge.