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:
Property Name | Description |
---|---|
File Type | Available file extensions are txt (text) and csv (comma separated values). |
Overwrite File | Overwrites existing file if it exists. |
Sheet Name | Sheet that the table is on. |
Table Name | The name of the table in the Drawing, as it appears in the Feature Manager Design Tree. |
View Name | View to extract the table from. Leave blank if the table is not attached to a view. |
File Name | The file name to export to. No need to include file extension. Leave blank to use SOLIDWORKS drawing name. |
File Path | Folder in which you wish the table to be saved to. Leave blank for the current SOLIDWORKS directory. |
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 Name | Example Rule | Example Result | Meaning |
---|---|---|---|
File extension of exported file | Text | Text | The Table will be exported in the .txt file format. |
Overwrite | TRUE | TRUE | TRUE will overwrite a file if it already exists. |
Sheet Name | "Sheet1" | Sheet1 | This is the name of the Sheet to extract the table from. |
Table Name | "Bill of Materials1" | Bill of Materials1 | The 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 View1 | This 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" | TableExport | Name 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\Tables | The Folder in which you wish the table to be saved to. Leaving this blank will use the current SOLIDWORKS directory. |