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


Location

Found 301 results

  1. For more information, see www.altair.com/mbd2019 and www.altair.com/mbd2019/compose. To download a free 1-year license of this software, go to https://basicportal.altair.com/downloads. Do you want to do technical calculations, scripting, data visualization or data processing (especially involving CAE or test data)? If yes, then whether you are involved in academia or industry or are just a hobbyist/maker looking for cool & useful software, this no-cost software could help you achieve your goals. The multi-language environment of Compose enables the combined use of scripts written with its open matrix language (OML) with scripts written in Tcl/Tk or Python. And OML is compatible and inter-operable with Octave and MATLAB®. Altair has also expanded its support of open standards by open-sourcing its open matrix language (OML). Interested users and contributors can download source code from the OpenMatrix website and actively participate in this burgeoning R&D community. Give Altair Compose™ and OML a try today!
  2. 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
  3. 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
  4. Hi All, is it possible to automate hex meshing for leaf spring? regards PD
  5. 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.
  6. 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.
  7. 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<<
  8. 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
  9. お世話になっております。 ボルト穴のサイズを変更するための前処理として、選択した複製先の穴の中心ノードを用いて旧ボルト穴の存在する表面のエレメントをスクリプトで取得したいです。モデルが直交座標系から傾いている場合にその傾きに対応できる円範囲選択の記述方法の質問となります。 使用の場面として取得した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等をどのように設定すれば傾きに合わせて平面のエレメントを取得できるのか分からず質問させていただきました。
  10. 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.
  11. 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?
  12. hello, i am new to make scripts. i am trying to do a script to delete empty assemblies and sub assemblies in one action. i need a loop format of script to do this. but i dont know the structure. please help me out.
  13. タイトルの通り既知の3つの節点を通る円の半径と中心座標をスクリプトで取得する方法を探しています。 3つの節点はユーザーが選択するものとして、その取得まではできているのですがそこからは数学的に算出するしかないでしょうか? もし円の半径と中心座標を3つの節点から取得できるコマンド等ありましたら教えていただけると幸いです。
  14. Hello I want to take some values from user so how can I take values from user Like in Hypermesh we use hm_getfloat Is there any command which will serve same purpose in hyperview??
  15. 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!
  16. Hi All, I am selecting component using *createmarkpanel comps 1 " " ; Now i want to know selected component contains 2d 0r 3d element; Regards, PD
  17. 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?
  18. HI, I'm new to hypermesh customization, I'm trying to create custom button in hypermesh to run particular Tcl script. thank you, sixz
  19. 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
  20. Hi, I have a structure made of 3d solid map hex mesh elements, ie. primitive unit cells (see primitive image attached). I have turned my hex mesh elements into bar2 elements. I would like to create a central node to the primitive unit cell and connect bar elements to this central node (see body centred cubic image). I know this will most likely be a TCL script problem but I'm not sure how the script would be written. I have successfully created the primitive unit cell and used config edit tool to create bar2 elements (CBEAM's) But I would now like to do this with elements connected to a central node. A comparison of what I'm attempting to do can be seen in this paper: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6265793/pdf/materials-11-02073.pdf I look forward to hearing from the community, Kind Regards, Laurence
  21. 通常、HyperMeshでは、節点はサーフェスやソリッドジオメトリと関連性を持っています。 関連が付いている場合は、エンティティ選択時の選択オプションの"by geoms"でサーフェスやソリッドジオメトリに関連する節点/要素を簡単に選ぶことができます。 ただ、節点とジオメトリの関連が全く無い場合には、この方法で選ぶことが出来ません。 節点とジオメトリの関連が無い状態でも、ソリッドジオメトリの中にある節点を選びたいという時には、指定した座標値がソリッドジオメトリの内外かを返してくれる「hm_ispointinsidesolid」コマンドが便利です。 この「hm_ispointinsidesolid」コマンドを活用して、例えばユーザーが選択した節点群とソリッドジオメトリから、ソリッドの中にある節点だけを抽出したい場合は、下記のような記述で可能です。 set inlist ""; *createentitypanel solids "Select a solid"; set solidid [hm_info lastselectedentity solids]; *createmarkpanel nodes 1 "Select nodes"; foreach nodeid [hm_getmark nodes 1] { lassign [hm_getvalue nodes id=$nodeid dataname=coordinates] X Y Z; if {[hm_ispointinsidesolid $X $Y $Z $solidid] == "1"} { lappend inlist $nodeid; } } if {[llength $inlist] == "0"} { tk_messageBox -message "There is no node in selected solid geometry."; } else { tk_messageBox -message "Found the [llength $inlist] nodes,\nYou can call from retrieve option."; hm_createmark nodes 1 "by id" $inlist; *marktousermark nodes 1; } hm_markclearall 1; ※ファイルに保存して、"File→Run→Tcl/Tk Script"から実行できます。 ⇒Tclファイルのダウンロードはこちら:SelectNodesInsideSolidGeom.tcl ※ダウンロードには、必ずフォーラムへのサインインが必要です。 InsideSolid.mp4
  22. Hey guys, I got a question concerning the following model. I want to move all the elements, which are surrounding the holes, into a component. Do you know a command how to mark them? Thanks in advance, Simon
  23. How to install these packages in tcl? WS::Server , WS::Client, WS::Utils
  24. HyperViewのResultsブラウザには、読み込んでいる結果の周波数リストや時刻暦リスト(Simulationリスト)が表示されます。       このリストを、テキスト形式で出力したいという場合には、「File⇒Run⇒Tcl/Tk Script」から、下記のファイルを実行してみて下さい。 HV_SimulationLabelToTextFile.tcl ※ファイルのダウンロードには、必ず当フォーラムへのサインインが必要となります。サインインしない状態でファイルをダウンロードすると、ファイルが存在しないといった旨のメッセージが表示されますが、実際にはサインインするとダウンロードが可能になります。
  25. I need to create a macro, which would help me to display the name, material properties and dimensions of a component by clicking/selecting it, moreover if the components contains multiple parts it would help to select only those parts whose Properties tag i wish to display. Any help in this regard is very much appreciated.
×
×
  • Create New...