XOPEN Makes QuickWork of External References

Do you know XOPEN?

Many of you may be aware that you can now highlight or select your external references within the Xref Manager dialog box and click the “Open” button to open it in a new document window. Right?

But an even easier and more direct method is the one that helps when you don’t even know what the Xref’s name is! Ready? Type “XOPEN” at the command line and simply select a part of the xref from the screen. Magically, AutoCAD will find the file that you selected and open it in a new document window.

An alternative method is to select your External reference on the screen, right click, and choose “Open Xref” from the context menu.

Now how easy is that?

Slow sluggish Styles require Fast Font Fixes

Got Slow and Sluggish Styles or Files?

Often the problem with files that are slow to load, regen, pan, and zoom are related to bad, missing, or substituted fonts in TextStyle definitions. Think back to when you first opened the file inside of AutoCAD. Did the file hesitate initially? Did you see the following dialog box pop-up asking for a missing font file to be found?

Perhaps you never saw the dreaded “Specify Font for Style @@@@@” dialog box, you might still be the victim of the missing or corrupt text style disaster. You might have sluggish drawings that do not respond like they should. You might open a drawing and start working only to find text entries that disappear at random or fail to print. Does the following image look familiar?

Notice the leader lines with no annotation. Surely this drawing should be showing much more annotation and notes than it does! This condition is known as “Fontaltitis”. You are the victim of a randomly replaced font. If any of the preceding symptoms have occurred or if you have the variable “fontalt” set to automatically swap out a missing font, you might experience the same behavior without ever seeing the missing font box. Have no fear! When we are done, you will know exactly what to do. You will learn the tricks of the Font Masters, so that you can trouble shoot, diagnose, and fix even the most stubborn of sluggish files.

What do I need to do?

The best answer is to immediately get on the phone with whoever sent you the original file. Ask them to kindly perform an “Etransmit” from within the affected file. Be sure to remind them to “include” the fonts in their options. When you receive the newly created collection, be sure to save the included font files (*.ttf, *.shx) to the correct folder. If you are not sure where the files should be saved, try typing the following at the command line and hitting the “Enter” key. It will tell you where to put the files.

(findfile “romans.shx”)

If you were able to retrieve the correct font files, then all is well! When you are finished copying the files to the correct location simply close and reopen the offending file. You should see a noticeable speed improvement. If you were unable to locate the fonts or perhaps never saw the warning box, have no fear! Read on for an answer to the problem.

