table
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
Answers
-
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.
0 -
Altair Forum User said:
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
0 -
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.
0 -
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:
0 -
Altair Forum User said:
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
0