🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

table

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

hi all,

I hav a list which contains ids of a components.

Can any body tell how to write a code roughly so that I can create a table with drop down which can be used to change prop ,mat etc..similar to comp manager.

 

Thanks,

Mahes

Find more posts tagged with

Sort by:
1 - 5 of 51
    User: "llyle_20499"
    New Altair Community Member
    Updated by llyle_20499

    Hello mahes,

     

    You'll have to create a table with the different columns for comp, prop, mat etc.,
    Using a function you can auto populate the first column with all component IDs.
    Using combo boxes you can set all the other props and mats for respective comp Ids, 

    Once everything is done a Button can be used to run a procedure which modifies all the props, mats.

     


     

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hello mahes,

     

    You'll have to create a table with the different columns for comp, prop, mat etc.,
    Using a function you can auto populate the first column with all component IDs.
    Using combo boxes you can set all the other props and mats for respective comp Ids, 

    Once everything is done a Button can be used to run a procedure which modifies all the props, mats.

     


     

    Hi livillyle,

    Its difficult understand sme codes for those in hwtk toolkit.

    Thanks

    mahes

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

    Hello Mahes, 

     

    I agree to that, you can do a Find in Files search for 'hwtk::table' inside the scripts folder (C:\Program Files\Altair\2017\hm\scripts) using notepad++ or any other code editor to get few more tcl programs using table.

    User: "tinh"
    Altair Community Member
    Updated by tinh

    If you are new with scripting, it is a bit difficult

    the example in hwtk help is the rough code that you inquired, so I will not write it again for you, just modify some things to work in hypermesh:

    Unable to find an attachment - read this blog

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    If you are new with scripting, it is a bit difficult

    the example in hwtk help is the rough code that you inquired, so I will not write it again for you, just modify some things to work in hypermesh:

    thanks tinh

    Unable to find an attachment - read this blog