Jump to content
sixz

Adding Custom button to HyperMesh Utility Window

Recommended Posts

HI,

I'm new to hypermesh customization, I'm trying to create custom button in hypermesh to run particular Tcl script.

 

thank you,

sixz

 

Share this post


Link to post
Share on other sites

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:

llyle and sixz like this

Share this post


Link to post
Share on other sites

×
×
  • Create New...