::hwat::utils::GetMassCG command
Dear,
Please explain this command to get mass CG of given assembly.
We have tried with all possible tweaks of tcl syntax but no success.
Following lines tried,
package require hwat;
1. ::hwat::utils::GetMassCG 'C:\Altair\hw8.0sr1\templates\summary\abaqus\ctr_of_gravity' 'D:\CGMassFiles' 'assemname';
2. ::hwat::utils::GetMassCG 'C:\\Altair\\hw8.0sr1\\templates\\summary\\abaqus\\ctr_of_gravity' 'D:\\CGMassFiles' 'assemname';
3. ::hwat::utils::GetMassCG 'C:/Altair/hw8.0sr1/templates/summary/abaqus/ctr_of_gravity' 'D:/CGMassFiles' 'assemname';
4. ::hwat::utils::GetMassCG 'C:\Altair\hw8.0sr1\templates\summary\abaqus\ctr_of_gravity' 'D:\CGMassFiles\' 'assemname';
5. ::hwat::utils::GetMassCG 'C:/Altair/hw8.0sr1/templates/summary/abaqus/ctr_of_gravity' 'D:/CGMassFiles/' 'assemname';
Note that given assembly have defined density and material. To ensure this I pushed 'Summary Panel' in post main panel and shows what should show exactly.
Answers
-
Please explain what you want to achieve.
I used:
*unmaskall()*createmark(elements,1) 'by set name' 'mySet' *createmark(elements,1) 'reverse' *maskentitymark(elements,1,0)*summary('./ctr_of_gravity','output.txt',0,0)
in a command file once - maybe you could use this?0 -
Thanks for this works
0