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

  1. I want to align beam element over shell elements by offsetting, is there any Tcl script for that?
  2. 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
  3. Hi, Is there a way using tcl commands by which I could split the HyperView page window layout into more than 4 parts ?
  4. 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.
  5. 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
  6. how to set and read two values in one variable using TCl?
  7. Hey guys, I'm writing a script, where I can set a value (e.g. for the Young's Modulus) for a material property. My problem is that I would like to have a default value in the window, like 210000 MPa, which I can take and proceed or change it if it doesn't suit my material. Is it somehow possible to set such a default value? Kind regards and thanks in advance Simon Attached you can find the part of my script and a screenshot of the window I'm talking about: *startnotehistorystate {Modified E of material} set youngs_modulus [hm_getfloat "Youngs Modulus (Steel)=" "Enter Youngs Modulus:"] *setvalue mats id=1 STATUS=1 1= $youngs_modulus *endnotehistorystate {Modified E of material}
  8. Hey guys, as the title already says I'm looking for a macro which saves the nodes of a whole component into a nodelist automatically. In the end the command *plotnodelist is used and needs a nodelist to execute the program. Do you have any ideas how this could work? Kind regards and thanks in advance, Simon
  9. Hey guys, I want to create several materials, properties and components automatically. The desired IDs of all the materials, properties and components are saved in an external file and then written into a variable. Each of these values should create an own material, an own property and an own component. For creating the first material, everything works fine. But when the second material should be created, an error is occurring. Do you have an idea how this problem can be fixed? Kind regards Simon Attached, you can find the file with the IDs (these are the values in column 1 saved into the variable "field1") and the .tcl-script I'm talking about. SKO_3.tcl SKO.strs
  10. Hey guys, is there a way to create a label in the utility menu? I only find command to create buttons etc., but no command for labels. Can you help me out somehow? Kind regards Simon
  11. Hi all, How to get nodes from free edges and drag it in particular direction using tcl? Regards, Sanket
  12. Hey guys, I'm trying to customize the output of a load step. Trying to run again the relevant parts of the command file, an error is occurring in this line. *startnotehistorystate {Updated string array} *setvalue loadsteps id=1 STATUS=2 4873={ } ROW=0 *endnotehistorystate {Updated string array} I'm pretty sure the empty brackets are the reason for the error, but I don't know how to get around them. Could you help me out with this problem? Kind regards Simon Attached you'll find my code. The relevant part starts after line 254. SKO_2.tcl
  13. Hey guys, after I have finished my work on a model, I start a new session in HyperMesh and want to delete the .fem-File from the previous model. This is not working, and a message appears saying that the .fem-file is still open in HyperMesh. If the command "file delete" is used, an error is occurring which says "permission denied". Do you know how I can solve this problem and delete the .fem-File without closing HyperMesh totally? Kind regards Simon
  14. Hi all I'm new in hypermesh and scripting and interested in creating a mesh using scripts. Is it possible? Are there any ready-made scripts? thanks
  15. 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?
  16. Hi all, I am creating a new script which detects joints between several components and identifies the start node and the end node. I show an example in the image below: I am able to detect all joints with the *findmark command, but I don't know how to identify the node which "starts" or "ends" the joint. The start/end nodes are those which have temp nodes in the image. Can anyone help me to do this? Any suggestion? Thanks in advance, Alex
  17. to create a bolt hole . i need to create a plane normal to three nodes . how to create plane normal to 3 nodes regards, JAMIE
  18. hi all, *isolateonlyentitybymark is not working during all the occasions.is this a bug or Iam using it in wrong way.
  19. hi, I need to mark all the nodes with comment. Iam using hm_getentityvalue for finding the comments. For a biw it taking almost 2.5 mins to read.Is their any other method so that I can reduce the time taken.
  20. Is there any way to get the node between two nodes of a element by tcl command
  21. How could we insert an image into TextView using the <img> tag ? I tried adding it to the HTML in the TextView editor, however the image does not show up on Evaluating the text, nor does it throw any error ? Any help is appreciated. Thank you.
  22. Can anyone tell ,whats the command save the elements that are found by findmark command
  23. Dear all, Could you tell me how can I obtain ANSYS element type in HyperMesh using TCL commands? My target is to put element type name into a variable. The procedure using graphical interface is following: 2D/3D -> element types -> mark element -> review. (result on the figure) Is it possible to extract such information from particular element by a TCL command? I've tried by hm_getentityvalue but got stuck on data_name format. Best regards Jakub
  24. Hi all, I created macro auto adjust normals: proc adjust_normals {} { *createmark comps 1 all *createmark elems 2 "by config" quad4 tria3 set List_comps [hm_getmark comps 1] for {set n 0} {$n<[hm_marklength comps 1]} {incr n} { *createmark elems 1 "by collector" [lindex $List_comps $n] *markintersection elems 1 elems 2 if {![hm_marklength elems 1]} {continue} else { set List_elems [hm_getmark elems 1] set ID_elems_ori [lindex $List_elems 0] *normalsadjust elems 1 $ID_elems_ori 0 0 } } *normalsoff hm_usermessage "Done." } but it doesn't work in some case, such as seperated components... Please suggest a way to improve it.
  25. Hi all I am very new to tcl and macro making and was trying to create a macro for checking the jacobian. Using the help file from hypermesh desktop reference guide this is what i did: (Documents) 72 % *createmark elems 1 "displayed" (Documents) 72 % *createmark elems 2 (Documents) 74 % *elementtestjacobian (elements,1,0.7,2,2,0,"jacobain") this gives an error of "unknown entity type found". so i tried doing this: (Documents) 72 % *createmark elems 1 "displayed" (Documents) 72 % *createmark elems 2 (Documents) 73 % *elementtestjacobian (elements, $1 ,0.7, $2 ,2,0,"jacobain") but this gave an error of "can't read 2 no such variable found". I have done exactly what was mentioned in help file then why I am getting error?
  • Create New...