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 , Licensing and Altair One
    • 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
    • APA - Optical Design
  • Japanユーザーフォーラム
    • ユーザーフォーラムへようこそ
    • Altair製品の意外な活用例
    • インストール / ライセンス / Altair One / その他
    • モデリング(プリプロセッシング)
    • シミュレーション技術(ソルバー)
    • データ可視化(ポストプロセッシング)
    • モデルベース開発
    • コンセプト設計と工業デザイン
    • 製造シミュレーション
    • CAE プロセスの自動化
    • エンタープライズソリューション
    • データアナリティクス
    • 学生向け無償版(Altair 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 320 results

  1. Hi all, I started with 2nd order tetra meshing (Tetra10 or configuration 210) in batch mode i.e. writing tcl script employing Tcl commands for meshing a CATIA solid geometry. Unfortunately, it seems that it is not possible to set criteria and parameters for 3D meshing (e.g. tetra meshing), and even if the criteria file and parameter file is used (which only provides options for tria and quad elements), it doesn't affect the Tetra mesh quality and only the surface mesh is monitored by criteria and parameter files. I am creating Tetra elements by two methods: 1. Directly meshing the solids with Tetra10 elements 2. First creating a skin of Tria6 elements and then creating Tetra10 elements from this skin mesh. I used the *tetmesh command with suitably selected parameters, so that I can get a nice mesh (with minimum distortion) but finally NASTRAN found that there are some tetra elements with very low internal angles and it marks these elements as "FAILED" elements and stops the analysis. I checked the quality parameters for 3D elements (short key: F10), and found that many elements simply fail, and are well far away from the limits e.g. max. size, min size, entered in the tcl script. Is there any proper way to force HM to respect the limits of 3D mesh properties??
  2. Hello All, I have two components say A and B, some nodes on part A are intersecting part B. I am cheking it with hm_collisioncheck but I dont want to fix it with *collisionfix_temp, I want to move entire component A away from B with the amount equal to the interference. Is it possible to "read the penetration value (max depth) from collision check command" so that I can translate the entire component by that amount in my TCL scripts. OR Any other way to find this by co-ordinates of nodes? Thanks in advance!
  3. Hi all, I am trying to produce a script which lists displayed entities. Specifically, I am looking to write a script which displays all loadsteps, then creates a list of all loadcollectors, hides then reshows them and deletes all non-displayed loadcollectors. it seems a bit long winded but my model contains loadadd loadcollectors and when I come to delete unused loadcollectors it doesn't identify any... despite there being a good number which are in no way used. Cheers in advance Andy
  4. Hello Forum! I have been working on a project where it involves working of VBS as well as TCL. And before running the main logic in the TCL I want to run the VBS file from TCL using EXEC command but it was throwing some kind of error. I have a constraint of not using the batch file to run both the scripts individually. When I did a search on the internet I found that CScript or Wscript should be helping but while working with this command, it was of no help. Can someone share the approach of solving this issue. thanks and regards, Brahmadev.
  5. Hi , I wanted to mesh a lot of lines with variable lengths in model by using tcl script, but I found the sample script in help is not intelligent, for example *createmark lines 1 15 18 *linemesh_preparedata lines 1 30 *linemesh_saveparameters 0 3 0 0 *linemesh_saveparameters 1 2 0 0 *linemesh_savedata1 1 5 0 0 The parameter "density" in line 3 and 4 are manually assigned, and the "segment" and "density" parameteres must be strictly matched. If the length of each line are different, the density are also different. So, a lot of *linemesh_saveparameters commands are needed. It is not acceptable for this meshing scripting. So, is there a way to mesh lines with constant element size?
  6. Hi All, I am trying to capture error MESSAGE in hypermesh using TCL. I have one model in which property is not referenced. But still its not showing using preview unused command. So when i isolate the same property it shows error. I want to catch the error in hypermesh menu bar in a string variable Can anyone please help me ? Best Regards, Dhairyasheel Desai
  7. Hi, I am trying to change the animation mode in hyperview to "Set Modal Animation Mode" using tcl command.will be great if some can help me out. Thanks in advance Regards, Emil
  8. Hi there, I have written a .tcl script that can be run in Hyperworks (File>Run>Tcl/Tk scripts)) is there a way such that I can run this script from the command window? I have tried the following: C:/altair/hm/bin/win64/hmbatch.exe -tcl H:/3.Stress/Stress_Strain Processing/animate_one_all_pages_RFaxis.tcl however, this does not seem to work. -tcl <file> must be used with the hmbatch option? Cheers, Rob
  9. Hello everyone, i am new to Tcl programming and worked little bit with command.tcl file to create simple scripts. But now I would like to create a script with the help of if loop. I wanted the script automatically create the solids with bounding surfaces option and if the solids already exist in the model then to return. Can someone help me with this? I could only come out with this. *createmark surfaces 1 "displayed" *solids_create_from_surfaces 1 4 -1 2 Thank s and regards, Punith
  10. Hello All, I am using Hypermesh 2017 and using below link for tcl scripting, https://www.sharcnet.ca/Software/Hyperworks/help/hm/hmbat.htm?hm_createmark.htm Can anyone give me link of updated tcl commands which will work in hypermesh 2017? Regards, Sanket
  11. 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
  12. Hi All, I have one .csv file which contains part numbers in one column and their FE model (.bdf) file paths in another column. Now i want to write a tcl script that will read all part same numbers and their corresponding paths and it will give a pop-up window that "which part you want to import?". How can i do this? Please help regarding this. Regards, Sanket
  13. Hey guys, I created a .tcl-script, which I normally open with the active-tcl program. The script works as it is supposed to be and opens a GUI, where several buttons can used to do calculations etc.. In the next step, I created a button in HyperMesh and want my .tcl-script to be started by pressing this button. The problem is that the window I used to have when I've started the script by active-tcl doesn't appear when I use HyperMesh. Can you help me out with this problem? Thanks in advance, kind regards and greetings from Germany Simon You can find the script here:convert.tcl
  14. How to install these packages in tcl? WS::Server , WS::Client, WS::Utils
  15. Hey guys, my .tcl-script creates different filetypes and saves all of them into the document folder. In order to not create a mess of files, I want them to be saved in a specific folder. I copied the path of my folder and read it by opening a script, which saves the path into a variable. At the moment, I'm using the following command to create a new file: set f [open path.txt w] How can I save the file into a specific path? Kind regards, Simon
  16. Hi, Can anyone tell me what is tcl command to open mesh panel? Thanks, Sanket
  17. Hey guys, in order to set up a model, I want the user to choose in which degrees of freedom he wants to constrain his model. Is there a .tcl-command that opens a panel automatically where the user can enter specifications, especially the degrees of freedom, for the constraints? Kind regards, Simon
  18. Hey guys, I'm working at a customization problem. During a loop an automesh should be executed when the mesh criterium "aspect ratio" exceeds a specific value. Do you have an idea how I can get access to the aspect ratio values after each iteration? Kind regards Simon
  19. set original " 1 min length 1 1.0 10.00 7.750 3.250 1.000 0.000 0"; 上記のような、文字列の変数があった場合に、「split $original」を実行すると、下記のように返ってきます。 {} 1 min length {} {} {} {} {} {} {} {} 1 1.0 {} {} 10.00 {} {} 7.750 {} {} 3.250 {} {} 1.000 {} {} 0.000 {} {} {} {} {} {} 0 空白のリストだけを消したい場合は、下記のようにlremoveコマンドを使うと消すことができます。 lremove -all [split $original] ⇒1 min length 1 1.0 10.00 7.750 3.250 1.000 0.000 0
  20. Hi, There are many bolts in assemebly and they are connected by 2 beam elements (there are two elements between one bolt). I want to add one node to that center of it using Tcl if there is no other element is attached to it. How can i do that? Regards, Sanket
  21. Hello, Is there any command to get nodes on free 1d elements? Thanks, Sanket
  22. Hey guys, is there a .tcl-command which shows the maximal node stress of a structure after a simulation? Kind regards and thanks in advance Simon
  23. Hi all, I am trying to create my first GUI for an old script I did, and I don't know if I am doing in the best way. The GUI has a progress bar indeterminate (in the future I would want to do determinate), which should start when the user press a button and should stop when the script finish. However, when the script is running, GUI freezes and progress bar doesn't update. I have the GUI and the script in two different procedures, like this (only the relevant info is showed, but I can show the whole script): proc interface {} { # ------------------------------------------------------------------------------------------------ # set progress_frame [hwtk::labelframe $gui.progress_frame -text "Progress" -padding 5] pack $progress_frame -padx 1 -pady 3 -anchor n -fill x -side top set progress [hwtk::progressbar $progress_frame.progress -mode indeterminate -length 350] pack $progress # ------------------------------------------------------------------------------------------------ # set button_start [hwtk::button $bottom_frame.button_start -text "BURN IT!" -width 10 -command [list BarCommand start $progress_frame.progress]] pack $button_start -pady 1 -padx 3 -anchor e -side right -ipadx 4 -ipady 2 } proc BarCommand {op args} { foreach w $args { $w $op } update main } proc main {} { # A lot of commands here } I have only found two topics related with problem: Unfreeze the HyperMesh GUI (I added command "update" in the proc) Progress bar / status bar creation inside HM But the GUI is still not working. I add command "update" in the proc which is changing the progress bar, but it doesn't work. The GUI is like the one I show in the image below. I think I am missing something but I don't know what... Thanks in advance, Alex
  24. Hello Everyone! Recently I have come across with an HM API i.e. "*tangentbetweennodeandline". Syntax for the HM API --- *tangentbetweennodeandline is "node id line id checkpoints lineselected" for using this command it asks us NODE id and a LINE id, also the checkpoint where I generally use "20" for better accuracy. But the only thing which I don't get is what to use in "lineselected" When I use the same option through GUI I was able to select the required line, but when I want to use the above mentioned HM API it is requiring me to hardcode the line number beforehand which I'm not sure of the correct line. So I would be glad if anyone can help me with this specific problem of selection of lineselected. Thanks in advance. Regards, Brahmadev.
  25. Can we get command file for hyperview also as we get "command.tcl" file for hypermesh? Regards, Sanket
  • Create New...