Jump to content

Sagar Motwani

Members
  • Content Count

    18
  • Joined

  • Last visited


Reputation Activity

  1. Sagar Motwani liked a post in a topic by alpha in Why Hypermesh completely built using TCL? why not Python   
    I use both Python(for Simlab customization) and TCL(for HyperMesh).
    In my opinion, Python is helpful for data management with OOP (of course it will be faster) and the syntax is easier than TCL.
     
    However, HyperMesh have supported many TCL API to interact with HM. We can use a lot of those API functions easily, no need to create our code again. This helps create script very quickly.
     
    Integrate Python in HyperMesh is easy but write a huge API functions need a lot of effort.
    I use Simlab Python but found many limitation because there are not so much API functions.
    I use Abaqus/Ansys Python but also found many limitation.
     
    So, Python or TCL does not matter. The important is supported API functions under CAE software.
    HW will support Python because they serve some trend.
    For me, I do not need. I need API more than Python.
  2. Sagar Motwani liked a post in a topic by tinh in To capture element quality check display messages   
    If you are usinh hypermesh desktop, it is .mainFrame.bottom.leftfrm.label
     
    In HM, it is referred by variable $::HM_Framework::p_message_label
  3. Sagar Motwani liked a post in a topic by Imoto in To capture element quality check display messages   
    Tinh is right, HyperMesh and HyperMesh Desktop are using different frame.
     
    @Jeffersondhv
    If you want to correspond both cases, following example can help you.
     
    if {[file tail [hm_info -appinfo SPECIFIEDPATH hm]] == "hmopengl.exe"} {
     puts [.mainFrame.bottom.message_icon config -image];
     puts [.mainFrame.bottom.message_label config -text];
    } else {
     puts [.mainFrame.bottom.leftfrm.label config -image];
     puts [.mainFrame.bottom.leftfrm.label config -text];
    }
  4. Sagar Motwani liked a post in a topic by vipin in Hypermesh - Disable writing Command.tcl file through Code   
    Hi @Sagar Motwani,
    use  hm_commandfilestate 0
×
×
  • Create New...