Drawing Creation Rules
The Drawing Creation Rules automate SOLIDWORKS Drawing creation for non-virtual models for which a drawing cannot be found. Each rule may define specific Drawing Template and Sheet Format to use, sheet naming rule, and what kind of dimensions are automatically imported to the view(s). Using the rule, it's also possible to automatically insert a BOM table to the created drawing.
In addition, a Drawing Creation Rule can stamp drawings with a specific Drawing Property during creation, making it trivial to locate all automatically created drawings with Search for finalizing them.
It is highly recommended to utilize File Selection Filters with Drawing Creation Rules to target very specific groups of models with each rule. For example, you can have a Drawing Creation Rule that only applies to sheet metal parts that are not toolbox or Design Library components and also have a very specific set of Custom Properties.
All Drawing Creation Rules and their related File Selection Filters can be accessed at ATR CustomTools Profile Options under the Drawing Creation page. Users with Profile modification rights can also create and edit both File Selection Filters and Drawing Creation Rules directly from the Batch Operations dialog.
Create Missing Drawings node of the Drawing Automation / Tasks tab lists all Drawing Creation Rules of the current profile. Each rule may have an associated File Selection Filter, which is shown with the filter icon.
- When a rule is selected, the Document Listing enables only non-virtual, drawingless models.
- When the rule is checked and it has no filter, all enabled documents are automatically checked.
- If a filter exists, only filter matches will be checked.
- When a model gets checked for the Drawing Creation Rule, an about-to-be drawing is immediately populated to the view.
An "about-to-be drawing" supports Printing, Converting, and other Tasks, too. You could always pair your Drawing Automation Rules with a Merge PDF-style File Conversion Rule having Is New Drawing File Selection Filter attached. This would always give you a nice PDF report of the drawings created by the automation rules.
It is highly recommended to define and attach a File Selection Filter to your Drawing Creation Rule. For example, you might never want to automatically create drawings for toolbox components or design library components, and you might want to use different sheet format and view orientations/placement for parts, sheet metal parts, sub-assemblies, and main assemblies. For each of those model types you can have a dedicated Drawing Creation Rule with a dedicated File Selection Filter.
If the current user has Profile modification rights, the listing will also have a <Create New> button that invokes the New Drawing Creation Rule dialog. The following operations become available for each rule in the right-click context menu:
| Edit | Invokes the Edit Drawing Creation Rule dialog. Editing the rule name is disabled. |
| Delete | Delete the Drawing Automation Rule from the Profile. |
| Delete associated filter | Deletes the attached filter. Only available if the rule has one. |
This page lists all Drawing Creation Rules of the current profile.
| Add... | Invokes the Add Drawing Creation Rule dialog. |
| Edit... | Invokes the Edit Drawing Creation Rule dialog for the selected rule. Disabled if no selection. |
| Delete | Deletes the selected Drawing Creation Rule(s) from the profile. Disabled if no selection. |
| Define/Edit Filter... | Define, if selected rule has no filter. Edit if it has. Defines or Edits the File Selection Filter for the selected rule. Disabled if no selection. |
| Delete Filter | Deletes the associated File Selection Filter from the selected rule. Disabled if no selection or selected rule has no associated filter. |
This page lists all Drawing Creation Rules of the current profile.
| Rule Name | Unique name for the rule. Cannot be edited at Batch Operations dialog. |
| Script Extension | Attach separately deployed Script Extension with Drawing Automation capabilities to this rule. |
| Drawing Template |
Browse a Drawing Template to use with this rule. ATR CustomTools does not store the template, but
only its name. All designers must have the same SOLIDWORKS Drawing Templates accessible from the path
defined for Document Templates in the SOLIDWORKS Options for File Locations.
It is allowed to use Drawing Template from an immediate subfolder of SOLIDWORKS Drawing Template Location, but the template name must then be unique within those subfolders. Leave empty to use Default Drawing Template defined in SOLIDWORKS Options. If the Drawing Template has predefined views, this rule will populate them. If the Drawing Template has no views, the Standard 3 View is added when the rule is processed. Drawing Template can also have Sheet Format saved into it; in that case you should leave the Sheet Format option empty. |
| Sheet Format | Browse a Sheet Format to use with this rule. ATR CustomTools does not store the sheet format, but only its name. All designers must have the same SOLIDWORKS Sheet Formats accessible from the path defined in the SOLIDWORKS Options for File Locations. Leave empty to use the one defined in the Drawing Template. |
| BOM Type |
Define type of BOM table to insert to the first view of the created drawing.
|
| BOM Table Template | Browse a BOM Table Template to use for the inserted BOM table. ATR CustomTools does not store the template, but only its name. All designers must have the same SOLIDWORKS BOM Table Templates accessible from the path defined for BOM Templates in the SOLIDWORKS Options for File Locations. Leave empty to use default BOM Template. |
| Anchor Point |
Define whether and how to attach the inserted BOM table to anchor point. Anchor point is defined in the sheet format. Note: If you select to attach the table to anchor point, but anchor point is not defined (for example if there is no sheet format), table will be attached to bottom left corner of the sheet.
|
| Sheet Name |
Define how to name the sheet that is created in the drawing.
|
| Set Property |
Select a Drawing Property defined in ATR CustomTools Profile and type in a value that should be
stamped for that property when the drawing is created. Only supports text values.
TIP:
Enable the same Property for ATR CustomTools Search so you can easily locate drawings created
by this rule.
|
| Add dimensions |
Define which dimension and/or annotations should be added to each Drawing View.
|