DriveWorks Pro 17: Export Part Size [send feedback...]

Export Part Size - SOLIDWORKS PowerPack

The Export Part Size Generation Task will export a text document which contains the size parameters of the bounding box of a part.

The format for the Text file will be: Height, Width, Depth, X Min, X Max, Y Min, Y Max, Z Min and Z Max

ItemMeaning
HeightThe Height of the Bounding Box
WidthThe Width of the Bounding Box
DepthThe Depth of the Bounding Box
X MinThe Minimum value in the X direction
X MaxThe Maximum value in the X direction
Y MinThe Minimum value in the Y direction
Y MaxThe Maximum value in the Y direction
Z MinThe Minimum value in the Z direction
Z MaxThe Maximum value in the Z direction

The X, Y and Z minimum and maximum positions are calculated from the position of the origin. Therefore if your part was created with the origin in the left hand corner the minimum positions would all be zero and the maximums being the distance to the origin.

If the Part was created with the origin in the middle the X, Y and Z values would be negative for the minimum and positive for the maximum.

Properties

Property NameDescription
(Name)The unique name for this task.
Append LineTRUE to append the bounding box data to file if it exists, FALSE to leave the original.
File ExtensionThe extension of the text file (For example, txt, tsb, csv etc). .txt will be used if left blank.
FolderThe folder that the new text file will be placed in (leave blank to use the same folder as the model).
OverwriteTRUE to overwrite the file if it exists, FALSE to leave the original.
Text FileThe file name of the text file (Leave blank to use the model file name).

Example

When this task is added the properties are dynamic 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
Append LineTRUETRUEWill add another line to the text file if it exists
Append LineFALSEFALSEFALSE will leave the original file it exists
File ExtensionPartTextFile123.txtLeaving this blank will automatically select .txt format.
File Extension"csv"PartTextFile123.csvThis will produce an Excel document.
Folder"C:\My Documents\Specifications\TextFiles"C:\My Documents\Specifications\TextFilesThis is the location of the folder where you wish to store the newly created text files. If this is left blank the same folder as the model will be used.
OverWriteTRUETRUEThis will replace an already existing file if it matches
OverWriteFALSEFALSEThis will leave the original file if it already exists.
Text file"PartTextFile123"PartTextFile123This will be the Name given to the text file when it is created.

Table of Contents