change scale after export layout

change scale after export layout

mohamad-alimam
Explorer Explorer
704 Views
2 Replies
Message 1 of 3

change scale after export layout

mohamad-alimam
Explorer
Explorer
hello
I use this forum to export the all layout from one file to multiple dwg files each layout will open in different dwg file the problem is when it opens the scale be the same layout scale and i want to stay the same old dwg file scale.
 
(defun c:exportlayoutinoneclick (/ base lst old_dia)
(setq old_dia (getvar 'filedia))
(setvar 'filedia 0)
(setq lst (layoutlist))
(foreach l lst
(command "_.ctab" l "exportlayout" (strcat (getvar 'dwgprefix) l))
)
(setvar 'filedia old_dia)
(princ)
)
 
new file
 
after exportafter export 
original file 
original  fileoriginal file
0 Likes
705 Views
2 Replies
Replies (2)
Message 2 of 3

pbejse
Mentor
Mentor

@mohamad-alimam wrote:
hello
I use this forum to export the all layout from one file to multiple dwg files each layout will open in different dwg file the problem is when it opens the scale be the same layout scale and i want to stay the same old dwg file scale.

 

 

Question: Are you using annotative blocks, Annotations and dimensions?

 

 

0 Likes
Message 3 of 3

mohamad-alimam
Explorer
Explorer

actually I don't use  them, but if it will help me to make it right I can make change   

0 Likes