Command to activate mesh button in Hyperworks X 2023.1
In Classic Hypermesh, we used to activate buttons using hm_pushpanel. For example to activate mesh button, we use the command "hm_pushpanel {automesh}". Similarly, how to activate mesh button in Hyperworks X version?
I am aware that hyperworks X version does not comes with Push Panel, but i am seeking help to find the command to activate the mesh button.
Answers
-
Hi Ajay,
You can enter the meshing context using the command below:
ctx::manager enter 2DMCSGeneral
Thanks,
Michal Stefuca
Automation & Customization2 -
Michal Stefuca_21473 said:
Hi Ajay,
You can enter the meshing context using the command below:
ctx::manager enter 2DMCSGeneral
Thanks,
Michal Stefuca
Automation & CustomizationThanks Michal , it works for me. One more question, after activating how we can add a surface id to the selection. In the classic version, we can use *createmark surf 1 "${id}" to add the surface to selection. Here its not working. Surface selection remains null after using the api "*createmark" as you see in the image.
0 -
Ajay Prabhakaran said:
Thanks Michal , it works for me. One more question, after activating how we can add a surface id to the selection. In the classic version, we can use *createmark surf 1 "${id}" to add the surface to selection. Here its not working. Surface selection remains null after using the api "*createmark" as you see in the image.
Hi Ajay,
You can control/interact with the context selector via ctx::selection (altair.com) and use the same options as in *createmark. In the example below I used displayed and by supplying a list of IDs.
Thanks,
Michal Stefuca
Automation & Customization1 -
Michal Stefuca_21473 said:
Hi Ajay,
You can control/interact with the context selector via ctx::selection (altair.com) and use the same options as in *createmark. In the example below I used displayed and by supplying a list of IDs.
Thanks,
Michal Stefuca
Automation & CustomizationThanks Michal, it works.
0