🎉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

User Intraction node selection event and display external data in GUI

User: "Pushpendra"
Altair Community Member
Updated by Pushpendra

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

Find more posts tagged with

Sort by:
1 - 6 of 61
    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    What do you mean 'corresponding data' of node/element? Node coordinates?

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

    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.

     

    User: "Pushpendra"
    Altair Community Member
    OP
    Updated by Pushpendra

    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.

    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    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.

    User: "Pushpendra"
    Altair Community Member
    OP
    Updated by Pushpendra

    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.

     

    User: "tinh"
    Altair Community Member
    Updated by tinh

    If you knew C# , you could know C also.

    Register a callback proc to hm_framework to catch user selections

     

    this post may help