3D faces selection api in HyperMesh HM v 2022
Hello All,
I need to create Setsegments (Contacts in HM v2022), so directly from 3D faces, there is manual button option (Analysis > Setsegments > Solid faces > in element selection choose 3D Faces) as seen in image,
But, i need to use same selection in automation with TCL script, what is api for face selection for 3D Element
P.S. - *createmarkpanel elems 1 >> by Face is giving different selection thus different end result of setsegment.
by *createmarkpanel elems 1 > (option - 3D elems by faces) will result in selection shown in below image
So, is there any api for having selection panel as above one (3D faces selection)..
Same Images are also as attachments
Thanks in advance.
Answers
-
Hello.
I have encountered similar challenges. (I want to create a SetSegment in a Tcl/Tk script)As far as I know, there is no Face Selection API like there is in the standard panel. Therefore, I have been creating SetSegment using the Tc/Tk code as shown in the attachment.
This code assumes that the solver interface is set to "Abaqus".
When you select a few nodes on the surface of a solid element and press "OK", a SetSegment will be created on the faces connected to the nodes.Would this be helpful?
Thank you.
0 -
Using TCL script, Is there any way to open that panel (Set segment) panel directly and put the Contact/ SetSegment name there in the available panel. (So, user only needs to select 3d faces and press proceed)
So far, I have came across > hm_listpanels but dont know how to call them and use their variables to put contact name value directly into their entry box.
0 -
hello.SAGAR MOTWANI_20932 said:Using TCL script, Is there any way to open that panel (Set segment) panel directly and put the Contact/ SetSegment name there in the available panel. (So, user only needs to select 3d faces and press proceed)
So far, I have came across > hm_listpanels but dont know how to call them and use their variables to put contact name value directly into their entry box.
I understand what you want to do.
In the old hypermesh, there was a command called monse.msf.
This allows RPA-like operations, perhaps controlling gui operations as you wish. However, I do not see this command in the newer hyperworks.
I will look into this. I will get back to you later.
best regards
0 -
Hello.
I am sorry for taking so long to reply.
I have done some research and I am sorry to report that "monse.msf" is not supported at this time.I have checked to see if there is another way, but I could not find a way to achieve what you are looking for.
We are very sorry that we cannot help you.
best regards.
0