How can i set *createmarkpanel command to gui?
Hi all,
I created an GUI in hypermesh. However i can not activate command from TCL gui.
Here is a simple code
::hwtk::button $f.b1 -text 'Text Button' -help 'Text only' -command {createentity comps name=component3}
If anyone knows how to do that, could you please show me?
Regards
Answers
-
Try to put your commands in a proc & call this proc via -command ?
Remember : the valid command is '*create.....' not 'create....'
0 -
Hi thanks for answer. I used that tools however i couldnot finish.
If you have any example could you please share with me
0 -
Hi,
You have to pack after creating.
::hwtk::button $f.b1 -text 'Text Button' -help 'Text only' -command {*createentity comps name=component3}
pack $f.b1
0 -
Thanks you both @Livil Lyle and @Q.Nguyen-Dai
0