Aman Jain
Hi.
i am currently working on Hypermesh 2019. I came across the *filewritecomponentgeometry command in the documentation. There is a component in my .hm file which goes by the name 'clip1', and I wabnt to use the above mentioned command to export it into a new .hm file by the name 'clip1.hm'
I used the command as
*filewritecomponentgeometry clip1.hm, clip1, 1
and
*filewritecomponentgeometry (clip1.hm, clip1, 1)
But the TCL console always says that 'Component clip1 does not exist'.
Answers
-
Hello @Aman Jain
Please try the following commands.
foreach compname [hm_entitylist comps name] {
set fn [file join [hm_info -appinfo CURRENTWORKINGDIR] ${compname}.hm];
*filewritecomponentgeometry $fn $compname 1;
}
Thanks,
Imoto
0 -
Maybe you have wrong component name, it may be Clip1, 'clip 1', etc...
Try script 'MenuExportDeck' , right click on comps and select 'Save geometry'
https://community.altair.com/community?id=community_question&sys_id=e33648761b2bd0908017dc61ec4bcba7
0 -
my register accpet plsae
0