Jump to content

Q.Nguyen-Dai

Members
  • Content Count

    1259
  • Joined

  • Last visited

  • Days Won

    51

Reputation Activity

  1. Q.Nguyen-Dai liked a post in a topic by tinh in HyperMesh 2019 Assembly View   
    Hi,
    I think I found it.
    In file .../br/common/operations/createentity.tcl
     
    Please open it and go to line 70:
    if { $types == "Assemblies" && $view == "assemhierarchy" } {
     
     
    Please change it to be same as hm2017:
    if { $types == "Assemblies" } {
     
     
    In hm2019 the line indicates that only assemblyview will show menu items Assembly, Component, Multibody
  2. Q.Nguyen-Dai liked a post in a topic by tinh in HyperMesh 2019 Assembly View   
    Hi Mr. @Q.Nguyen-Dai
     
    I seem to find it in hm2017
    I don't have hm2019, could you please zip folder <install_dir>/hm/scripts/br  and post here.
     
  3. Q.Nguyen-Dai liked a post in a topic by tinh in HyperMesh 2019 Assembly View   
    Yes, I do.
    I will try hooking the menu. Just need a little time to find where it is.
  4. tinh liked a post in a topic by Q.Nguyen-Dai in HyperMesh 2019 Assembly View   
    Hi @tinh, it works ! Thank you!  
     

  5. Q.Nguyen-Dai liked a post in a topic by tinh in HyperMesh 2019 Assembly View   
    Hello
     
    I modify some things
    Please copy these modified files and overwrite the old ones
     
    If something's wrong, simply backup original files and let me know issuesReports_modified.zip
  6. tinh liked a post in a topic by Q.Nguyen-Dai in HyperMesh 2019 Assembly View   
    Yes, this is an "idiot" feature of version 2019
  7. Livil Lyle liked a post in a topic by Q.Nguyen-Dai in Volume measurment In Hypermesh   
    @Joel Rodarte: use command  "hm_getvolumeofsolid" 

  8. Rahul R liked a post in a topic by Q.Nguyen-Dai in Volume measurment In Hypermesh   
    @Joel Rodarte: use command  "hm_getvolumeofsolid" 

  9. Alex Nguyen liked a post in a topic by Q.Nguyen-Dai in Display mesh as user-define   
    Yes, you choose white color for your component and show it "By Comp".
    About mesh line color, you can change by "O" (option) => "colors' => mesh line 
     
  10. Alex Nguyen liked a post in a topic by Q.Nguyen-Dai in Display mesh as user-define   
    Do you want show 3D mesh like this picture?

    or like this ?

  11. Pandurang liked a post in a topic by Q.Nguyen-Dai in keep mesh option using script   
    "*deleteelementsmode"  is "Deprecated Commands"

    So it's better to use:
    *setoption delete_elements_mode=<value> The remesh setting for topology revision. 0 - Keep mesh 1 - Delete mesh 2 - Remesh 3 - Advanced remesh 4 - 2D + 3D (tetra) remesh  
  12. Duc_Hoang liked a post in a topic by Q.Nguyen-Dai in Temperature mapping.   
    Try method "linear interpolation"

     
    "nodes" => fine mesh
    "file" => temperature field from txt file in form :
    X-coordinate Y-coordinate Z-coordinate Temperature
     
     
  13. Q.Nguyen-Dai liked a post in a topic by tinh in Right-click context menu : could be customized?   
    Hi
    Widget pathname of that menu is 
    .model._pw._fbr.content.frmTreeArea.frmTree._m  
    But from v14, it doesn't come in a static way (depends on what you click on) so if you add a menu item then it will be cleared before pop up.
     
    To hook an item just before the menu pops up, thanks to Tk mechanism providing <<MenuSelect>> event. This is a way I used in menuexportdeck script:
     
    proc ::nexpd::p_Initialize {} { set BindScript [bind Menu <<MenuSelect>>] if {![string match *::nexpd::p_HookMenu* $BindScript]} { bind Menu <<MenuSelect>> {+after idle [list ::nexpd::p_HookMenu %W]} } } proc ::nexpd::p_HookMenu {menuName} { if {![winfo exists $menuName]} return if {[string equal Menu [winfo class $menuName]]} { if {[string match .model*.frmTreeArea.frmTree.* $menuName]} { set menuParent [winfo parent $menuName] while {![string equal TreeCtrl [winfo class $menuParent]]} { set menuName $menuParent set menuParent [winfo parent $menuName] if {![string equal Menu [winfo class $menuName]]} return } set Hooked 0 set Count [$menuName index end] for {set i 0} {$i<=$Count} {incr i} { if {[lsearch -exact {cascade command} [$menuName type $i]]!=-1&&[string equal "Export Deck" [$menuName entrycget $i -label]]} { set Hooked 1 break } } set Selection [$menuParent selection get] if {[llength $Selection]} { if {!$Hooked} { if {![winfo exists $menuName.exportdeck]} { menu $menuName.exportdeck -tearoff 0 -activebackground [$menuName cget -activebackground] \ -activeforeground [$menuName cget -activeforeground] \ -background [$menuName cget -background] \ -foreground [$menuName cget -foreground] $menuName.exportdeck add command -label "Only Selected" -command [list ::nexpd::p_ExportSelection $menuParent $Selection 0] $menuName.exportdeck add command -label "With References" -command [list ::nexpd::p_ExportSelection $menuParent $Selection 7] $menuName.exportdeck add command -label "Save Geometry" -command [list ::nexpd::p_ExportSelection $menuParent $Selection -1] } $menuName insert 0 cascade -label "Export Deck" -menu $menuName.exportdeck } else { if {[string equal disabled [$menuName entrycget "Export Deck" -label]]} { $menuName entryconfigure "Export Deck" -state normal } } } else { if {$Hooked} { if {![string equal disabled [$menuName entrycget "Export Deck" -label]]} { $menuName entryconfigure "Export Deck" -state disabled } } } } } }  
     
     
  14. Q.Nguyen-Dai liked a post in a topic by tinh in Right-click context menu : could be customized?   
    Hi
    I have an example here
    I will give the code later because it is in my pc
    https://forum.altair.com/topic/16835-update-hypermesh-extensions/?tab=comments#comment-30266

  15. ep2398 liked a post in a topic by Q.Nguyen-Dai in Can I convert LS-Dyna Results into H3D file to use in HyperLife?   
    LS-DYNA solver, as Optistruct also,... are unitless. User should warranty unit consistent.
    So to fit the unit system of HyperLife, maybe you need do all changes for LS-DYNA input.
  16. durukanbdilek liked a post in a topic by Q.Nguyen-Dai in dublicate node   
    You need to do "equivalence" of nodes.
  17. SergioV liked a post in a topic by Q.Nguyen-Dai in Meshing failed   
    @SergioV: You have 445 elements with aspect ratio > 20! So please make correction of your 2D mesh before filling 3D.
     
  18. Mat_80 liked a post in a topic by Q.Nguyen-Dai in The tension is too high   
    This's local stress due to RBE2. If it's too high for you, you need add a plate below the tube.

  19. lostarmour liked a post in a topic by Q.Nguyen-Dai in Mesh error in STL format   
    Sorry, I don't know CADFEKO. But I can confirm you that your STL is valid & readable 
  20. tinh liked a post in a topic by Q.Nguyen-Dai in Can't mesh a bone properly   
    Here's HM model:    Cuneiforme_1_PP_D.hm
  21. Alex Nguyen liked a post in a topic by Q.Nguyen-Dai in Import Material Database   
    Organize yourself material information (within XLS/CSV) and write a TCL script to read it and create material for Hypermesh.
     
  22. Joel Rodarte liked a post in a topic by Q.Nguyen-Dai in Elemental System, Global System, Analysis System   
    Beam forces are presented always within Elemental system. No sense to show them in Global system.
  23. Alex Nguyen liked a post in a topic by Q.Nguyen-Dai in Tetra dihedral quality check   
    @Alex Nguyen : Refine your mesh!
  24. brahmadev liked a post in a topic by Q.Nguyen-Dai in radius of circle using 3 nodes   
    Compute d1 Compute d2 Look for intersection d1 & d2 Radius = distance OA or OB or OC ==> It's time for homework!
     

  25. tinh liked a post in a topic by Q.Nguyen-Dai in Questions, Tips and Tricks for 2019X (New Interface)   
    Ahh, I just see for the 1st time interface of 2019 X! 
    You're right, the Keyboard settings were changed.
    2019 X's interface KILLS me !!!! 
×
×
  • Create New...