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'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. 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
  4. 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
  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 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
  10. 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] }
  11. 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
  12. 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" }
  13. 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
  14. Hello All, I want to select attached elements to a particular element. What is tcl command for this selection? Regards, Sanket
  15. HI All, how to set keep mesh option using script.... any idea or api @Imoto @tinh
  16. Hi , Is there a way to edit panels created using *createmarkpanel? we get a panel by using the command " *createmarkpanel nodes 1". We have only proceed option in that panel. Is there any way i can edit the panel and create 2 buttons called "Reject" and "Return" Thanks, Bharath
  17. Hello All, I want to select BeamSections in a particular beamsectioncollector using tcl script. How can i select it? I tried manually,. While doing it manually there is no option to Select beam sections collectorwise. Please suggest some commands to do the required task. Regards, Sanket Sunil Patil
  18. Hi All, by selecting 2 components , can we find surface area of both component close to each other with some tolerance to create contact. is there any direct API? any one having any idea regarding this? @tinh @Imoto @vipin Regards, PD
  19. I want to create a model log system that works like this 1. As I run the job, the name, date and path of the input file is located in a master excel file 2. After the job stops running (successfully or with error) the reason for that is also written in the excel file. 3. This way I can track my progress throughout th whole year. I assume it needs some TCL/tk programming in the files that are always called when somebody runs a job. Can anybody provide me with some help or a starting tip? Thanks in advance Adeel
  20. 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
  21. HI All, i want to write script to project the face nodes on nearest surface.. is there any API? any idea how to do this.. @tinh Thanks
  22. Hi All, is it possible to automate hex meshing for leaf spring? regards PD
  23. Hello all, I am trying to run a tcl script in batch mode, however, following error appears. Is there any way to solve this? You can see the error message and TCL script below.
  24. Hi, For selecting nodes by path, I have tried >> *nodelistbypath $node1 $node2 1 *entitysetcreatelist temp_nodes nodes 1 But this works only for a open path or shortest path from node1 to node2 in closed loop. Please help me in above matter for selecting all nodes on a path. P.S. I have a line with its ID on that path. For any idea related to nodes on that line. And, I don't want to go with --> *nodelistbypath $node1 $node_mid_path 1 *nodelistbypath $node_mid_path $node2 2 >>Union 1 and 2<< *nodelistbypath $node2 $node1 2 >>Union 1 and 2<<
  25. 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
×
×
  • Create New...