Hi
I have drawing with 100 layouts and a want aplay EXPORTLAYOUT to all layouts
EXPORTLAYOUT command asks first for drawing name and than for "Open exported drawing?".
could someone give me a hint how to solve this
Solved! Go to Solution.
Solved by Keith.Brown. Go to Solution.
Hi,
There is no direct API to EXPORTLAYOUT. One workaround is to use script. When you use EXPORTLAYOUT command through scripts, AutoCAD does not show the mentioned prompt.
<SCR FILE>
EXPORTLAYOUT
C:\TEMP\LAYOUT1.DWG
<SCR FILE>
Below is a link for code created by Tony Tanzillo over at TheSwamp. There are two different commands available. One uses the command line and the other does not.
http://www.theswamp.org/index.php?topic=44472.msg497326#msg497326