Message 1 of 3
change scale after export layout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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)
)
(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
original file