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 , Licensing and Altair One
    • 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製品の意外な活用例
    • インストール / ライセンス / Altair One / その他
    • モデリング(プリプロセッシング)
    • シミュレーション技術(ソルバー)
    • データ可視化(ポストプロセッシング)
    • モデルベース開発
    • コンセプト設計と工業デザイン
    • 製造シミュレーション
    • 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. I have a results file with 120 subcases. Each subcase has its own contour plot and results. I want to retrieve the max displacement for each subcase and write it to a file without having to view each subcase. Ideally, I would like the legend value of the displacement to be "fixed" not "scientific". I've written a couple TCL scripts for Hypermesh, and am familiar with the puts for writing to the file, but have no idea what any of the commands are for the hyperview tcl.
  3. Hi all, I have 2 mesh components..yellow and green considering yellow comp size...giving some tolerance of at least 2 elements size of green one...want to delete some portion from green as shown... then create mesh between these two comp...shape can be tri or quad or mixed. This is shell mesh... element size of both are different... no surface available for this 2 I want to automate these things... 1 . Delete some portion from green...considering size of yellow 2. Create mesh between yellow and green keeping connectivity in mind.. please help me out... if any one have any idea... Thanks & Regards, PD
  4. Hi, I wish to create a tcl script to record the steps I perform in Hyperview, something like a MACRO. However I see that it Hyperview does not offer an option to do so like in Hypermesh. Can anyone help me with that?
  5. Hallo, i want to sort the standard parts in my Model with an tcl script. So I want to mirror all standard parts into a Assembly with the Name "300". Further i need sub assemblies for all Screws, Nuts and Washers. For example the structure looks like this: 300 (standard parts) -301 (screws) -303 (nuts) -305 (washer) Furthermore the Comp should exist in the root assembly and in the new assembly. Could anybody help me with this Problem?
  6. Hi all, I'd like to create a script which selects 2d elements of less than 5mm and then displays the element numbers on screen. Any ideas anyone? Much appreciated Andy
  7. Hi, I need to create nodes for elements of user specified sizes. For eg, If the user specifies size 6 for the element, the nodes should be created at (0,0), (0,6), (6,0), (6,6). If the user specifies size 8 for the element, the nodes should be created at (0,0), (0,8), (8,0), (8,8). This is to be repeated to generate a geometry 830 mm*450 mm . therefore, if the element is of size 8, 830/8 elements must be created along the length and 450/8 elements along the width with their corresponding nodes. Please tell me how to automate this? Also, I need flexibility to change 830*450 mm dimensions to user specified dimensions (say 500*250 or 1000*600 etc etc). How do I incorporate this?? Currently for an element size 10 I've to write *createnode 0 10 0 0 0 0 *createnode 10 0 0 0 0 0 *createnode 10 10 0 0 0 0 *createnode 0 0 0 0 0 0 thanks, Kushal.
  8. hi, when iam running a script , frequently iam facing segmentation error. what might be the possibilities . regards, jamie
  9. Hello, I need to do a loop on all my components and i don't know how to do it... Something like that : set list_comp {list "all" components} #doesn't work... set m 0 foreach i $list_comp { incr m set cname [hm_entityinfo name components $i] #instruction } If someone can help me.. Thanks.
  10. Hi , I wish to know how to plot a curve from a excel file using TCL. I have currently written a code in this format set data1 [read [open "D:\\RWTH\\Mini thesis\\EclipseTCL\\TCL trial\\excelv1.csv"]] set result1 [regexp -all -inline -line -- {(^.*),.*$} $data1] set firstitems {} foreach {tmp item1} $result1 { lappend firstitems $item1, } puts "{$firstitems}" which gives me an output like this (this is the first column to be entered in the curve editor) {0, 0.0025, 0.005, 0.0075, 0.01, 0.0125, 0.015, 0.0175, ...................75, 0.8, 0.85, 0.9, 0.95, 1,} Similar to the above I get the 2nd column. But how do use TCL and input this data has a curve. I tried the below specified commands but failed to create plot *xyplotcurvemodify "stress strain" {$firstitems} {$items} plot (or) *xyplotmodifycurve "stress strain" {$firstitems} "" "" "" 1 {$items} "" "" "" 1 *plot yours sincerely, kartik
  11. Hello all, Is there a way to find lines of holes on a midsurface? Based on my DOE, locations of bolt holes are always changing, so I want to select holes usign tcl code.
  12. Hello all, I am trying to develop a scripct in order to create 2mm washer. However script has a mistake that I coud not find. Can you help me about this topic? ########################################## *createmarkpanel lines 1 "select lines to create washer" set lst "[hm_getmark lines 1]" foreach lsts $lst { *trim_by_offset_edges 0 $lsts 2 0 0 0 } ##########################################
  13. I am trying to modify a group of Nastran PBAR property groups in Hypermesh via an automated tcl script. I am trying to change the beam sections of all the pbar properties groups I have stored. I have tried using a script with the line as follows (in an iterative manner): *setvalue props id=<some_pbar_prop_id> 3186={beamsects <id_of_new_beam_sect>} While there is no error output, the property card is not updated and the beam section displayed in the GUI is not correct. I am not 100% sure the entity attribute 3186 is correct for pbar beamsections: is there a file or section of the HyperWorks guide listing these id's? I have not been able to find this information. Additionally, I am unsure if the STATUS value needs to be modified in this instance. I have tried the following, also to no avail: *setvalue props id=<some_pbar_prop_id> STATUS=2 3186={beamsects <id_of_new_beam_sect>} or *setvalue props id=<some_pbar_prop_id> 3186={beamsects <id_of_new_beam_sect>} STATUS=2 my beam sections are already defined and are not being generated in the script. Any help resolving this would be greatly appreciated!
  14. Hi, I have a saved templete which generates a graph between stress vs strain for a given element id i.e. E181115 (in my case). The graph can be seen in attchments. #Now i want to change the element id or write a tcl code in such a way that it should ask me to enter the element id before running my template. I am very new to hyperview and have no idea how to covert .tpl to .tcl, Any answers, suggestions could be very much helpful. I am also attching my .tpl file (for understanding) Thanks in advance Agassi e181115.tpl
  15. How can I execute a command such as "ls" or "dir" through a tcl script, such that, its output is shown on the tkcon console in HyperMesh ? Any help is appreciated. Thank you.
  16. Hello All, I am trying to create rigid elems for a spesific shell component with holes on it. In documentation I have discovered *finholesinit tcl command. However I can not obtain line number also I can not define center of circle using tcl automatically. How can I achieve this problem?
  17. Hi all, I have imported geometry from a CATPart into HyperMesh and now I am trying to get the names of the surfaces in the model. I am using following commands and till now have no success. (I can get the IDs of surfaces e.g. 1,2,3,4 ..) *createmark surfs 1 all set surfsList [hm_getmark surfs 1] hm_getentityvalue surfs 2 name 1 -byid The first two commands return results (hm_getmark returns the IDs of surfaces: 1,2,3,4,5). However the last command (hm_getentityvalue from Reference manual) doesn't return anything at all, (not even any error). My goal is to get the names of the surfaces (via any Tcl command). I will be very thankful for any help. Best regards, Mubeen
  18. Hello So I have script to save perticular view in hyperview window and can be retrieved later, but it only retrieves view irrespective of display status of different components Now I want to extend this script further so that it will save the view along with the ids of component displayed in window (like hypermesh save view and retrieve) any suggestion on how can I do this?
  19. Hello everyone I am new to hyperview scripting I dont have much Idea about commands used I have gone through previous posts Also trying to read Template file and session file Still I will appreciate If everyone attach there own script in reply. It will accelerate process of learning Beginner like me can refer to those files and create a new script with help of those commands Thank you
  20. I want to align beam element over shell elements by offsetting, is there any Tcl script for that?
  21. Hi, I am looking to write a script to place pre-meshed bolts at the bolt holes of an existing bolted flange mesh, an example of which would be below: The bolt hole pattern will not always be a perfect crown, and therefore requires a more general approach Are there any pre-existing tools in Hypermesh that I can use in a tcl script to automate this process? I know hypermesh can find and fill holes, im just wondering if it can find the hole, and tell me the centroid. Or are there any other clever ways for finding the hole centroids based on logically downselecting through tcl scripts? Ultimately the crux is being able to find the centroid of the holes, I can manage the rest of the scripting. If anyone has any ideas that would be greatly appreciated! Thanks Tyler
  22. Hi, Is there a way using tcl commands by which I could split the HyperView page window layout into more than 4 parts ?
  23. Is it possible to run a cmd command such as "dir" using exec or another method in tcl and store the output of that command in a string without opening up the actual cmd terminal ? Thank you.
  24. is there a reason why, when i run optimization via the script in the command file, the hyperworks solver view doesn't pop up? The solver view only shows up when i manually click on run options> OptiStruct
  25. how to set and read two values in one variable using TCl?
  • Create New...