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

screen1.thumb.PNG.2143f1a7b7acc0ea89e0b117568f94f2.PNGtrying to put button somewhere in this tab, can you share where can I find Button UI libraries.

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:

sixz and Livil Lyle like this

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.


×
×
  • Create New...