I searched the forum, but couldn't find the answer to this question. I am trying to paste a graphic from another piece of software (Mathcad, although I don't think that matters). When I paste it into AI it is corrupted. If I paste it into Word using "Paste Special", "Picture (Enhanced Metafile)" I see exactly the same problem. However, if I paste into Word using "Paste Special", "Picture", it's fine. Similarly, if I paste into CorelDraw as an enhanced metafile it's corrupted, but if I paste as a metafile it's fine. So is there some way tp paste into AI as a metafile?
Thanks for replying.
It looks like I don't have any perfect solution though. I have now realized that when I paste into Word or Coreldraw as a metafile it causes other problems with the graphics. They are not as obvious as the ones I get when I paste as an enhanced metafile So I didn't immediately notice them), but they are in fact an even bigger problem. I can manually fix the problems in one case, but not in the other.
How about exporting it from MathCad as a metafile or as a PDF and placing either format? I do this from various applications and it normally works fine.
fwiw, I can copy/paste into AI and if it is text, it is pasted as text. If it is a vector format, that's what comes in. But there isn't, as far as I know, a way to choose what format to paste in AI.
Take care, Mike
How about exporting it from MathCad as a metafile or as a PDF and placing either format?
I can print to a pdf. I tried this using CutePDF, and although the graphics look fine in Adobe Reader when I import to AI it has problems with the fonts (which is just stock Tahoma, so I can't imagine why). I'll try some other print options, and see if I can make it work this way though.
rijackson741 wrote:
How about exporting it from MathCad as a metafile or as a PDF and placing either format?
I can print to a pdf. I tried this using CutePDF, and although the graphics look fine in Adobe Reader when I import to AI it has problems with the fonts (which is just stock Tahoma, so I can't imagine why). I'll try some other print options, and see if I can make it work this way though.
I don't know if this will help, but, to get around font issues in a PDF:
Open a blank document in Illustrator
Go to File > Place
Select the PDF file and make sure the LINK box is checked (in the bottom left corner of the Place Dialog Box)
Click PLACE (bottom right corner) to place the file.
Go to Object > Flatten Transparency
Make sure the CONVERT ALL TEXT TO OUTLINES box is checked.
Click OK
The result may be one big clipping mask. If so, go to Object > Clipping Mask > Release
To get at the individual objects.
Is it possible to get one of the PDFs? You would likely need to upload it and provide a link.
Sure. Kind of annoying that you can't upload files here, so I posted this to the Mathcad forums
communities.ptc.com/servlet/JiveServlet/download/175138-34581/PDF_test .pdf
Apart from the font problems, I notice that when I import the pdf above the graph comes in as a couple of thousand small lines, rather than one curve. That makes subsequent editing all but impossible.
Sigh ![]()
There are clipboard viewer that can save out as metafiles. Don't know if that would work for you or not as i have never used one.
That's a good idea, but I don't think it will help.If I look at the graphic using the clipboard viewer, I see the problems there. So it looks like the problem is what Mathcad sends to the clipboard.
I think my best bet for now is just to paste the graphic, and fix the errors by hand. Thanks for the help though.
What version of AI are you using? If CS5 or CS5.1, then just use Select>Same Stroke Color and Cmd(Ctrl)-J to Join the small pieces into a single line. Then use Object>Path>Simplify with a 98% curve accuracy to reduce the number of anchor points in the line. When I did this it reduced the 2 lines from +1900 points to 112. As for the font, just reset in a font you have on your system.
If CS5 or CS5.1, then just use Select>Same Stroke Color and Cmd(Ctrl)-J to Join the small pieces into a single line. Then use Object>Path>Simplify with a 98% curve accuracy to reduce the number of anchor points in the line. When I did this it reduced the 2 lines from +1900 points to 112.
Excellent tips
CorelDraw (at least, the older version I was using) had nothing like these options. I am going to use these a lot!
I did notice that when I use OldBob's method to bring the pdf into AI the selection by stroke color doesn't work. The small pieces of line are brought in as small elliptical (sort of elliptical, anyway) paths. For some reason if I select one of them and then select the same stroke color it selects everything in the graphic.
As for the font, just reset in a font you have on your system.
I don't get any options to substitute a font when the file is loaded. If I select the text and then change the font I get garbage characters. At a guess, I would say it's not handling the Unicode characters correctly.
Having to use the clipboard is kinda low-tech to get your images out of MathCad ... Are you sure it doesn't have an Export Image option anywhere?
Quite sure. The primary function of the software is mathematics though, not graphics and image creation, so that's not surprising. The only two possibilites are the clipboard, or to print to a file format from which the graphics can be extracted.
Are you on a PC? In that case you could use these plugins: http://www.ika.ethz.ch/plugins/index.html
One of them is a Path-Join-Function that joins paths based on their appearances. So no need to select them first.
North America
Europe, Middle East and Africa
Asia Pacific