The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Hurricane for AutoCAD
 General Discussion
 xref into paperspace
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ADKstorm
Starting Member

3 Posts

Posted - October 26 2005 :  1:49:52 PM  Show Profile  Visit ADKstorm's Homepage  Reply with Quote
If I have a block that needs to be xref'd into all the drawings, is there a command to force each drawing to paperspace?...in case a user saved the drawing while in modelspace.

Also, how do you place into the script to xref overlay a file with no path saved and inserted at 0,0?

ADK

Admin
Administrator



652 Posts

Posted - October 26 2005 :  5:13:27 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
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

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.34 seconds. Snitz Forums 2000