Join Shaun Bryant for an in-depth discussion in this video Using PDFSHXTEXT in AutoCAD, part of AutoCAD: Tips & Tricks.
- [Instructor] So again here we are in another AutoCAD Tip and Trick from Lynda.com. As usual we have a new drawing open for you. This time it's a nice blank drawing and what we're going to look at is one of the new features available to you in the AutoCAD 2017.1 update that is available on subscription. It's another really nice little tool, I feel should be a tip and trick to allow you to be more productive.
Now, how often have you had to bring in a PDF that somebody has sent you as an underlay inside one of your AutoCAD drawings? It often happens. And what happens as well is the text on that PDF is an old SHX font instead of a Windows TrueType font. What this particular command allows you to do in AutoCAD is convert those SHX fonts from the PDF to multi-line text in your AutoCAD drawings.
Now, this drawing is completely blank. If I go to the layers we have one layer. The default layer is zero which is fine. What I'm going to do now is I'm going to import a PDF. So, I'm going to go up to the application menu here. Like so. Going to go to import. Like so. And there's PDF there. When I click there like that, it asks me to go to a file and there's my MechDWG001.pdf file. Now as you can see it's a very simple mechanical drawing with some dimensions and as you can see there www.lynda.com.
So, I'm going to open that up and bring that in, like so. Now, all of the settings here you can leave as they are. No problem at all. Click on OK and that brings it in. Now, I want you to zoom in now on these dimensions at the top. Now, if you look at these dimensions at the top, while you've brought that PDF in there are single polylines there not text which kind of defeats the object. You want that to be text. So this is where the PDF SHX text command kicks in. So, you type PDF SHX TEXT, make sure you've the the E in there.
And as you can see on the suggestions menu there's the command. Press enter. Tells you to select objects or you'll notice you can go to settings. Let's just quickly right-click there and see what the settings are. Now, the settings are basically recognition. So, it's picking up the SHX fonts to compare. So you've got simplex, txt, isocp as well. And there's the font preview at the bottom. And you can create the text on the current layer. The same layer as the geometry. You've also got a recognition threshold, as well, that you can set on the conversion settings.
So, all of that can be put in all of those settings and you can type the text here. So if I type something like AuotCAD that gives me a preview of what it would like on the text recognition settings, like so. And I can add other bits of text as well, like so. So there's romans, for example. So I might want to recognize that. So I click on OK. Now, select the objects. So I click. And I just put a little crossings selection around my polylines. They are masquerading as texts and I press enter, like so.
Now, it says 1 of 1 groups of selected geometry was converted to Text. I can switch this message off, you'll notice, by ticking it if I want to. And then I click on close. That is now multi-line text. So, if I double-click on it. I can edit that and the text that it comes up on the ribbon I can change my settings. I can change it to bold if I want to. So if I make that bold. And you'll notice, I can't go bold can I? Because at the moment it's using an SHX type font.
So, if I go here. I can change that to something I want like a TrueType font. If I come down there's all my TrueTypes there. So as I come down I might go for something like, let's say Tahoma. Change that to Tahoma. Close the text editor. That is now Tahoma multi-line text. How lovely is that? So that's your PDF SHX text command. Again, it's one of the new features available to you in the AutoCAD 2017.1 update and you can also check out this feature in my update to the AutoCAD 2017 Essentials Course also available on lynda.com.
Skill Level Intermediate
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.