Jump to content

Recommended Posts

Posted

Hello,

 

I know the basics of xrefs. I saw something today and am trying to figure it out and am just looking for a hint on this particular action. I did XR command, then top left button drop down to choose dwg. Chose default scale and origin which was correct. Everything went well. Whoohoo! However, this other dude did some stuff and then was able to get the viewports that the xref had and everything. Mine, was just the model in MS. His was too but he did this stuff to and then in PS all the viewports and everything from the xref appeared. He ran off like the wind on somehting so I didnt have a chance to ask. If this sounds familiar to anyone let me know. I am spending the weekend to master xref stuff. Anyone that knows somewhere to learn outside the basics of xrefs would be greatly appreciated. I basically know how to get them in the drawing, turn off layers, isolate, etc. but basically ends there. It is quite frustrating not knowing all the stuff. Im learning bind which seems neat. But that whole thing about seeing the viewports someone set up in the xref is out of my league.

 

Help is appreciated,

 

Tnx

Posted

I think you need to go back and ask for a few more details, xref's can only show model space information.

they can be clipped,

You can get at blocks, linetypes, etc

but as far as I know there is no way (directly) to get at any information from paperspace via xref, (possibly some type of programming),

though you can import paper space layouts from external drawings using Design Center.

Posted

now that I think about it, i think he might have chose vp's and copied them to new drawing and then somehow referenced the copied vp's in the new drawing to the original ones so they would act as a xref in the new drawing. I will definitely find out and repost. Side note, layer off tool works very well in xrefs to get rid of all that junk. Many people (I) thought since it was an xref you would have to go to original to find the layer and go back to your drawing and turn off layer. Using off layer off tool you can just click the object. Just have to be careful cause it will turn all the objects on that layer off. Weird to me. An xref comes in whole kind of. Meaning you click anywhere and it all highlights. Amazing layers are still isolated within. Pretty neat to me but basic to most I guess.

Posted

Paper space cannot be XREFd.

 

Layouts can be imported from any drawing but there isn't a link back to the original file. Similar to copy/paste but you get more information.

Posted

Won't the imported layouts and viewports show whatever is in modelspace where they are pointed? If the xref is sitting at the same offset in both modelspaces, they will show the xref objects, right?

Posted
Won't the imported layouts and viewports show whatever is in modelspace where they are pointed?

 

The model space of the file that they are being imported to, yes. I believe that VPort layer overrides are also imported.

 

If the xref is sitting at the same offset in both modelspaces, they will show the xref objects, right?

 

Correct. The XREF has to be referenced with the same insertion point in both files.

Posted
The model space of the file that they are being imported to, yes. I believe that VPort layer overrides are also imported.
Yeah, that's what I meant. However, the view viewport overrides should reference the xref layers, I think. Maybe they do automagically. In most drawing sets, the xref layers are duplicates of the layers in the referencing drawing anyway, but they get the xref- prefix stuck on them, so they don't combine with the layers in the referencing drawing. I don't do this much, xref complete drawings, nor viewport overrides. I will have to investgate the viewport override thing a little.

 

 

 

Correct. The XREF has to be referenced with the same insertion point in both files.
Okeydoke then, That's what the dude that ran off like the wind did.

 

That's what I was trying to explain. It wasn't really a question, but that's cool. I left out the exact details hoping the OP would realize on their own what the answer was. It's pretty straightforward.

Posted

Please forgive my retardness. He copied the viewports that had a break line on bottom of top viewport and another break line on top of bottom viewport from an existing dwg to a new one. He then xr-attached the model from the existing to the new one. The purpose of all this was to ensure that both viewports were sized and lined up correctly to display the xref appropriately. Sorry for the confusion. While I am here. When you xref something into MS do you always have to go to xref manager and reload it to see it in a viewport even though you can see it in MS?

Posted
When you xref something into MS do you always have to go to xref manager and reload it to see it in a viewport even though you can see it in MS?

 

No. If you can see it in MS then you can see it in a viewport. If you don't see it in your viewport, you might have to Regen, but you don't have to Reload.

Posted

how do u regen. Alls I usually do is go to xr and right click a file and choose reload. Whats the difference

Posted
how do u regen.

 

How do you Regen? You type REGEN and hit Enter. Or, you can just type RE and hit Enter.

 

From the Autocad Help Files:

 

The REGEN command:

Regenerates the entire drawing from within the current viewport.

 

REGEN regenerates the entire drawing with the following effects:

 

Recomputes the locations and visibility for all objects in the current viewport

Reindexes the drawing database for optimum display and object selection performance

Resets the overall area available for realtime panning and zooming in the current viewport

 

There is also the REGENALL command:

Regenerates the entire drawing and refreshes all viewports.

 

REGENALL regenerates the entire drawing for all objects in all viewports with the following effects:

 

Recomputes the locations and visibility for all objects

Reindexes the drawing database for optimum display and object selection performance

Resets the overall area available for realtime panning and zooming in all viewports

 

The only time you need to Reload an xref if you open it and make changes while the host drawing is open.

  • 2 weeks later...
Posted

[quote name=bjenk8100;645666 I am spending the weekend to master xref stuff. Anyone that knows somewhere to learn outside the basics of xrefs would be greatly appreciated. I basically know how to get them in the drawing' date=' turn off layers, isolate, etc. but basically ends there. It is quite frustrating not knowing all the stuff. Im learning bind which seems neat. But that whole thing about seeing the viewports someone set up in the xref is out of my league.

 

Help is appreciated,

 

Tnx[/quote]

 

As you mentioned, you want to learn as much as you can, I will point out that you please explore both options of 'bind'.

Bind> bind , when you use this it binds the drawing as individual objects but the layers and blocks etc will have some junk characters in their name and will increase the file size. This is not preferable.

If you use bind> insert. It will bind the drawing as block which you can explode if required. But the main benefit is it will merge the layers of same name as host drawings and will not increase the file size as much. This is preferable.

Posted
bind , when you use this it binds the drawing as individual objects but the layers and blocks etc will have some junk characters in their name and will increase the file size.

 

Actually BIND inserts the XREF as a block, same as INSERT.

 

If you use bind> insert. It will bind the drawing as block which you can explode if required. But the main benefit is it will merge the layers of same name as host drawings and will not increase the file size as much. This is preferable.

 

Preference is based on need. If the layers in the base drawing have different settings, INSERT may not be preferable as the layer properties in the XREF will take on the properties of the ones in the base drawing.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...