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


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

  1. Hi everyone, I want to develop a script to help me on elements selecting. Selecting elements as line (or "by path") occurs in my work frequently and no built in entity selecting method could help me on this one. So I am thinking to develop a macro to select elements just like how I can select nodes "by path". So my ides is I build a mark to store nodes "by path". Then I find out which elements does these nodes belong to and store these elements. But, I checked tcl functions list of hypermesh and, as far as I know, no ready-use function to help on locate elements by it's nodes. Does anyone know how could I possibly solve this problem? Or if you have better thoughts, Thanks
  2. Hi fellows, I'm creating a parametric macro which makes and mesh a bearing in an automatic way. I must add some kinematic coupling to model the balls contact so i need to select several nodes. those nodes are not easy to select. First of all, i've selected those elements linked with this surface (Figure 1) chosen nodes are the tagged ones. I just want to select the inner nodes so i've been thinking about creating another set of nodes by : *createmark nodes 1 "by sphere" $xball 0 $zball $circlemesh boundary 1 1 0 xball 0 zball are the ball centre corrdinates circlemesh is the radius ro the outer circle which contains the undesired nodes. So now i have 2 sets of nodes: undesired: 488187 488386 488385 488376 488375 488374 488373 488372 488368 488336 488335 488334 488325 488324 488323 488322 488321 488317 488285 488284 488283 488274 488273 488272 488271 488270 488269 488266 488234 488202 488199 488198 488197 488196 488195 488194 488184 488183 and sector: 488187 488198 488197 488196 488195 488194 488193 488192 488191 488190 488189 488188 488185 488184 I was wondering about a function that removes the repeated nodes in a new set so it just remain these nodes: 488188 488193 488192 488191 488190 488189 488185 Thank you HW fellows
  3. Hi, probably this question is super simple but I spent 2 hours searching the whole tcl commands for an option to querry the coodinates of a node which I can not find. You know how to do this? Thanks and best regards, Merula
  4. Hi guys, I am new in Tk programming and I have just created a Tk window using the tutorial in the HyperWorks GUI Toolkit Demos. My window is now finished but I have a problem to use it, I don't manage to get the entry value of a Combobox and "string fields". How can I do that ? Thanks for your help
  5. Hello All, I try to obtain the name or ID of the current collector (especially component) during the execution of a macro. I have looked for a command in the hypermesh help, but i did not find any "hm_getcurrentcollector" or equivalent Can someone help me? Thank you
  6. Hi, How to measure volume,area and mass using tcl. In hypermesh by Tools --> mass calc.. I need to change the density to adjust the mass of a component. For that i need the volume of the component. how to measure that using tcl...
  7. Hi all, I am looking for Tcl commands in Hypermesh documentation which can return the curvature parameters of lines. I intend to create lines offset (at a suitable distance) to certain curved lines (whose curvature exceeds a threshold value). Since I want this to be done automatically by Hypermesh, therefore it would be really nice if Hypermesh can check the curvature of every line in the model and then create an offset (washer layer) if it is required. For this purpose I am using *trim_by_offset_edges command, but this command needs the line numbers, which I (at the moment) have hard coded into the script. I want the curvatures automatically calculated, and offset lines automatically created based upon the decision after comparing the threshold value and current curvature value.
  8. Hi all, I am searching for an easy way to merge multiple component into a single component. I have already done some preliminary search but found nothing about merging components. For example: I have a .hm file with 3 components, each containing different type of entities (e.g. nodes, elements, solids, surfaces, points etc.), all I want is to have a tcl command that moves all entities in these existing components into a new component, and delete all previous components. I went through the documentation of scripts (Tcl modify commands) and found nothing directly helpful for this purpose. Experienced/knowledgeable users of HyperMesh, please help. Best regards, Mubeen.
  9. HyperViewのResultsブラウザには、読み込んでいる結果の周波数リストや時刻暦リスト(Simulationリスト)が表示されます。       このリストを、テキスト形式で出力したいという場合には、「File⇒Run⇒Tcl/Tk Script」から、下記のファイルを実行してみて下さい。 HV_SimulationLabelToTextFile.tcl ※ファイルのダウンロードには、必ず当フォーラムへのサインインが必要となります。サインインしない状態でファイルをダウンロードすると、ファイルが存在しないといった旨のメッセージが表示されますが、実際にはサインインするとダウンロードが可能になります。
  10. Hello Forum ! I'm new to this tool. Can someone share me the usage of this tool ? I was just wandering will it be any helpful to write the scripts in TCL for HM ? Thanks and regards, Brahmadev.
  11. Hi, How to duplicate elements in original component using tcl commands? Thanks, Sanket
  12. Hey guys, is it somehow possible to start and execute an OptiStruct Solver Run automatically by a .tcl command or script? The aim of this is to create the .h3d-File and .res-File automatically without pressing any buttons. I'm working with the 2017.2 student version of HyperWorks. Kind regards and thanks in advance, Simon
  13. Hey guys, I'm looking for a command to close or delete a variable totally. I got the problem that when I'm trying to run my script for the second time this error is occuring: This is the file in which the error is occuring: temp_in_fem.tcl Before starting this script the sample.scv file is created in this file: create_force_constraints.tcl I guess the variable is still saved somewhere in hypermesh and thus it can be deleted totally. I'm looking forward to your ideas. Kind regards Michael
  14. Dear All, is it possible to automate hex mesh for Flange (see ref Image attached) with washer around holes (holes may more than 2) . Any idea...Please Suggest... @tinh Regards PD
  15. What is Tcl command to get component name and split it? Thanks.
  16. Hi, all, When I import the LS-DYNA solver deck into hypermesh and output one component as a solver deck isolately, the other unreferenced nodes will also be output simultaneously. As the following picture, the white nodes are unreferenced nodes showed in LS-Prepost, and I need to use " Node edit" to cleanup every time. So I would like to know if there any method that can help me to cleanup the nodes automatically. https://imgur.com/a/RIdGahq
  17. 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
  18. Hey guys, I want to catch a mistake concerning the mesh. when this mistake is occuring, the user should be able to fix the mesh. During a while loop i have sometimes an error in the command *plotnodelist, because it needs the inputs "results of a analysis" and "nodes id". Sometimes the analysis fails and *plotnodelist leads to a break down of Hyperworks because of the missing results. Here is the relevant part of my code: while {} {...... if { [catch {*plotnodelist 1}] } { puts "analysis failed " break } else { *plotnodelist 1 } ....} Kind regards Simon
  19. Hello, Can anyone tell how to create spring elements between two components? Thanks, Sanket
  20. hi, I have a set of nodes .I have to find the elements attached to that. And store it in a variable. Can anyone tell how to use *findmark for this. Thanks, Mahes
  21. Hello, I am trying to write a tcl script for HyperView to run in batch mode. I need to load my model and results. Apply the results to the final increment and then export the model in a TCL script. None of the hypermesh commands are working and I cannot find HyperView TCL commands. Can anyone explain how this is done?
  22. Hi, I'm looking a way to get the value of TCL variable from FE Output template. In fact I would like to control template by using TCL variable, so my template has something like: *if([VALUE == 1]) ... *endif() *if([VALUE != 1]) ... *endif() Where "VALUE" comes from TCL variable. Any idea? TIA,
  23. How should i get these X1, X2 and X3 values for a selected node in the image. If i use hm_nodevalue $node_id It returns me X,Y,Z values as per WCS. But what i want is to get as shown in this window. Or may be if i can get local CSYS reference axis.
  24. hi all, every time when i run the same script for the second,third... times ,the previous entries are displayed by default as highlighted in the below snapshot.i want to clear these entries each time i run . thanks in advance regards, JAMIE
  25. 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
  • Create New...