Home Search

DriveWorks Pro 22
Export Drawing Table

Send Feedback

Export Drawing Table

The Export Drawing Table Generation Task allows you to export a table as a text document.

The Table types currently supported for this Generation Task are:

  • General
  • Hole
  • Bill of Materials
  • Revision
  • Weldment Cut List

Multi-Sheet Drawings

This Tasks requires requires the specified View Name to be on the currently active sheet.

If the Drawing this Task is run on has more than one sheet use the Activate Sheet Task immediately before running this Task.

Properties

Property NameDescription
File TypeAvailable file extensions are txt (text) and csv (comma separated values).
Overwrite FileOverwrites existing file if it exists.
Sheet NameSheet that the table is on.
Table NameThe name of the table in the Drawing, as it appears in the Feature Manager Design Tree.
View NameView to extract the table from. Leave blank if the table is not attached to a view.
File NameThe file name to export to. No need to include file extension. Leave blank to use SOLIDWORKS drawing name.
File PathFolder in which you wish the table to be saved to. Leave blank for the current SOLIDWORKS directory.

Example

When this task is added the properties are static by default. See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.

Property NameExample RuleExample ResultMeaning
File extension of exported fileTextTextThe Table will be exported in the .txt file format.
OverwriteTRUETRUETRUE will overwrite a file if it already exists.
Sheet Name"Sheet1"Sheet1This is the name of the Sheet to extract the table from.
Table Name"Bill of Materials1"Bill of Materials1The name of the table you wish to extract. The name should be written as it is displayed in the Feature Manager Design Tree.
View Name"Drawing View1"Drawing View1This is the view to extract table from. If the table to extract is not attached to a view leave this property blank.
File Name"TableExport"TableExportName you wish the table to be saved as. No file extension needs to be added here. Leaving this blank will use the SOLIDWORKS Drawing name.
File Path"C:\MyDocuments\Tables"C:\MyDocuments\TablesThe Folder in which you wish the table to be saved to. Leaving this blank will use the current SOLIDWORKS directory.

Generation Sequence

This Task can be added to SOLIDWORKS Drawings in the following Generation Sequence(s):

  • Pre Drive (will be run before the Main Drive Sequence)
  • Post Drive (will be run after the Main Drive Sequence)