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:
|File extension of exported file||Document type you with the table to be saved as. Available file extensions are txt (text) and csv (comma separated values).|
|Overwrite||Overwrites existing file if TRUE.|
|Sheet Name||Sheet to extract table from.|
|Table Name||The name of the table you wish to extract, as it appears in the FeatureManager Design Tree.|
|View NAme||View to extract the table from. Leave blank if the table is not attached to a view.|
|File Name||Name you wish the table to be saved as. No need to include file extensions. Leave blank to use the 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||FALSE||FALSE||FALSE will not overwrite the existing file. TRUE would overwrite the file|
|Sheet Name||Sheet1||Sheet1||Then 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 FeatureManager Design Tree.|
|View Name||Drawing View1||Drawing View1||View to extract table from. If the table to extract is not attached to a view leave this property blank.|
|File Name||DWSpecificationId||DWSpecificationId||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.|