Home Search

DriveWorks Pro 22
Export Mass Properties

Send Feedback

Export Mass Properties - SOLIDWORKS Power Pack

The Export Mass Properties Generation Task will export the mass properties to a text file.

Properties

Property NameDescription
(Name)The unique name for this task.
File ExtensionThe extension for the file to export the mass properties to. For example txt, tsb, csv, etc. If left blank the file extension will be txt.
FolderThe folder that the file will be placed in. Leave blank to use the same folder as the model.
OverwriteTRUE to overwrite the file if it already exists, FALSE to leave the original.
Text FileThe name of the file. If left blank the model name will be used.

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"txt"txtThe file will be saved with the extension txt
Folder"Export"ExportThe file will be created in the folder Export, relative to the specification.
Folder"\\FileServer\DriveWorks\Export"ExportThe file will be created in the folder DriveWorks\Export, on the network machine \\FileServer.
OverwriteTrueTrueWill overwrite any existing file with the same name.
Text File"Mass Properties "&DWSpecificationIDMass Properties 154The file will be named Mass Properties 154. Where 154 is the ID of the specification.

Results

The results will be exported using MKS (meter, kilograms, second), the file produced will look like the example below:

Name, Value
Centre of Mass X, -0.349969733973315
Centre of Mass Y, -0.410256397727366
Centre of Mass Z, -0.200253719991442
Volume, 0.04491896206364
Surface area, 6.55346527701567
Mass, 25.9658260170902
Density, 578.059350086996
Moments of inertia Lxx, 2.83131999773305
Moments of inertia Lyy, 2.44210655232725
Moments of inertia Lzz, 3.69063387041974
Moments of inertia Lxy, -5.12692097429051E-05
Moments of inertia Lzx, 0.000123971162831201
Moments of inertia Lyz, 0.000363163953510563
				

Generation Sequence

This Task can be added to SOLIDWORKS Parts and Assemblies 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)