The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 xref into paperspace

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

T O P I C    R E V I E W
ADKstorm Posted - October 26 2005 : 1:49:52 PM
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?
1   L A T E S T    R E P L I E S    (Newest First)
Admin Posted - October 26 2005 : 5:13:27 PM
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

The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.19 seconds. Snitz Forums 2000