::hwat::utils::GetMassCG - Finds the mass, cg, and centroids of the given assembly.
::hwat::utils::GetMassCG str_templateFilePath str_outputFilePath assemname
str_templateFilePath |
The directory location of the template file. |
str_outputFilePath |
The directory to write the intermediate output file. |
assemname |
The HWAT assembly name (default = ""). |
A Tcl list of the form mass, xcoordinate of cg, ycoordinate of cg, zcoordinate of cg, xcoordinate of centroid, , ycoordinate of centroid, , zcoordinate of centroid if successful, {} if unsuccessful.
::hwat::utils::GetMassCG "D:/Altair/templates" "D:/Project/files" "Vehicle".
If no assembly name is given, the values are calculated for the displayed assemblies.