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 プロセスの自動化
    • エンタープライズソリューション
    • データアナリティクス
    • 学生向け無償版

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 311 results

  1. 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
  2. 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] }
  3. 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
  4. 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" }
  5. 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
  6. Hello All, I want to select attached elements to a particular element. What is tcl command for this selection? Regards, Sanket
  7. HI All, how to set keep mesh option using script.... any idea or api @Imoto @tinh
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. Hi All, is it possible to automate hex meshing for leaf spring? regards PD
  15. 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.
  16. 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<<
  17. 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
  18. 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.
  19. お世話になっております。 ボルト穴のサイズを変更するための前処理として、選択した複製先の穴の中心ノードを用いて旧ボルト穴の存在する表面のエレメントをスクリプトで取得したいです。モデルが直交座標系から傾いている場合にその傾きに対応できる円範囲選択の記述方法の質問となります。 使用の場面として取得したelementのマスク後にreverseallすることで表面のメッシュだけを表示し処理します。新ボルト穴の平面と複製先の面は平行であるという前提です。 現在は "by face"を使わず、createmarkの"by cylinder"をオプションにし、 *createmark elem 1 "by cylinder" $X $Y $Z $X $Y [expr $Z + 0.01] 1000 1 inside 1 1 0.01 ;#数値誤差のための厚み0.01 XYZは複製先の穴の中心ノードの座標 *maskentitymark elems 1 0 ;#マスク のように複数のノードをforeachで回すたび毎に取得とマスクをしているのですが、この記述では面が直交座標系と平行であるとは限らないため、モデルが傾くと期待通りに取得できません。 そこで局所座標系を用いて、新ボルト穴の面から局所座標を取得して利用するとのことで3点を選択し、 #局所座標系の作成 *createmark nodes 1 $originPoint *systemcreate 1 0 $originPoint "x-axis" $Point1 "xy plane" $Point2 #局所座標系へのアサイン foreach node $SelectNodes { *createmark nodes 2 $node *systemsetreference nodes 2 1 *systemsetanalysis nodes 2 1 } のように作成して移動先のノードをアサインしました。 その後、局所座標系を利用した場合のoption等をどのように設定すれば傾きに合わせて平面のエレメントを取得できるのか分からず質問させていただきました。
  20. Dear all, I use the file command.tcl to create TCL script for hypermesh. I would like to do the same for motionview but i don't find this file. Do you know where i can get it ? Thank you for your support.
  21. タイトルの通り既知の3つの節点を通る円の半径と中心座標をスクリプトで取得する方法を探しています。 3つの節点はユーザーが選択するものとして、その取得まではできているのですがそこからは数学的に算出するしかないでしょうか? もし円の半径と中心座標を3つの節点から取得できるコマンド等ありましたら教えていただけると幸いです。
  22. 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!
  23. I wrote a tcl script to auto change current component after I excute a command from pushpanel. Here is my script: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- hm_pushpanel {velocities} set loadid [hm_info currentcollector loadcol] incr loadid if {[hm_entityinfo exist loadcol $loadid -byid] == 1} { set loadname [hm_getentityvalue loadcol $loadid name 1 -byid] *retainmarkselections 1 *currentcollector loadcol "$loadname" *retainmarkselections 0 } else { return } ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- I'll call out a pushpanel first, in this example : velocities panel. And I will create an initial velocity for current component and press the create button in this panel. I know how to change the current component. I have no idea about how to write the command script after pressing the create button and then change the current component to the next component. Does anyone can help me?
  24. HI, I'm new to hypermesh customization, I'm trying to create custom button in hypermesh to run particular Tcl script. thank you, sixz
  25. 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
×
×
  • Create New...