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
    • APA - Optical Design
  • Japanユーザーフォーラム
    • ユーザーフォーラムへようこそ
    • Altair製品の意外な活用例
    • インストール / ライセンス / その他
    • モデリング(プリプロセッシング)
    • シミュレーション技術(ソルバー)
    • データ可視化(ポストプロセッシング)
    • モデルベース開発
    • コンセプト設計と工業デザイン
    • 製造シミュレーション
    • 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 319 results

  1. Hi all, I'm trying to put a script together which uses tickboxes but can't seem to find the command to produce a tickbox. Anyone have any ideas? Cheers Andy
  2. Hello, first of all im new to Hypermesh and all the scripting. I made a tcl script, which reads a file (like .txt .UFF) and creates nodes from coordinates mentioned in the file. Everything works perfect in the tclsh-environment, it looks like this: % set fp [open "test.UFF" r] file5e9730 % set file_data [read $fp] 1 1 1 1 10 0 0 1 1 1 1 0 10 0 1 1 1 1 0 0 10 I skipped the rest of the code because I think its not necessary. If I execute the script in Hypermesh I get the following error: couldn't open "test.UFF": no such file or directory If I dont read the data file and define the matrix shown above manually, everything is good. So why doesnt Hypermesh find my file? Its definitely in the folder where I start the session from. I hope my problem is clear and someone can help me.
  3. When I run this command using below tcl hv -b -tcl Image_Capture1.tcl example.modl example.res This is the results log I see on my linux terminal: Ready Loading Report... Applying Report... Ready Ready Capturing... Ready It's stuck at "Ready" and unless I press Ctrl+c or enter it doesn't exit back to terminal. How can I make the code to exit to terminal after the proc is over? proc BatchMain { } { set inputdeck [lindex $::argv 6] set resultfile [lindex $::argv 7] puts $inputdeck puts $resultfile set t [::post::GetT] hwi GetSessionHandle sess$t sess$t GetProjectHandle proj$t hwi OpenStack sess$t LoadReport Batch_Process.tpl sess$t ApplyReport Batch_Process replace true false 2 $inputdeck $resultfile set numpages [proj$t GetNumberOfPages]; for {set i 1} {$i <= $numpages} {incr i} { proj$t SetActivePage $i proj$t GetPageHandle pg$t $i pg$t Draw pg$t ReleaseHandle sess$t CaptureScreen png image_$i.png } hwi CloseStack proj$t ReleaseHandle sess$t Close } BatchMain
  4. Hi i have solid component. having 6 holes . 2 holes having bolts. i want find No of total holes and No of bolt holes like 6 and 2 how can we do this ...please help I am using this script... with this i can get to total number and and center of each hole...now how can i proceed.. i tried find attach option but did not work. set centlst []; hm_holedetectioninit *createmark surfs 1 all hm_holedetectionsetentities surfs 1 hm_holedetectionsettubeparams tube_shape=2 tube_type=0 hm_holedetectionfindholes 4 set n [hm_holedetectiongetnumberofholes] if { $n > 0 } { puts "Number of holes = $n" for {set i 0} {$i < $n} {incr i} { lappend centlst [lindex [hm_holedetectiongetholedetails $i]"3] } } hm_holedetectionend
  5. Hello, I am running the below command on a linux server hv -b -tcl Image_Capture.tcl example.modl example.res . and I get below error: Loading Report... Applying Report... Invalid character in integer field: '##'. This is the first time I am running this command on this server. I have attached the tcl file for reference. Please advice!
  6. Hi all There are a lots of bdf file from different team mates. I would like to use hypermesh to check all bdf file for duplicate elements or free nodes etc.. Is it possible to select multiple bdf files once and run these check rules? Best Regards
  7. Hello, I am looking for converting the userprofile from Radioss to Optistruct in the Batch mode. I dont want to convert the model. I just want to change the solver/user profile to Optistruct and use the options there. There are few commands available: hm_framework loaduserfprofile: This is a GUI query and worked only at the command prompt of hypermesh GUI. *solverconvert: This can convert the solvers. But from the 'https://connect.altair.com/CP/kb-view.html?kb=149260', the solver conversion isn't supported for Radioss to Optistruct. I would be grateful if anyone has tried the same and can share your view. . Thanks
  8. Hello Everyone, is there any command to get dependent nodes of RBE2 elements? Regards, Sanket
  9. Hi everyone, I have problem obtaining the TCL command of auto contact pair finding. My model contains 6 components, I use the Abaqus contact manager to automatically find contact pairs for me. Manually, I can successfully find contact pairs. Since I want to run this process automatically by TCL script, I do the process manually and check out the code added in the command.cmf file. Unfortunately, the code are very long, approximately 50000 lines. Also, the code are about nodes' data and surface set, which is not I am looking for. I am looking for the command that represents the buttons "auto", "components: all", "find", "create". I will show these buttons in the figures attached. By the way, the file: raw.hm is my model. Again, my goal is to get the TCL code for finding contact pairs. Please help me, thanks! raw.hm
  10. HyperViewのResultsブラウザには、読み込んでいる結果の周波数リストや時刻暦リスト(Simulationリスト)が表示されます。       このリストを、テキスト形式で出力したいという場合には、「File⇒Run⇒Tcl/Tk Script」から、下記のファイルを実行してみて下さい。 HV_SimulationLabelToTextFile.tcl ※ファイルのダウンロードには、必ず当フォーラムへのサインインが必要となります。サインインしない状態でファイルをダウンロードすると、ファイルが存在しないといった旨のメッセージが表示されますが、実際にはサインインするとダウンロードが可能になります。
  11. Hi all I created a table with Fx,Fy,Fz values with many load cases. I would like to get the max value for each column. How can i get the max value of a table's column with TCL? Best Regards Seçkin
  12. Hey all, I am a bit confused right now. I did some exercise with hyperview tcl. I set up a real simple script: # Hyperview Exercise1 hwi OpenStack hwi GetSessionHandle session1 session1 GetProjectHandle project1 project GetPageHandle page1 1 page1 GetWindowHandle win1 1 win1 SetClientType animation hwi CloseStack When running the script multiple times it says several times: session1: object with this name already exists. I thought, wit hhwi CloseStack all handles would get released which is not the case? Someone seeing the same behaviour with those lines running 2 times? Thanks in advance and best regards, Merula
  13. Hi all I would like to get a list of thickness for selected elements. I wrote these codes but it gives just one thickness as a result. Could you please help me ? *createmark elements 1 179 79 150 279 35 ... set test [hm_getthickness elements 1] foreach elements $test { puts "$test" }
  14. Hi all, I created an GUI in hypermesh. However i can not activate command from TCL gui. Here is a simple code ::hwtk::button $f.b1 -text "Text Button" -help "Text only" -command {createentity comps name=component3} If anyone knows how to do that, could you please show me? Regards
  15. Hi all I wrote this code for combobox. However when i change the list the results not. I expect when this list's value changes, get the area and moi for selected beam sections. Could you please help me? hwtk::labelframe $w.lf3 -text "Defined List Only" hwtk::combobox $w.lf3.cb -values $beam_list -help "BEAM SECTIONS" -textvariable beam_sect switch -regexp -- $beam_sect { I { set Inertia [hm_getvalue beamsects name=I_beam dataname=results_Icentroid0] set dim_1 [hm_getvalue beamsects name=I_beam dataname=beamsect_dim1] set dim_2 [hm_getvalue beamsects name=I_beam dataname=beamsect_dim2] set dim_3 [hm_getvalue beamsects name=I_beam dataname=beamsect_dim3] set dim_4 [hm_getvalue beamsects name=I_beam dataname=beamsect_dim4] set dim_5 [hm_getvalue beamsects name=I_beam dataname=beamsect_dim5] set dim_6 [hm_getvalue beamsects name=I_beam dataname=beamsect_dim6] set aera [hm_getvalue beamsects name=I_beam dataname=results_area] set Icog [hm_getvalue beamsects name=I_beam dataname=results_centroid0] } C { set Inertia [hm_getvalue beamsects name=C_beam dataname=results_Icentroid0] set dim_1 [hm_getvalue beamsects name=C_beam dataname=beamsect_dim1] set dim_2 [hm_getvalue beamsects name=C_beam dataname=beamsect_dim2] set dim_3 [hm_getvalue beamsects name=C_beam dataname=beamsect_dim3] set dim_4 [hm_getvalue beamsects name=C_beam dataname=beamsect_dim4] set dim_5 [hm_getvalue beamsects name=C_beam dataname=beamsect_dim5] set dim_6 [hm_getvalue beamsects name=C_beam dataname=beamsect_dim6] set aera [hm_getvalue beamsects name=C_beam dataname=results_area] set Icog [hm_getvalue beamsects name=C_beam dataname=results_centroid0] }
  16. Hello, I would like to have a node numbering in a prescribed order. Requirement - Nodenumber sequence from top to bottom and follwing the same from left to right in the X-Y plane. This works well as shown in the figure. The requirement is to witness the same numbering order in all the X-Y planes along Z axis. The drag option along Z axis is used to create 3D elements. I dont achieve the node numbering in the same order as that on the 2d plane. The node numbers skip and have no sequential order as shown in the figure below. The renumber option available did not turn out to be of much help. Any sorts of suggestions or help is appreciated. Thanks, Sankalp
  17. Hello All, I want to select attached elements to a particular element. What is tcl command for this selection? Regards, Sanket
  18. Hello All, I want to delete elements on YZ plane. How can i delete elements using tcl commands? Regards, Sanket
  19. Hi, I have written a script in TCL that changes the material properties using an automatic number generator. The script works when I write it into the console, (The interpreter at the bottom of the page, not sure of the correct name). But when I run the script using the run TCL script button nothing happens. I have attached the script. It changes the material properties of a MAT9ORT card. Can someone take a look at my script and give me some advice on how it can be changed to run correctly. I have also attached my hm file for which I am attempting to change the material properties. Kind Regards, Laurence Maskell YMbeamchanger.tcl clevis2.0run.hm
  20. Hello all I have a GUI with frame and buttons. How I can put WITH THIS CODE combobox to this frame? In the marked in red region? And code: destroy .buttons destroy .combo destroy .combo1 toplevel .buttons wm title .buttons "Menu" set count 0 proc add_frame title { global frame count set bold 0 set frame .buttons.frame$count frame $frame -border 5 -relief groove label $frame.label -text $title -font "arial 10 bold" -foreground red pack $frame -side left -padx 2 -pady 2 -anchor n -fill both pack $frame.label -side top -padx 2 -pady 2 incr count } 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 } add_frame "Components view" add_button "Show all mesh" {} add_button "Hide all mesh" {} add_button "Show all elements" { } add_button "Hide all elements" { } add_button "Show surface edges" {} add_button "22222" {} add_button "33333" {} add_frame "2D Mesh ()" add_button "Add mesh to displayed surfs" {}
  21. Hi All, I have to run in batch mode a tcl file, in which a meshing process is recorded. Is there a guide or some tutorials? The tcl is perfectly working if i run it from Hypermesh, but it doesn't if I use hmbatch.exe Thanks, Enrico
  22. Hello all. I have a question. Is it possible to create with .tcl commands general surfaces, but for all solids. It is very tedious to constantly perform repeated commands. And script could solve this problem. For example this detail: This surfaces were made by next commands: add_button "Make boolean surfaces" { *createmark solids 1 1 *createmark solids 2 5 *boolean_merge_solids 1 2 14 2 *createmark solids 1 1 *createmark solids 2 5 *boolean_merge_solids 1 2 14 2 *createmark solids 1 2 *createmark solids 2 1 *boolean_merge_solids 1 2 14 2 *createmark solids 1 3 *createmark solids 2 1 *boolean_merge_solids 1 2 14 2 *createmark solids 1 4 *createmark solids 2 1 *boolean_merge_solids 1 2 14 2 *createmark solids 1 5 *createmark solids 2 1 *boolean_merge_solids 1 2 14 2 *createmark solids 1 2 *createmark solids 2 2 *boolean_merge_solids 1 2 14 2 *createmark solids 1 2 *createmark solids 2 3 *boolean_merge_solids 1 2 14 2 *createmark solids 1 2 *createmark solids 2 4 *boolean_merge_solids 1 2 14 2 *createmark solids 1 2 *createmark solids 2 5 *boolean_merge_solids 1 2 14 2 *createmark solids 1 3 *createmark solids 2 1 *boolean_merge_solids 1 2 14 2 *createmark solids 1 3 *createmark solids 2 2 *boolean_merge_solids 1 2 14 2} But if we have about 100+ solids and more? How to solve this question\problem? Thanks!
  23. Can we get a number of how many nodes created by my previous operation? (I want to use that number and decide next operation) OR I am able to get temp nodes out of my previous operation. I have temp node and other nodes. Can I count temp nodes on display? (one way to do it I can maskall and count displayed, However, I want to give user visualization of nodes created with respect to displayed component) So any way around it? Thank you
  24. Hello, I would like to extract the node point stresses after an analysis using a tcl script for further analysis in Matlab. Control cards only allow me to export the GPSTRESS as HM or H3D which is not useful for running an analysis outside of hypermesh and hyperview. What functions should I use to accomplish this? Or is there an easier way? Thank you, -Eric
  25. Hi All working on 3D flange having holes..i m trying to write script for 3D mesh of it.. process i am following is : 1. washer split for holes. 2. 2D Automesh surfaces 3. Solid map I want 2D Automesh process to be interactive so that user can adjust mesh around holes to create good washer.. How can i do this..? Regards, PD
  • Create New...