Jump to content

Imoto

Administrators
  • Content Count

    309
  • Joined

  • Last visited

  • Days Won

    14

Reputation Activity

  1. 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];
    }
  2. Pandurang liked a post in a topic by Imoto in How to judge a surface is curve surface or flat surface?   
    Hi @xiaoming
     
    Check the following things.
    ・line length vs point-point distance of each edges.
    ・normal of surface at each points.
     
    Related APIs.
    ・hm_linelength
    ・hm_getdistance
    ・hm_getsurfacenormal
  3. TA784 liked a post in a topic by Imoto in HyperWorks Solver Run Managerのインストール   
    Student Editionでは、RADIOSS Managerを起動することは出来ません。
     
    HyperMeshのAnalysisページ⇒Radiossボタンから、実行を行って下さい。

  4. tinh liked a post in a topic by Imoto in How to create a GUI workflow in HyperMesh?   
    Hi @Roy Duan
     
    1.Save as .pmt file from Process Studio.
    2.Stat the HyperMesh.
    3.View(Pulldown) -> Process Manager.
    4.Select .pmt file as Load template.

     
    Thanks,
    Imoto
  5. TA784 liked a post in a topic by Imoto in HyperWorks Solver Run Managerのインストール   
    File⇒Run⇒Tcl/Tk ScriptやCommand fileについては、HyperMeshのスクリプトを実行します。
    HyperWorksのソルバーとしては、RADIOSSやOptiStructがありますが、これらをStudent Editionから実行する場合は、Analysis⇒OptiStructやRADIOSSボタンから実行します。
    ※商用ライセンスの場合は、別の実行方法があります。
  6. Pandurang liked a post in a topic by Imoto in How to get already created node or element set   
    Hi @Vikas Kumar
     
    Now I guess understood your point, it should be specify the poolname when get the Set handle.
    Like this -> modl$t GetSelectionSetHandle sels${t}_00${sid} "Set $sid";
     
    --- Correct example ---
    hwi OpenStack;
    set t [::post::GetT];
    hwi GetSessionHandle sess$t;
    sess$t GetProjectHandle proj$t;
    proj$t GetPageHandle page$t [proj$t GetActivePage];
    page$t GetWindowHandle wind$t [page$t GetActiveWindow];
    wind$t GetClientHandle clie$t;
    clie$t GetModelHandle modl$t [clie$t GetActiveModel];
    foreach sid [modl$t GetSelectionSetList "Set"] {
     modl$t GetSelectionSetHandle sels${t}_00${sid} "Set $sid";
     set name [sels${t}_00${sid} GetLabel];
     set list [sels${t}_00${sid} GetList];
     puts "Name = $name , IDs = $list";
    }
    hwi CloseStack;
     
    Thanks,
    Imoto
  7. Livil Lyle liked a post in a topic by Imoto in How to get already created node or element set   
    @Vikas Kumar
     
    Absolutely, because if remove the HyperMesh-Commnet, the solver deck does not contain the any Label and Types.
    Like this->

    So, HyperView will create the both sets of Node and Elements with labeled by ID.

     
    Thanks,
    Imoto
  8. Vikas Kumar liked a post in a topic by Imoto in How to get already created node or element set   
    @Vikas Kumar
     
    Absolutely, because if remove the HyperMesh-Commnet, the solver deck does not contain the any Label and Types.
    Like this->

    So, HyperView will create the both sets of Node and Elements with labeled by ID.

     
    Thanks,
    Imoto
  9. tinh liked a post in a topic by Imoto in How to get already created node or element set   
    @Vikas Kumar
     
    You can get the ID list with following example,
     
    hwi OpenStack;
    set t [::post::GetT];
    hwi GetSessionHandle sess$t;
    sess$t GetProjectHandle proj$t;
    proj$t GetPageHandle page$t [proj$t GetActivePage];
    page$t GetWindowHandle wind$t [page$t GetActiveWindow];
    wind$t GetClientHandle clie$t;
    clie$t GetModelHandle modl$t [clie$t GetActiveModel];
    foreach sid [modl$t GetSelectionSetList "Set"] {
     modl$t GetSelectionSetHandle sels${t}_00${sid} $sid;
     set name [sels${t}_00${sid} GetLabel];
     set list [sels${t}_00${sid} GetList];
     puts "Name = $name , IDs = $list";
    }
    hwi CloseStack;
     
    Thanks,
    Imoto
  10. Vikas Kumar liked a post in a topic by Imoto in How to get already created node or element set   
    @Vikas Kumar
     
    You can get the ID list with following example,
     
    hwi OpenStack;
    set t [::post::GetT];
    hwi GetSessionHandle sess$t;
    sess$t GetProjectHandle proj$t;
    proj$t GetPageHandle page$t [proj$t GetActivePage];
    page$t GetWindowHandle wind$t [page$t GetActiveWindow];
    wind$t GetClientHandle clie$t;
    clie$t GetModelHandle modl$t [clie$t GetActiveModel];
    foreach sid [modl$t GetSelectionSetList "Set"] {
     modl$t GetSelectionSetHandle sels${t}_00${sid} $sid;
     set name [sels${t}_00${sid} GetLabel];
     set list [sels${t}_00${sid} GetList];
     puts "Name = $name , IDs = $list";
    }
    hwi CloseStack;
     
    Thanks,
    Imoto
  11. pohan liked a post in a topic by Imoto in Script to assign colour to the property based on its thickness or name   
    If you using HyperMesh, Just set the "By Thickness" mode.
     
    *setelementcolormode 4;

  12. Pandurang liked a post in a topic by Imoto in Intersections between elements   
    You can use hm_collision* commands.
     
    Ex:
    *createmark elems 1 displayed;
    hm_collisioninit;
    hm_collisionentitycreate elems 1 0 1 0 0 0 0 0 0;
    hm_collisioncheck 1 0 0 0 0 0 0 90.0 0 1 0.0 1;
    hm_getmark elems 1;
    hm_collisionend;
     
    Thanks,
    Imoto
  13. Pandurang liked a post in a topic by Imoto in macro to delete elements by min length   
    You can use hm_getelemcheckelems command.
     
    Example:
    hm_createmark elems 1 "by config" 104;
    set fail [hm_getelemcheckelems 1 2 length below 1.0];
    hm_createmark elems 1 $fail;
    *deletemark elems 1;
     
    Thanks,
    Imoto
  14. Pandurang liked a post in a topic by Imoto in How to obtain the area of components   
    Yes, please try following lines.
     
    set fn [tk_getSaveFile -defaultextension csv];
    set fh [open $fn w];
    puts $fh "Mass,Volume,Area";
    *createmark elems 1 displayed;
    lassign [hm_getmass elems 1] mass volume area;
    puts $fh "${mass},${volume},${area}";
    close $fh;
     
  15. pohan liked a post in a topic by Imoto in macro to delete elements by min length   
    You can use hm_getelemcheckelems command.
     
    Example:
    hm_createmark elems 1 "by config" 104;
    set fail [hm_getelemcheckelems 1 2 length below 1.0];
    hm_createmark elems 1 $fail;
    *deletemark elems 1;
     
    Thanks,
    Imoto
  16. tinh liked a post in a topic by Imoto in macro to delete elements by min length   
    You can use hm_getelemcheckelems command.
     
    Example:
    hm_createmark elems 1 "by config" 104;
    set fail [hm_getelemcheckelems 1 2 length below 1.0];
    hm_createmark elems 1 $fail;
    *deletemark elems 1;
     
    Thanks,
    Imoto
  17. tlewis3348 liked a post in a topic by Imoto in Adding buttons to the Utility Menu without administrator access   
    It's working fine with Start-in directory in my PC and my colleag's PC.
    I tested with attached userpage.mac.
    userpage.mac
     
    Thanks,
    Imoto
  18. pohan liked a post in a topic by Imoto in How to obtain the area of components   
    Yes, please try following lines.
     
    set fn [tk_getSaveFile -defaultextension csv];
    set fh [open $fn w];
    puts $fh "Mass,Volume,Area";
    *createmark elems 1 displayed;
    lassign [hm_getmass elems 1] mass volume area;
    puts $fh "${mass},${volume},${area}";
    close $fh;
     
  19. pohan liked a post in a topic by Imoto in How to obtain the area of components   
    Hi
     
    You can use hm_getmass command.
     
    Thanks
  20. tinh liked a post in a topic by Imoto in HyperView Macro   
    Hi Toan,
     
    It is not easy like HyperMesh, please try the attached sample in HyperView.
    HV_SelectionCollectorSample.tcl
     
    Thanks,
    Imoto
  21. Livil Lyle liked a post in a topic by Imoto in Splitting CAD file   
    Hi Vipin
     
    You can use "by block" option in *createmark.
    Here is sample code.
     
    set blockname [::hwat::utils::GetUniqueName block "Dummy"];
    *createsimpleblock $blockname 11 -100000 -100000 0.5 100000 100000 100000;
    *createmark surfs 1 "by block name" $blockname;
    *numbersmark surfaces 1 1;
    *createmark blocks 1 "by name only" $blockname;
    *deletemark blocks 1;
     
    Thanks,
    Imoto
  22. Pandurang liked a post in a topic by Imoto in Set Animation Mode in Hyperview   
    Hi Emil,
     
    In my recomendation, you should use the ARD (Automated Reporting Director), which is a part of PSO solutions.
    ARD has the all feature you are looking for.
     
    Please visit our website.
     
    https://altairhyperworks.com/product/automated-reporting-director?__hstc=239203932.4b3c176b4de93a8890046fdef4b286ae.1527155885988.1527155885988.1527155885988.1&__hssc=239203932.3.1527155885988&__hsfp=827660387&_ga=2.176241893.111535606.1527155884-1761386969.1527155884
     
    Thanks,
    Imoto
  23. Pandurang liked a post in a topic by Imoto in Splitting CAD file   
    Hi Vipin
     
    You can use "by block" option in *createmark.
    Here is sample code.
     
    set blockname [::hwat::utils::GetUniqueName block "Dummy"];
    *createsimpleblock $blockname 11 -100000 -100000 0.5 100000 100000 100000;
    *createmark surfs 1 "by block name" $blockname;
    *numbersmark surfaces 1 1;
    *createmark blocks 1 "by name only" $blockname;
    *deletemark blocks 1;
     
    Thanks,
    Imoto
  24. vipin liked a post in a topic by Imoto in Splitting CAD file   
    Hi Vipin
     
    You can use "by block" option in *createmark.
    Here is sample code.
     
    set blockname [::hwat::utils::GetUniqueName block "Dummy"];
    *createsimpleblock $blockname 11 -100000 -100000 0.5 100000 100000 100000;
    *createmark surfs 1 "by block name" $blockname;
    *numbersmark surfaces 1 1;
    *createmark blocks 1 "by name only" $blockname;
    *deletemark blocks 1;
     
    Thanks,
    Imoto
  25. Imoto liked a post in a topic by Michiko Nejikane in ファイルの読み込み / ウィンドウ調整 / レンダリング   
    まずはEvolveに慣れるために、簡単なデータの読み込みとウィンドウの操作、レンダリングについてご紹介します。
     
    【データの読み込み】
    1.ファイル > 開く を選択し、開かれたダイアログボックスでファイルを指定します。
      
     
    2.下記フォルダにあるサンプルデータを読み込みます。
      Evolveインストールフォルダ / Examples / Rendering / Lens.evo
      
     
    【ウィンドウ構成の変更】
    デフォルトの構成からパターンを変更してみましょう。
    ・ 指定したウィンドウの拡大表示
     ウィンドウ上部のドットの領域をダブルクリックするか、キーボードのVを押します。
     
     
    ・ ビューの変更
     ウィンドウ左上部にある文字をクリックしてビューを切り替えます。
     
     
    ・ レイアウトの構成
      ⇒ 
     
    【レンダリングの実行】
    下図に示す位置のアイコンをクリックするとレンダリングが実行されます。
     ⇒ 
     
     
      
     
     
×
×
  • Create New...