Jump to content

Import XREF to different layers


Recommended Posts

Posted

I have a piece part model which can be connected to my assembly in one of two ways. I want to reference my piece part model using XREF twice but have them appear on 2 different layers. That way I can toggle one or the other off depending on my application. Can this be done? Can I create a dummey drawing which itself calls the model as an XREF and then XREF the dummy drawing in my assembly drawing?

 

Right now when I reference the part using XREF it appears on a fixed layer and I can not seem to move it. So when I copy the XREF it stays on the same layer and I can not toggle one of them off.

Posted

What layer do the xrefs come in on? Is it not the current layer? If not, then perhaps a lisp reactor is forcing the layer...

Is the layer locked?

Posted
I want to reference my piece part model using XREF twice but have them appear on 2 different layers. That way I can toggle one or the other off depending on my application. Can this be done?

 

Yes.

Create "Layer 1" and "Layer 2" in parent drawing.

Set "Layer 1" current.

Xref in the drawing.

Use the ._Copy command to make a copy of the block (xref).

Use ._Properties to move the copy to "Layer 2"

Posted

OK I imported the Xref into one layer I desired. I then copied the Xref to another layer. So now I have two objects which are both Xrefs and when I click on the properties of each they are on different layers. This is what I wanted. But when I toggle off visibility of one of the layers the images do not turn off.

 

When I referenced the drawings a new layer appears on my layers list. That layer name is "File Name of XREF" followed by "|" followed by "layer name from drawing I referenced in". When I toggle this layer off both images dissappear. Have I imported the XREF incorrectly?

Posted

When I referenced the drawings a new layer appears on my layers list. That layer name is "File Name of XREF" followed by "|" followed by "layer name from drawing I referenced in". When I toggle this layer off both images dissappear. Have I imported the XREF incorrectly?

 

The layer you are talking about is the layer of the objects *inside* the block (xref).

Don't use that layer to control visibility, use the layer in the parent drawing on which the block (xref) is inserted.

In my example, this would be "Layer 1" and "Layer 2"

Posted

OK I got it to work. I usually use the layer on/off to show visibility (the light bulb icon) and that does not seem to have an effect. But when I toggle the freeze icon (the sun) the visibility toggles.

 

Thanks for all your help.

Posted
...I usually use the layer on/off to show visibility (the light bulb icon) and that does not seem to have an effect. But when I toggle the freeze icon (the sun) the visibility toggles.

 

That is just one of those quirks of AutoCAD...

 

Turning a layer off has no effect on blocks that reside on that layer, while freezing a layer removes visibility of any blocks on that layer regardless of the on/off status of layers inside said block.

Posted

the object in the original drawing should be on Layer 0, then it can change Layers when xref'd in the new drawing.

Posted
the object in the original drawing should be on Layer 0, then it can change Layers when xref'd in the new drawing.

 

Although visibility control options are limited for items on layer 0 in a referenced drawing since there is no "0|0" layer

Posted

For more control over the layers within the XREF's, I insert one XREF and rename it. Then insert the second instance of the XREF. You can switch the XREFs by loading and unloading. By doing this, you will have 2 sets of layers.

  • 4 weeks later...
Posted

Is it possible to cause the navigator to insert xrefs on a specific layer that is already setup in the template?

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...