Jump to content

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

 


 

Share this post


Link to post
Share on other sites
29 minutes ago, livillyle 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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
19 hours ago, tinh 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:

table_example.tcl

thanks tinh

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...