Jump to content

Recommended Posts

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'.

 

fmjble.jpg

 

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...