User Intraction node selection event and display external data in GUI
I am new in hype work customization. can you please let me know, how to select a node or is there any selection event for object selections.
I want to create small application where, user can select a element node and once node is selected then corresponding data to that node will be displayed in GUI or in txt file programmatically.
Data is saved local machine in .csv or .xlsx file forma.
Thanks,
Pushpendra
Answers
-
What do you mean 'corresponding data' of node/element? Node coordinates?
0 -
Are you familiar with the TCL programming language to start with? If not, I would suggest to start to read some documentation on the TCL website: http://www.tcl.tk/man/tcl8.5/tutorial/tcltutorial.html
All hypermesh commands can be found in the Hypermesh reference guide (in hypermesh go to help => Hyperworks help home) in section scripts. It's just a very long list (divided into 4 parts) and no clear explanation when to use what command, so just go through the list and see what you need. Or use search.
In your case you will need the *createmarkpanel (to enable user to select a node) and hm_getvalue (to get the data you need, check under 'data names' what data can be extracting for what entity type) commands.
0 -
Nguyen, thanks for the reply.
I have a data.xlsx which is generated by another application. which is having Node ID, Node Coordinated, Element name, Stresses value , amplitude and many more details. I want to showcase these details in GUI window once user selected a particular node.
0 -
Altair Forum User said:
Nguyen, thanks for the reply.
I have a data.xlsx which is generated by another application. which is having Node ID, Node Coordinated, Element name, Stresses value , amplitude and many more details. I want to showcase these details in GUI window once user selected a particular node.
With Hypermesh, the pre-processing software, you have all these informations, but not about results (stress, displacements,...)
For results, you have to use Hyperview, the post-processing software.
0 -
Thanks Loesje for detailed information.
as you said, I will go through the help reference prior to start TCL programming.
I am more familiar with C# dot net programing, would it be help full in TCL programming.
0 -