PDA

View Full Version : xclip problem when xref has raster - 2008



pmedina
2007-11-01, 02:37 PM
I have an xref which contains a raster image. When I clip that xref in AutoCAD 2008 (after it is referenced into another dwg), only part of the image gets clipped. When I do the same thing in AutoCAD 2006, it clips the image as I would expect it to.

I am using a closed polyline as the clipping boundary. Using AutoCAD 2008, no service packs installed. (Don't know if there are any service packs yet). I am set to save as AutoCAD 2004 dwg since my company has not yet switched to 2008.

Yes, I could insert the image directly & clip that. But I am just wondering why this is happening.

If I open the dwg in 2006, it looks properly clipped. Open the same dwg in 2008 and the clipping problem appears.

DBill2508
2007-11-01, 07:30 PM
Well I did a quick image insert and x-ref'd it into another file and did not see any problems with the clipping.

However, there is a Service Pack released for 2008, I am currently running SP2. Download and install SP this may help your problem.

jpaulsen
2007-11-02, 02:28 PM
AutoCAD is only up to SP1. Some of the verticals have an SP2. For example, LDT and C3D both have an SP2 that includes AutoCAD SP1.

I saw previous posts by Sinc that talked about an issue with xclipping text masks. Text masks are raster images. These issues are mostl ikely related. I am in the process of testing the service pack. I will post back here after I test it later today.

jpaulsen
2007-11-05, 03:27 PM
I just tested this with LDT SP2 (which included AutoCAD SP1). Xrefed images and wipeouts are being clipped by xclip as expected.

sinc
2007-11-05, 03:57 PM
I have Land Desktop SP2 installed, and the problem is still there. I have also spoken with Dana Judge at Autodesk, who confirms that it is still a known issue.

Note that it does NOT affect background masks, which are implemented using a Hatch. It only affects Raster Images. And since the generic Autocad Wipeout is implemented with a Raster Image, it affects those too.

The attached image illustrates the problem. The image on the left is in LDT 2007, the image on the right is in LDT 2008. The text is in an XREF. I placed an XCLIP boundary through the text, just to make the problem very clear. Notice how the Wipeout is not XCLIP'd in 2008, as indicated by the giant red arrows.

We are really hoping they fix this issue soon, as it has been preventing us from using LDT 2008. The problem also exists in C3D 2008, but there the problem doesn't impact us as severely, because of roundabout work processes we need to use to get around other issues in C3D.

sinc
2007-11-05, 04:10 PM
And actually, after further testing, I do NOT see the issue in new drawings created in 2008.

It only seems to affect drawings created in older versions.... Curious. :cry:

jpaulsen
2007-11-05, 04:13 PM
It seems to be working fine for me. Not sure what I'm doing different.

See the attached image. On the left is a drawing with a red solid hatch, a TIF (left), a JPG (right), an express text mask (around the word test, this is a wipeout) and a plain wipeout (lower center).

I xrefed that drawing into the drawing on the right. I drew a blue solid hatch and some white lines in a zigzag pattern. I sent the hatch to the back of the display order.

Then I clipped the xref and got what you see on the left side of the image. The wipeouts and images are being clipped.

jpaulsen
2007-11-05, 04:17 PM
You snuck in there with a second post while I was writing mine. I will test it on some drawings created in 2007.

jpaulsen
2007-11-05, 04:35 PM
I created a drawing from scratch in 2007 with images and wipeouts like the one on the left above. I xrefed it into 2008 and xclipped it. It works fine.

sinc
2007-11-07, 01:50 AM
Curiouser and curiouser.

I can no longer reproduce the issue, either. Everything is fine in all new drawings I create.

However, if I go back to drawings that were created before I installed 2008, they all exhibit the problem.

I am beginning to suspect Autodesk updated something in the Autodesk Sabotage... er, I mean the Autodesk Shared directory, so the problem can only be reproduced by creating a drawing on a machine that has only 2007 installed on it.

That's my guess, anyway. I don't currently have access to a machine with only 2007 on it, nor do I have a virtual machine, so it's problematic for me to try testing this theory.