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, I have written a script in TCL that changes the material properties using an automatic number generator. The script works when I write it into the console, (The interpreter at the bottom of the page, not sure of the correct name). But when I run the script using the run TCL script button nothing happens. I have attached the script. It changes the material properties of a MAT9ORT card. Can someone take a look at my script and give me some advice on how it can be changed to run correctly. I have also attached my hm file for which I am attempting to change the material properties. Kind Regards, Laurence Maskell YMbeamchanger.tcl clevis2.0run.hm
  2. Hello all I have a GUI with frame and buttons. How I can put WITH THIS CODE combobox to this frame? In the marked in red region? And code: destroy .buttons destroy .combo destroy .combo1 toplevel .buttons wm title .buttons "Menu" set count 0 proc add_frame title { global frame count set bold 0 set frame .buttons.frame$count frame $frame -border 5 -relief groove label $frame.label -text $title -font "arial 10 bold" -foreground red pack $frame -side left -padx 2 -pady 2 -anchor n -fill both pack $frame.label -side top -padx 2 -pady 2 incr count } proc add_button {title command} { global frame count button $frame.$count -text $title -command $command -font "arial 10" pack $frame.$count -side top -pady 1 -padx 1 -fill x incr count } add_frame "Components view" add_button "Show all mesh" {} add_button "Hide all mesh" {} add_button "Show all elements" { } add_button "Hide all elements" { } add_button "Show surface edges" {} add_button "22222" {} add_button "33333" {} add_frame "2D Mesh ()" add_button "Add mesh to displayed surfs" {}
  3. Hi All, I have to run in batch mode a tcl file, in which a meshing process is recorded. Is there a guide or some tutorials? The tcl is perfectly working if i run it from Hypermesh, but it doesn't if I use hmbatch.exe Thanks, Enrico
  4. Hello all. I have a question. Is it possible to create with .tcl commands general surfaces, but for all solids. It is very tedious to constantly perform repeated commands. And script could solve this problem. For example this detail: This surfaces were made by next commands: add_button "Make boolean surfaces" { *createmark solids 1 1 *createmark solids 2 5 *boolean_merge_solids 1 2 14 2 *createmark solids 1 1 *createmark solids 2 5 *boolean_merge_solids 1 2 14 2 *createmark solids 1 2 *createmark solids 2 1 *boolean_merge_solids 1 2 14 2 *createmark solids 1 3 *createmark solids 2 1 *boolean_merge_solids 1 2 14 2 *createmark solids 1 4 *createmark solids 2 1 *boolean_merge_solids 1 2 14 2 *createmark solids 1 5 *createmark solids 2 1 *boolean_merge_solids 1 2 14 2 *createmark solids 1 2 *createmark solids 2 2 *boolean_merge_solids 1 2 14 2 *createmark solids 1 2 *createmark solids 2 3 *boolean_merge_solids 1 2 14 2 *createmark solids 1 2 *createmark solids 2 4 *boolean_merge_solids 1 2 14 2 *createmark solids 1 2 *createmark solids 2 5 *boolean_merge_solids 1 2 14 2 *createmark solids 1 3 *createmark solids 2 1 *boolean_merge_solids 1 2 14 2 *createmark solids 1 3 *createmark solids 2 2 *boolean_merge_solids 1 2 14 2} But if we have about 100+ solids and more? How to solve this question\problem? Thanks!
  5. Can we get a number of how many nodes created by my previous operation? (I want to use that number and decide next operation) OR I am able to get temp nodes out of my previous operation. I have temp node and other nodes. Can I count temp nodes on display? (one way to do it I can maskall and count displayed, However, I want to give user visualization of nodes created with respect to displayed component) So any way around it? Thank you
  6. Hello, I would like to extract the node point stresses after an analysis using a tcl script for further analysis in Matlab. Control cards only allow me to export the GPSTRESS as HM or H3D which is not useful for running an analysis outside of hypermesh and hyperview. What functions should I use to accomplish this? Or is there an easier way? Thank you, -Eric
  7. Hi All working on 3D flange having holes..i m trying to write script for 3D mesh of it.. process i am following is : 1. washer split for holes. 2. 2D Automesh surfaces 3. Solid map I want 2D Automesh process to be interactive so that user can adjust mesh around holes to create good washer.. How can i do this..? Regards, PD
  8. 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.
  9. Hello, DO WE HAVE SCRIPT FOR DOUBLE LAYER WASHER ONE SHOULD BE OF 1.5*D AND THE OTHER LAYER MUST BE 5MM+FIRST LAYER,? Please help me
  10. 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
  11. 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?
  12. 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?
  13. 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
  14. 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.
  15. hi, when iam running a script , frequently iam facing segmentation error. what might be the possibilities . regards, jamie
  16. 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.
  17. 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
  18. 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.
  19. 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 } ##########################################
  20. 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!
  21. 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
  22. 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.
  23. 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?
  24. 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
  25. 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?
×
×
  • Create New...