Adding Custom button to HyperMesh Utility Window
Altair Forum User
Altair Employee
HI,
I'm new to hypermesh customization, I'm trying to create custom button in hypermesh to run particular Tcl script.
thank you,
sixz
0
Answers
-
Hi Sixz,
Please share a screenshot of were you want to place the button.
0 -
-
HI
Create one userpage.mac file.
code in that file to create button:
*createbutton(5, 'Deflection of Cantilever', -1, 0, 10, YELLOW, 'Launch Solution To Cantilever Beam.', EvalTcl, 'C:\Users\pdd914713\Documents\Test.tcl')
*beginmacro('CantileverBeam')
*endmacro()
keep this file in current working directory...then restart the Hm.
You can find this info in HW help as well.
HyperWorks Desktop Applications > HyperMesh > HyperMesh Tutorials > Customization > Scripts:
0