How can i set *createmarkpanel command to gui?

User: "Seçkin13"
Altair Community Member
Updated by Seçkin13

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

Find more posts tagged with

Sort by:
1 - 4 of 41
    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    Try to put your commands in a proc & call this proc via -command ?

    Remember : the valid command is '*create.....' not 'create....'

    User: "Seçkin13"
    Altair Community Member
    OP
    Updated by Seçkin13

    Hi thanks for answer. I used that tools however i couldnot finish.

     

    If you have any example could you please share with me 

    User: "llyle_20499"
    New Altair Community Member
    Updated by llyle_20499

    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

    User: "Seçkin13"
    Altair Community Member
    OP
    Updated by Seçkin13

    Thanks you both @Livil Lyle and @Q.Nguyen-Dai