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


Forums

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

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Interests


Organization

Found 319 results

  1. 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
  2. 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.
  3. 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?
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. How to install these packages in tcl? WS::Server , WS::Client, WS::Utils
  13. 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
  14. Hi, Can anyone tell me what is tcl command to open mesh panel? Thanks, Sanket
  15. 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
  16. 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
  17. 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
  18. 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
  19. Hello, Is there any command to get nodes on free 1d elements? Thanks, Sanket
  20. 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
  21. 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
  22. 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.
  23. Can we get command file for hyperview also as we get "command.tcl" file for hypermesh? Regards, Sanket
  24. Hey guys, I want to calculate the mass of my model using a tcl-script. Is there a simple command to do this? (I haven't found one yet.) If this is not the case, do you know another way how to solve this problem? Kind regards Simon
  25. The tcl command *set_meshedgeparams 0 1 0 does not seem to work in HM 2017 however it works just fine in 14. Is there any reason this could be happening and any way to correct it ? I am trying to use *set_meshedgeparams as a precursor command to *hmmeshspline Are any of the above commands deprecated in HM 2017 ? Thanks. Any help is appreciated.
×
×
  • Create New...