Jump to content

Search the Community

Showing results for tags 'tcl'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Altair Support Forum
    • Welcome to Altair Support Forum
    • Installation and Licensing
    • Modeling & Visualisation
    • Solvers & Optimization
    • Multi Body Simulation
    • Conceptual design and Industrial design
    • Model-Based Development
    • Manufacturing Simulation
    • CAE Process Automation
  • Academic Partner Alliance Forum
    • APA - Composites
    • APA - CFD & Thermal
    • APA - Vehicle Dynamics
    • APA - Manufacturing
    • APA - Crash and Safety
    • APA - Noise, Vibration and Harshness
    • APA - System Level Design
    • APA - Structural and Fatigue
    • APA - Marine
  • Japanユーザーフォーラム
    • ユーザーフォーラムへようこそ
    • Altair製品の意外な活用例
    • インストールとライセンス
    • モデリング(プリプロセッシング)
    • シミュレーション技術(ソルバー)
    • データ可視化(ポストプロセッシング)
    • モデルベース開発
    • コンセプト設計と工業デザイン
    • 製造シミュレーション
    • CAE プロセスの自動化
    • Student Edition(学生用無償版)
    • エンタープライズソリューション


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 270 results

  1. Hi, I had planned to learn TCL/TK via online tutorial (tutorialpoint). When starting the tutorial, basics are easy to understand. But when getting deeper inside the tutorial after basics, it is very difficult to understand. So kindly help me with following questions. 1) Is there any easy way to learn this language??? 2) Online tutorials are like in coding format and their teaching also in same way. But written Hyper-mesh scripts are in different way. I am not getting this thing. 3) Any suggestion for TCL/TK books, videos and website for learning? Thanks in advance. Regards, Saravanan
  2. Hello I required to position impactors at 50 different positions on component. I can do it manually but I am look forward to do it automatically. How can we do that? Thanks for your support. Best Regards, Vijay Bondar
  3. Hi, I need to create a TCL script that automatically assigns material properties to individual CBEAM elements in a component composed of a large number of CBEAM elements. I am essentially creating a lattice within a component but using CBEAM elements. Does anyone have any advice regarding the script, or how I would go about doing it? Kind Regards, Laurence Maskell
  4. 通常、HyperMeshでは、節点はサーフェスやソリッドジオメトリと関連性を持っています。 関連が付いている場合は、エンティティ選択時の選択オプションの"by geoms"でサーフェスやソリッドジオメトリに関連する節点/要素を簡単に選ぶことができます。 もしも、節点とジオメトリの関連が全く無い場合には、ソリッドジオメトリの中にある節点を選びたいという時には、指定した座標値がソリッドジオメトリの内外かを返してくれる「hm_ispointinsidesolid」コマンドが便利です。 この「hm_ispointinsidesolid」コマンドを活用して、例えばユーザーが選択した節点群とソリッドジオメトリから、ソリッドの中にある節点だけを抽出したい場合は、下記のような記述で可能です。 set inlist ""; *createentitypanel solids "Select a solid"; set solidid [hm_info lastselectedentity solids]; *createmarkpanel nodes 1 "Select nodes"; foreach nodeid [hm_getmark nodes 1] { lassign [hm_getvalue nodes id=$nodeid dataname=coordinates] X Y Z; if {[hm_ispointinsidesolid $X $Y $Z $solidid] == "1"} { lappend inlist $nodeid; } } if {[llength $inlist] == "0"} { tk_messageBox -message "There is no node in selected solid geometry."; } else { tk_messageBox -message "Found the [llength $inlist] nodes,\nYou can call from retrieve option."; hm_createmark nodes 1 "by id" $inlist; *marktousermark nodes 1; } hm_markclearall 1; ※ファイルに保存して、"File→Run→Tcl/Tk Script"から実行できます。 ⇒Tclファイルのダウンロードはこちら:SelectNodesInsideSolidGeom.tcl InsideSolid.mp4
  5. Hello All, i trying to automate leaf spring meshing with hex mesh using tcl. anybody have any idea related to this? anybody worked on this? @tinh Regards, PD

    Tcl learning

    hi, i have interest to learn TCL scripting on hyper mesh. i have downloaded several tcl documents to learn it. the commands and structures on hypermesh are totally differs from the document. how do i learn it easily. please help me. regards MEIYARASU19
  7. Hey guys, I'm trying to write a script which deletes elements of a model, that have a young's modulus under a certain value ("Grenzwert"). Running the following Code, this is working as it is supposed to for the first 5 iterations. Afterwards the number of elements deleted stays the same all the time. The problem is, that there are still elements with a youngs modulus lower than 100. Do you know what's the problem here? Some annotations which may help to understand the code: lStressValue_1 = list containing the young's modulus of every element delete_id = element id which should be deleted # Suchen aller Werte unter Grenzwert set delete_id "" set delete_index {} set Grenzwert 100 set y -1 set Element "" # y gibt den Index des Felded unter Grenzwert an wird zu einer Liste zusammengefügt foreach Element $lStressValue_1 { incr y if {[expr $Element < $Grenzwert]} { lappend delete_index "$y" } } # Die Element-Ids aus der Liste der lIDs mit den Elementen unter Grundwert herauslesen foreach Element_C $delete_index { append delete_id "[lindex $lID_1 $Element_C] " } *createmark elements 1 {*}$delete_id *deletemark elements 1 Kind regards, Simon
  8. Hey guys, is there a way to create a label in the utility menu? I only find command to create buttons etc., but no command for labels. Can you help me out somehow? Kind regards Simon
  9. Hi all, How to get nodes from free edges and drag it in particular direction using tcl? Regards, Sanket
  10. Hello all How I can run .tcl script using a button? I searched a lot of information, but can't found I have a procedure: proc add_button {title command} { global frame count button $frame.$count -text $title -command $command -font "arial 10" pack $frame.$count -side top -pady 1 -padx 1 -fill x incr count } Then I call it: add_frame "TCL" add_button "test open file" {*readfile "C:/temp/11.tcl"} add_button "test open file 2" {*readfile "C:/temp/clip.hm"} But opening a .hm file works good, but .tcl does not work and I have an error: 0 0 while executing "*readfile "C:/temp/11.tcl"" invoked from within ".buttons.frame15.18 invoke" ("uplevel" body line 1) invoked from within "uplevel #0 [list $w invoke]" (procedure "tk::ButtonUp" line 24) invoked from within "tk::ButtonUp .buttons.frame15.18" (command bound to event) Can everyone explain me how correct this error or how can I run a .tcl file using buttons?
  11. Hi All, I want to Create a dictionary of Node Ids And their corrosponding coordinates using tcl. How can i create it? Regards, Sanket
  12. Hello, I am attempting to open HyperView and a model and run a TCL script to extract the displacement results from the model that has been loaded. I have been able to open HyperView from HyperMesh and load the correct model, however when it attempts to run the TCL script in HyperView I get the following error message Command line Tcl script read failed. invalid command name "mpo-9999766" while executing "m$t AddSelectionSet node" invoked from within "m$t GetSelectionSetHandle s$t [m$t AddSelectionSet node]" (file "C:/Users/Alec/Desktop/DispVer_HM/results/ExportDisp.tcl" line 6) invoked from within "source "C:/Users/Alec/Desktop/DispVer_HM/results/ExportDisp.tcl"" When I run ExportDisp.tcl just in HyperView and the code works perfectly. I have searched the forums to find out why when both pieces of code are run together it does not work. I have attached both scripts and a model in case that will help anybody troubleshoot. ExportDisp.tcl is the script that is designed to be run in HyperView and extract displacement results, and RunHyperView.tcl is run from HyperMesh and used to open HyperView, load model and run ExportDisp.tcl. Thank you in advance for your help. - Alec ExportDisp.tcl RunHyperView.tcl vf1_min3_dead_s1.h3d

    Script for Delete Empty

    hello, i am new to make scripts. i am trying to do a script to delete empty assemblies and sub assemblies in one action. i need a loop format of script to do this. but i dont know the structure. please help me out.
  14. Hello every one , any one have any tutorial or books to learn to scripting or give a valuable suggestion . Thanks Regards Yukesh
  15. brahmadev


    Hello Forum ! I'm new to this tool. Can someone share me the usage of this tool ? I was just wandering will it be any helpful to write the scripts in TCL for HM ? Thanks and regards, Brahmadev.
  16. Hi all, I have 2 mesh components..yellow and green considering yellow comp size...giving some tolerance of at least 2 elements size of green one...want to delete some portion from green as shown... then create mesh between these two comp...shape can be tri or quad or mixed. This is shell mesh... element size of both are different... no surface available for this 2 I want to automate these things... 1 . Delete some portion from green...considering size of yellow 2. Create mesh between yellow and green keeping connectivity in mind.. please help me out... if any one have any idea... Thanks & Regards, PD
  17. sanket_patil

    Closet Node

    Hi All, what is closet node and how to use it for drag command using tcl commands? Regards, Sanket
  18. Hi All, How to store and translate duplicated elements using tcl? Regards, Sanket
  19. Hey guys, after I have finished my work on a model, I start a new session in HyperMesh and want to delete the .fem-File from the previous model. This is not working, and a message appears saying that the .fem-file is still open in HyperMesh. If the command "file delete" is used, an error is occurring which says "permission denied". Do you know how I can solve this problem and delete the .fem-File without closing HyperMesh totally? Kind regards Simon
  20. Hi All, How can i get dependent node id of RBE3 elements using tcl commands? Regards, Sanket
  21. Hey guys, I'm trying to customize the output of a load step. Trying to run again the relevant parts of the command file, an error is occurring in this line. *startnotehistorystate {Updated string array} *setvalue loadsteps id=1 STATUS=2 4873={ } ROW=0 *endnotehistorystate {Updated string array} I'm pretty sure the empty brackets are the reason for the error, but I don't know how to get around them. Could you help me out with this problem? Kind regards Simon Attached you'll find my code. The relevant part starts after line 254. SKO_2.tcl
  22. Hey guys, I want to create several materials, properties and components automatically. The desired IDs of all the materials, properties and components are saved in an external file and then written into a variable. Each of these values should create an own material, an own property and an own component. For creating the first material, everything works fine. But when the second material should be created, an error is occurring. Do you have an idea how this problem can be fixed? Kind regards Simon Attached, you can find the file with the IDs (these are the values in column 1 saved into the variable "field1") and the .tcl-script I'm talking about. SKO_3.tcl SKO.strs
  23. Hi, How to duplicate elements in original component using tcl commands? Thanks, Sanket
  24. Hey guys, I want to export the elementstresses calculated in HyperMesh using a .tcl-file. I found a way using a results curve but I can only manage to export nodal stresses. Do you know a way how to export also the element stresses? Kind regards Simon
  25. Hey guys, I'm trying to implement an algorithm for the Soft Kill Option in HyperMesh. An important step is to vary the Young's Modulus of each element depending on the element stress. As a consequence of the different stresses of every element, do I need to create a new material and a new property for every element? Or do you have another way to solve this problem? Kind regards and thanks in advance Simon