Hi ADKstorm,
Check this out...
http://www.74mph.com/forum/topic.asp?TOPIC_ID=200&SearchTerms=paperspace
Command: layout
Enter layout option [Copy/Delete/New/Template/Rename/SAveas/Set/?] <set>:
So, first you would set your Layout with the LAYOUT command...
;begin
LAYOUT
SET
[layout name]
;end
Then XREF... using the "-XREF" command (the "-" tells AutoCAD to bring up the COMMAND LINE version of the command)
in which case you have a few options
Command: -xref
Enter an option [?/Bind/Detach/Path/Unload/Reload/Overlay/Attach] <Attach>:
;begin
-XREF
Overlay
[the path to the file] <you can use TAGS here
etc
etc {whatever else you need to do}
;end
you can put them all together into one script... something like this...
;begin
LAYOUT
SET
{layout name}
-XREF
Overlay
[the path to the file] <you can use TAGS here
0,0
1
0
{whatever else you need to do}
;end
You can work out your steps by just "typing" everything at the command prompt, and answering the prompts... the script is exactly the same thing as your responses... (also, if a file selector appears, then just set FILEDIA to 0 temporarily), you WON'T need to have FILEDIA 0 in your script, as AutoCAD is smart enough to automatically turn the fileselector off when it sees a script running.
I hope this helps you out!
Regards,
Bill