Jump to content
Sign in to follow this  
Rohan Bianco

TCL coding and surfaces selection

Recommended Posts

Dear all,


 


I am writing a TCL script to automaticaly mesh all the surfaces of a component on the same face.


 


For now, I am using :


*createmarkpanel surfaces 1 "Select all surfaces"


set surface_list [hm_getmark surfaces 1];


*interactiveremeshsurf ...


and when the panel opens, I have to select one surface, then use the option "by face" or "reverse" depending on the face I am selecting.


 


Is it possible to code the "by face" or "reverse" by only selecting one surface.


 


Thank you in advance,


 


Rohan


 


 


Share this post


Link to post
Share on other sites

I found a way to select the "reverse" surfaces.


 


*createmarkpanel surfaces 1 "Mesh Trabecular internal faces"

set surface_list [hm_createmark surfaces 1 advanced "by surface on mark" ];

 

But I still can't find a way to select the "by face"

 

Thank you in advance.

Share this post


Link to post
Share on other sites

All tcl commands of HyperMesh are written into a command file. These file is in the same directory you start HM from. Every action you do in the gui will be written in tcl form there. So you can easy find out which command you have to use.


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.

Sign in to follow this  

×
×
  • Create New...