The Hole Wizard can be used to create holes that are intelligent. Not only is it easier to create these holes initially, but these attributes can be re-used to annotate the drawing. SolidWorks® also allows for the style and format of the hole callouts to be edited by the format of a text file named calloutformat.txt located in the \lang\ directory.
There are two versions of the file within this directory, calloutformat.txt and calloutformat_2.txt. calloutformat_2.txt is a simpler file format. To use this file, rename the file calloutformat.txt and edit as desired.
Figure 1 - Drawing view with hole callouts shown
To reuse the information defined within the Hole Wizard, select the Hole Callout icon and select the holes. Figure 1 shows some simple holes that were annotated automatically by selecting the holes within the drawing view. The only text added was the number of times the hole appeared (i.e., 3X).
The format of the file can be edited to the needs and standards of an organization. The "*" symbol means the line is ignored and can be used as a comment. To help break a long line into a couple of shorter lines, a "\" symbol can be used at the end of the line to show the next line is a continuation of the previous line.
The following is an example of two counterbore hole values. So what can be customized within this file? The order of the variable name, symbols, and any other text values you wish to display. The category names (i.e., COUNTERBORE-BLIND) cannot be customized. The first lines in each section follow the format of "variable name = <a combination of text, symbols, and variables> ".
The definition of the symbol is a combination or user defined text, Hole Wizard variable names, and symbol names. All symbol names are shown in uppercase and surrounded by brackets. For example, <MOD-DIAM> represents the diameter symbol Ø. To use these variable names, enclose the variable in brakets (<>). The following is a list of the Hole Wizard variable names.
|hw-fscsang||Far Side Countersink Angle|
|hw-fscsdia||Far Side Countersink Diameter|
|hw-midcsang||Middle Countersink Angle|
|hw-midcsdia||Middle Countersink Diameter|
|hw-nscsang||Near Side Countersink Angle|
|hw-nscsdia||Near Side Countersink Diameter|
|hw-tapdrldepth||Tap Drill Depth|
|hw-tapdrldia||Tap Drill Diameter|
|hw-thruholedepth||Thru Hole Depth|
|hw-thruholedia||Thru Hole Diameter|
|hw-thrutapdrldp||Thru Tap Drill Depth|
|hw-thrutapdrldia||Thru Tap Drill Diameter|
The hole callout format file allows for the display and re-use of Hole Wizard attributes within the drawing. To share the formats with others, set the directory for the Hole Callout Format File within the Tools/Options/File Locations dialog box to a common location.
© Dassault Systèmes SolidWorks Corp. All rights reserved.
Do not distribute or reproduce without the written consent of Dassault Systèmes SolidWorks Corp.