IN THIS CHAPTER
Inserting and creating blocks
Accessing symbols
Appling center marks and centerlines
Using annotations tutorial
Annotations and symbols are a major component of communicating a design through a drawing. SolidWorks has several tools available to help you manage these entities to make engineering drawings look good and communicate effectively.
Notes are the workhorse of SolidWorks annotations. You can use notes in many different configurations and mix them with links to custom properties, hyperlinks, and text wrapping boxes. You can also use them with styles, leaders, symbols, and balloons; and you can even embed balloons into notes.
Sometimes users have difficulty working through some of the interfaces in SolidWorks. This is not necessarily the fault of the software, but is often because users may not fully understand how the workflow of a particular feature is designed to function. The Model View interface from the last chapter is one that can be confusing until you have been through it a few times and gain a more intuitive feel for how it works.
Understanding the workflow is paramount to being able to use the software efficiently. I sometimes find myself using the annotations clumsily, and sometimes wind up with blank notes, double notes, or extra lines at the ends of notes. After using the tool a few times, I get back in the groove.
For these reasons, I have added an outline of the workflow here to help you create annotations more efficiently.
Follow these steps to create a note:
At the end of the last line of the note, do not press Enter again (this creates extra lines), but you may press Esc. Esc gets you out of the note and ready to place a new note. When you press Esc twice, you get out of the note you were typing, and then get out of the Note command altogether.
SolidWorks can make use of any TrueType fonts that Windows will accept. This includes symbol, non-English, and Wingding fonts. SolidWorks does not use true monofonts like AutoCAD because they do not have width information and thus do not print like fonts with widths. Some AutoCAD monofont look-alike fonts are installed with SolidWorks that do have a very narrow width, and are shaped like some of the monofonts.
In the Customize dialog box (Tools Customize), the Fonts toolbar displays as the Formatting toolbar. The Formatting toolbar also appears in the graphics area immediately over your text every time you either insert a new note or edit an existing note, unless the toolbar is already docked somewhere. The Formatting toolbar is shown in Figure 16.1.
Text boxes enable you to limit the size, particularly the width, that a note can occupy. This enables notes to wrap in tight spaces on title or revision blocks, as well as other places.
You can size text boxes immediately after placement, even while they are blank; the text then wraps to fit the box width as you type it. The text box expands downward automatically. Blank text boxes can be left on the drawing to provide a placeholder for future text. The blank text box has a rectangular border that contains an X, both of which are removed when you add text. If spaces are added to a text box, the text box becomes invisible, although you can select it if you know where it is. When you move the cursor over the text box, the cursor displays the note symbol.
While typing a note, it is not possible to make the note box smaller using the middle handle on the right end of the box; you can only stretch it larger. Using any corner handle, as shown in Figure 16.2, you can make the box taller, wider, or narrower. The note box will not resize smaller if the text string it contains does not contain spaces.
If a custom property value is used to populate a note and you select the Annotation Link Variables option in the Views dialog box, when you activate the text box to resize it, the text value will go away and the link variable will be displayed. This makes it difficult to dynamically resize the box to fit the note, so it might be best to deselect the Annotation Link Variable option before placing and sizing notes.
The Text Format panel of the Note PropertyManager, shown in Figure 16.3, contains the justification buttons for note text, but also has a Fit Text option. When the Fit Text button is depressed, changing the width of the text box changes the width of the individual characters.
Figure 16.3 shows the Note Property Manager when you are editing text. When you are creating the note, the vertical justification buttons (to the left of the Fit Text tool tip) are not displayed. These are called (from left to right) Top Align, Middle Align, and Bottom Align. They work differently from most vertical justification tools that you find in Microsoft Word or PowerPoint. In Microsoft applications, this feature justifies the text within the text box, but SolidWorks vertical justification justifies the text box on the placement point. So if you click a spot on the drawing sheet and use Bottom Align, the bottom of the text box will go to that point. It winds up working almost backwards from what you might be used to if you use Microsoft applications. Figure 16.4 shows what this justification does. Selecting the Bottom Align option actually makes the text move up, even though the graphic on the icon definitely shows it going down.
Starting in SolidWorks 2011, you are now able to pattern notes in linear and circular patterns. Both commands are in the Annotation tool set, but are not on the toolbar by default. To put them on the toolbar, go to Tools Customize Commands Annotations, and drag them from the dialog box to the toolbar area. Figure 16.5 shows the Linear Note Pattern PropertyManager. It looks very similar to the sketch pattern PropertyManager.
Once the note is patterned, you can change individual pattern instances. I have to mention, though, that changing a patterned note does not work the same as changing a regular note. In a regular note, you double-click to activate it and type to replace the note contents. With a patterned note, you have to activate it, click again to deselect the text, press Delete or Back to remove the text, and then type new text.
Circular patterns work similarly to linear patterns, and also work like circular sketch patterns, with the same editing limitations.
When you start to place a note, a preview shows the text box with or without a leader depending on the position of the cursor. If the cursor is over a blank section of the drawing, the note is placed without any leader. If the cursor is over a face, edge, or vertex, then a leader is added using the arrow found in the Attachment dialog box at Tools Options Document Properties Arrows Attachments. By default, a leader attached to a face uses a dot as an arrow, and a leader attached to an edge, sketch entity, or nothing at all uses a regular arrow. You can change these defaults at the options location mentioned previously, and you can change individual note leaders in the PropertyManager that becomes available when you select a note. These settings can also become part of a custom drafting standard.
Figure 16.6 shows the preview that is displayed by the cursor when you place a note over a face, an edge, and blank space on the drawing.
You can also change settings for bent leaders by choosing Tools Options Document Properties. It is recommended that you use the same bent leader lengths for all annotations, and save them in the templates that you use.
Single-clicking inside an active text box places the cursor between letters, as expected. Double-clicking inside an active text box selects the entire word that you click, again as expected. Ctrl+A selects all the text inside a text box. If you double-click an existing note to activate it, the entire contents are highlighted immediately. You also cannot drag-and-drop selected text to move it within a text box. However, you can Ctrl+C, Ctrl+X, and Ctrl+V the text.
To format the entire note, do not activate the text box; instead, only select the border of the note, and apply the setting to the entire note rather than to selected text within the note.
To add a leader to a note that was created without a leader, click the note and select the leader options in the Leader panel of the PropertyManager, as shown in Figure 16.7. After you add the leader, you can reposition the handle at the end of the leader to attach it to an entity on the drawing.
You can also attach multiple leaders to notes. To create a new note with multiple leaders, pre-select the entities that the leaders are to be attached to, and then click the Note toolbar button.
To add a leader to an existing note, first click the note, and then Ctrl+drag the handle or small dot on the end of a leader to the second location. A note with multiple leaders is shown in Figure 16.8. To remove one of multiple leaders from a note, click the handle at the end of the arrow and press Delete.
Jogged leaders have come a long way since their introduction many releases ago. You can switch a regular leader to a jogged leader by selecting an option in the PropertyManager. In Figure 16.7, the middle icon in the top row is the Jogged Leader icon. The icon to the left simply turns on the default leader, and the icon to the right turns off leaders altogether.
Once you activate the jogged leader option, you can add a jog from the leader right mouse button (RMB) menu. Notice in Figure 16.9 that two options give you control over the jogged leader — Insert New Branch and Add Jog Point.
Selecting the Add Jog Point command adds a new handle to the leader that you can move around. You can add multiple jog points to the leader.
The Insert New Branch command enables you to create a new jogged leader that ends in another arrow from the selected point. This arrangement with multiple branches in a jogged leader is shown in Figure 16.10.
For notes, a style can apply a font, an underline, bold formatting, or any other setting from the Formatting (Fonts) toolbar to a note.
To create a note that uses the style setting from another existing note, pre-select the existing note with the style to be copied before starting the Note command; SolidWorks applies the style to the new note.
Caution
Sometimes adding a style to a note can make other changes that you may not expect, such as turning off the leaders if a note has multiple leaders. In particular, if the style is made from a note with a jogged leader, then it turns off leaders for regular multiple leaders. Styles that are created from regular leader notes do not turn off jogged leaders.
Making a change to the leader of a note after you apply the style removes the style from the note, although the formatting remains. This does not apply to adding multiple leaders, only to changing the type of leader.
Applying a style may also remove the ability of the text to wrap, as well as any changes to the text box shape. You cannot move the corner of a text box of a note to which you have applied a style.
Styles exist only in the document in which they were created, but they can be shared to other documents by saving the style out as a separate file. Note styles use the extension *.sldnotestl. Once you save the style, you can load it into other documents. The Style panel of the Note PropertyManager interface is shown in Figure 16.11.
Annotation types that can use styles are
Note
Styles before the 2009 release were called Favorites, and some functions still retain the old name. The file type for note favorites was *.sldnotefvt. If you run across any of these legacy file types, you will at least know what they are. When loading styles, the Open dialog box will recognize and use both the new file type and the legacy file type.
The Style panel contains the following buttons:
Styles can be loaded into document templates so that for every document created from the template, those Styles will be available.
You can link notes to custom properties. The custom properties can be from the drawing or from the model that is referenced by the drawing. I mention this kind of link briefly in Chapter 20, but discuss it more thoroughly here.
Figure 16.12 shows a note on a drawing with custom property links pulling data from the model shown on the drawing. To add these links, driven by the syntax $PRPSHEET:“material”, click the icon indicated in the image to the right in Figure 16.12.
In this case, text has been combined with custom properties, but custom properties can also appear alone. To access the Custom Properties interface, choose Tools Properties.
When you activate the note, you may want to see the syntax, or you may want to see the actual text value of the custom property. You can find the setting that controls which one is displayed by choosing View Annotation Link Variable.
Hyperlinking text is sometimes useful on drawings to provide a link to reference documentation, specification, test results, and so on. The first button in the third row of the Text Format panel of the Note PropertyManager enables you to add a hyperlink to text in the note. Figure 16.12 shows this panel. Either copy the URL to the hyperlink dialog box that appears or browse to it from the dialog box.
Note that there is a bug in SW (which has been around for years!), including SW2011 SP0 where you cannot un-hyperlink a box. Once you type “http://” into a note, it automatically turns the entire note into a hyperlink. According to the Knowledge Base you are supposed to right-click on the note, and then select the hyperlink button in the FeatureManager, where you can then delete the link and click OK to remove the link. Unfortunately, this just produces an error. If you want to put a Web address into your drawing note without it turning into a hyperlink, you have to trick Solidworks into not recognizing it as a Web link. I suggest putting a space between the : and the // of the link, which will not be obvious on a printed drawing.
Notes and symbols are regularly combined in SolidWorks. Symbols are discussed more fully later in this chapter, but are mentioned here because of the frequency with which they are used with notes. In reference to Figure 16.12, the image to the right shows the Text Format panel, which contains a button to the interface where you can add symbols.
Blocks in SolidWorks can contain sketch elements and notes. When used in drawings, blocks have several common uses, including the following:
Like styles, blocks reside in the document in which they are created, but you can save them out to a *.sldblk file, load them into other documents, and save them as a part of a document template.
You can apply blocks in several ways, including by dragging from Windows Explorer and by using the Block menus (Insert Annotations Block). However, the most efficient way is to access them from the Design Library. Library folders can be established specifically for blocks. Check the setting by choosing Tools Options File Locations Blocks, and redirect this setting to a library area outside of the SolidWorks installation directory. Figure 16.13 shows the Design Library with a folder containing blocks that are selected. The blocks do not show previews in the window, but the tool tip displays large previews. You can drag blocks from the Design Library onto the drawing sheet.
Each block has an insertion point, which snaps to any sketch entity point, even if it is in another block. This makes schematics easy to snap together. If the default insertion point is not the point that you need to snap to the other geometry, then you can place the block anywhere on the drawing and drag the point that needs to snap.
Once blocks are snapped together, to detach them from one another, you can click the point at which they touch; a Coincident sketch relation displays in the PropertyManager. Deleting the sketch relation enables you to drag the block away from the other geometry.
When blocks are inserted, you can control several options in the PropertyManager. This function may be somewhat hidden because it does not appear automatically when you place the block. After you place the block, SolidWorks wants you to place another copy of the block. If you press Esc to cancel out of placing additional blocks, the first placed block is not selected, so the PropertyManager does not display. Figure 16.14 shows the Block PropertyManager.
Following is a list of sketch relations linked to the block:
You can create blocks by selecting the sketch and annotation elements and clicking the Make Block toolbar button in the Blocks toolbar, or by accessing the command by choosing Tools Block Make from the menus.
By default, when you create a block, the Insertion Point panel of the PropertyManager does not expand. If you expand this panel, the blue Origin symbol represents the insertion point that is attached to the cursor during block insertion, as shown in Figure 16.15. The angled line hanging off the left side of the block is the leader attachment point for the block. You can also drag this line around the block and snap it to sketch geometry. By default, this block does not use a leader, but if one is required, then you can select it when you place the block.
Cross-Reference
Sketch blocks are covered in some detail in Chapter 3. This chapter is limited to a discussion of blocks that may be found on drawings rather than those used in model sketches or layouts.
Although you do not have many options when creating blocks, many more options become available when you edit them. You can access editing options for a block from four locations:
The standard edit function gives you access to the sketch and note elements that make up the block.
SolidWorks symbols are different from symbols that are a part of a font family. SolidWorks symbols fall into several categories, including weld, surface finish, hole, modifying symbols, GD&T (geometric dimensioning and tolerancing), and several flag symbols. You can also construct custom symbols.
You can use symbols in notes and dimensions. They also are an intrinsic part of weld symbols and surface finish symbols. Hole Callouts use symbols extensively, as do GD&T frames.
Figure 16.16 shows the Text Format panel from the Note PropertyManager and the Dimension Text panel from the Dimension PropertyManager. Both of these interfaces give you access to the symbol library.
You can create custom symbols in SolidWorks, but creating them may not be as simple as you expect. In the langenglish subfolder of the SolidWorks installation directory is a file called Gtol.sym. This file stores the representations of all the SolidWorks symbols. It is also where you can create symbols of your own. You can edit the file in Notepad.
Be warned, however. Unless you enjoy writing scripts for the command line, or you are a fan of DOS 5.0, you may not want to create custom symbol projects. The format for creating symbols is simple enough, but it is what you might call somewhat arcane. It is effective at creating line-art symbols that can be used with text and can even be used to contain text. If you are a little inventive with this, you can create interesting shapes that integrate with your notes and dimensions.
Keep in mind that this topic does not appear in the Help files, but all the instructions you need are inside the file itself. You may have to experiment a little to discover what the rules are in terms of making shapes outside of the limits of the 1X1 matrix. It is probably easier to create the geometry using Blocks functionality, but blocks cannot be inserted into text notes as easily as symbols.
Also note, if you modify the gtol.sym file, anyone who uses the drawings you create must also have the same custom gtol.sym file. So if you actually do this and work in a group environment, make sure everyone uses the same file and it is available to others.
You can apply center marks either manually or automatically to edges that project as circular in the drawing view. To find the settings that control automatic insertion, choose Tools Options Document Properties Drafting Standard Centerlines/Center Marks. The size of the mark at the center and the use of lines extending to the actual circular edge are also controlled on this tab, in the Center Marks section. Figure 16.17 shows some of the options available for center marks.
Center marks propagate well to patterns, and you can dimension to them individually. You can rotate center marks in views where they need to be referenced from an edge that is not horizontal. You can also place center marks into layers.
You can apply centerlines to any geometry that has a temporary axis that is perpendicular to the view. Centerlines can also be placed automatically when you place the part into the drawing. You can create centerlines by selecting a face or a pair of parallel lines or concentric arcs. Centerlines may be displayed improperly on parts that are created by mirroring, as shown in Figure 16.18. This bug was originally printed here in the 2007 version and is still active for 2011 sp0.0.
This tutorial shows you how to use some of the tools that were discussed in this chapter. It does not cover every feature, so you should explore a little on your own and not necessarily follow the instructions exactly. Start here:
Annotations and symbols in SolidWorks have many options for connection, creation, and display. Recent releases have brought major improvements to text box–driven annotations. Custom properties and hyperlinks enable the user to populate drawing annotations with content and links to content. Sharing styles in templates is a great idea for readily available note styles.
Blocks have several flexible uses and can be updated from external files across many documents. Their use for simulating mechanisms, piecing together schematics, and annotating drawings, in addition to the Belts functionality discussed in Chapter 3, make blocks one of the most flexible functions available.