Configuring Hole Callouts

Document created by SW Admin on Jan 13, 2010Last modified by SW Admin on Nov 27, 2012
Version 3Show Document
  • View in full screen mode

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).



Configuration file

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> ".




Variable names

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-fsttypFastener Type
hw-fstszeFastener Size
hw-cbdepthCounterbore Depth
hw-cbdiaCounterbore Diameter
hw-cdrlangCounterdrill Angle
hw-cdrldepthCounterdrill Depth
hw-cdrldiaCounterdrill Diameter
hw-csangCountersink Angle
hw-csdiaCountersink Diameter
hw-drlangDrill Angle
hw-endcondEnd Condition
hw-fscsangFar Side Countersink Angle
hw-fscsdiaFar Side Countersink Diameter
hw-headclrHead Clearance
hw-holediaHole Diameter
hw-holedepthHole Depth
hw-mjrdiaMajor Diameter
hw-midcsangMiddle Countersink Angle
hw-midcsdiaMiddle Countersink Diameter
hw-minordiaMinor Diameter
hw-nscsangNear Side Countersink Angle
hw-nscsdiaNear Side Countersink Diameter
hw-tapdrldepthTap Drill Depth
hw-tapdrldiaTap Drill Diameter
hw-threadangThread Angle
hw-threaddepthThread Depth
hw-threaddescThread Description
hw-threaddiaThread Diameter
hw-threadseriesThread Series
hw-threadsizeThread Size
hw-thruholedepthThru Hole Depth
hw-thruholediaThru Hole Diameter
hw-thrutapdrldpThru Tap Drill Depth
hw-thrutapdrldiaThru 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.