That didn’t Work! Now What?

  1. If you made it this far, chances are you saw the “Specify Font for Style @@@@@” dialog box. Maybe you clicked “cancel” or even possibly picked a font style from the provided selection area. I hate to tell you this, but you wasted your time. The only way to fix this problem is to make the font file available to the Text Style. You can do this by getting a copy of the font file and placing it in AutoCAD’s search path, or by changing the definition of the Text Style so that it uses a font file available to the computer.
  2. Launch the “Style” command using your preferred method of interacting with AutoCAD:
  1. From the command line, type the command “Style” and hit your “Enter” key or use the “Rule of Thumb”.

  2. Choose the “Text Style” command from the “Format Pulldown.

  3. Choose the “Text Style” command from the Text Toolbar. It’s the button with the letter “A” and the paint brush.

  • So far so good, you should see the “Text Style” dialog box displayed if you’ve followed along successfully! Do you remember the font name the “Select…” dialog box was asking for? If not, don’t be alarmed, but it would be much easier if we knew what to look for. Without that knowledge we will have to just proceed to investigate. Remember the error message? Here it is again in a smaller format with some critical areas highlighted for your enjoyment.

    Of particular note are the “Style” name shown in the Window Caption (Standard in this example) and the actual font file name as shown at the bottom in the sentence fragment: “Font not found: arfor”. If you didn’t pay attention when this dialog box first appeared, then stay tuned because I’ll show you the Font Master tip.

  • Okay, still here I see, that means that for some reason we don’t know or didn’t pay attention to the missing fonts when AutoCAD first told us about it, or didn’t if you’re suffering from “fontaltitis”. The following graphic shows you the trick to identifying a missing or problem font file when viewing the fonts and text styles from the “Text Style” box.

    Did you notice the indicator? Look at the differences shown in the following graphic as I click on the “Font Name” selection box. Did you get the difference? That’s right. All of our suspect or problem text styles will display the “Name” only. Notice the difference between the “Zero Threes” font file and the rest of the font files available as shown. All of the qualified font names have a little graphic indicator as shown to the immediate left of the font name in Figure 8. The other tip? Did you notice that the fonts that were missing from your search path also did not display any “preview” in the lower right corner of the dialog box. Now you are the Tip Master!

  • So now your task is to use the ‘”Style Name” selector shown at the top left of the “Text Style” dialog box. One by One we will select a “Text Style” from the list shown in the “Style name” frame. After each style is chosen, look in the “Font Name” selection list. Is there a little graphic shown to the left of the font name? If so, then skip this one and move to the next one. If the icon is missing, then you found one for repair, click the list pull down shown in the “Font Name” frame and find a font with a graphic/icon displayed to the left of its name. You can chose to “Apply” your changes as you go by selecting the “Apply” button or choose to live on the edge and wait until all changes have been made. Don’t forget if you chose excitement rather than prudence to be sure to click the “Apply” button prior to saving and closing the “Text Style” dialog box.
  • I hope this helps.

    Note: You can click on any of the images shown in this entry to see a larger version.

    Fascinating Forensic Foray – Dissecting the Witty Worm

    The Witty Worm was particularly devastating to Autodesk User Group International (AUGI)’s website and their previous webhost (CI Host), it has even darker implications for the future. Although AUGI has recovered and reinvented their site as I reported in my LugNuggets article in May of 2004, others were not so fortunate. Read more about the nastiest, most effective computer attack ever in Scott Berinato’s Security article: Why Wasn’t the Witty Worm Widely Worrisome? available at CIO.com.

    For a forensic analysis of the attack complete with animations and some of those same type of geeky graphs we laughed about at Autodesk University, see the outstanding dissection of the Witty Worm: The Spread of the Witty Worm. This article written by Colleen Shannon and David Moore of the Cooperative Association for Internet Data Analysis (CAIDA) explores the spread of the Witty Internet Worm in March 2004 .

    AUGI Board of Directors Meeting

    The Autodesk User Group International (AUGI) is holding one of their planning meetings today, tomorrow, and Saturday. We will be meeting with a number of Autodesk friends and previewing some new technology as we develop our plan of activities for the coming year.

    We are planning some exciting initiatives in the Local User Group and International arenas as well as some planned improvements to the website. If you’ve got any burning questions, or suggestions please shoot me an email by clicking the link below.

    Stay tuned to this page for an update. (I’ll share what I can with you.)

    vlax-product-key list submitted

    I received the following list of product language pairs today from an anonymous reader in the blogosphere. I am posting them here for others who need to identify the current product by reading the registry or using (vlax-product-key):

    Autocad 2004 English: 201:409

    ADT 2004 English: 204:409

    MDT 2004 English: 203:409

    Mechanical 2004 English: 205:409

    Building Systems 2004 English: 206:409

    Map 2004 English: ACAD-202:409

    LDDT 2004 English: 208:409

    Civil Design 2004 English: 208:409

    Survey 2004 English: 208:409

    You can change the product key from a 200 level to a 300 level for most products when identifying AutoCAD 2005 products so this results in the following list:

    Autocad 2005 English: 301:409

    ADT 2005 English: 304:409

    MDT 2005 English: 303:409

    Mechanical 2005 English: 305:409

    Building Systems 2005 English: 306:409

    Map 2005 English: ACAD-302:409

    LDDT 2005 English: 308:409

    Civil Design 2005 English: 308:409

    Survey 2005 English: 308:409

    That ought to give you something to start with.

    Florida DotNet Developers CodeCamp

    It’ll be geek overload when 150+ developers descend on Nova University in Ft. Lauderdale, Florida for some FREE Microsoft training in Dot Net. According to the website, “South Florida Code Camp 2005 is going to be one heckuva event”.

    The day will begin with a KeyNote address at 8:00 am. Four tracks, with six sessions throughout the day will result in a full day of Free training for those working in DotNet.

    Tentative Agenda:

    Click the title of this article for more information. Go here for registration.

    Do you support XP? Want Free Training?

    For a limited time, you can get free certification prep training for the Microsoft Certified Desktop Support Technician (MCDST) track. Not interested in certification? Take the free training anyway. Its free after all. Check out what is covered:

    • Clinic 2263, Exam Preparation for the MCDST Certification, is an online, self-paced course covering hardware, configuration, troubleshooting topics you might encounter while supporting Windows XP users.

    Learn more about the clinic here.

    Interested in certification? Look here.

    Quick Viewport Navigation Tip

    Working in Paperspace got you down?

    Can’t seem to select the correct viewport to work on? Got overlapping Viewports and keep activating the wrong one?

    • To cycle through all the viewports in Paperspace one at a time, simply activate a viewport. Any viewport will do. Once the viewport is active (Hint: the boundary should be bold!), hold down the “CTRL” key and click the “R” key. Every click on the “R” key will advance the active viewport to a different viewport.

    Hope you find that helpful!