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

  1. 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
  2. I want to align beam element over shell elements by offsetting, is there any Tcl script for that?
  3. 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
  4. Hi, Is there a way using tcl commands by which I could split the HyperView page window layout into more than 4 parts ?
  5. 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.
  6. 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
  7. how to set and read two values in one variable using TCl?
  8. 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}
  9. 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
  10. 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
  11. 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
  12. Hi all, How to get nodes from free edges and drag it in particular direction using tcl? Regards, Sanket
  13. 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
  14. 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
  15. 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
  16. 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?
  17. 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
  18. 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
  19. hi all, *isolateonlyentitybymark is not working during all the occasions.is this a bug or Iam using it in wrong way.
  20. 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.
  21. Is there any way to get the node between two nodes of a element by tcl command
  22. 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.
  23. Can anyone tell ,whats the command save the elements that are found by findmark command
  24. Hi all, I have imported a line from CATIA, into HyperMesh model (mesh). I need to find using the nodes from the mesh which are located on (near to) that line within certain tolerance. Is there any Tcl command for this purpose? At the moment, I can identify the line using its name from metadata, i.e. *createmark lines 1 "by metadata contains value" TAG Line_101 But I couldn't find any Tcl command for finding the nodes around the line on this mark. I will be very thankful for any useful information. Best regards, Mubeen
  25. Hey all, I am a bit confused right now. I did some exercise with hyperview tcl. I set up a real simple script: # Hyperview Exercise1 hwi OpenStack hwi GetSessionHandle session1 session1 GetProjectHandle project1 project GetPageHandle page1 1 page1 GetWindowHandle win1 1 win1 SetClientType animation hwi CloseStack When running the script multiple times it says several times: session1: object with this name already exists. I thought, wit hhwi CloseStack all handles would get released which is not the case? Someone seeing the same behaviour with those lines running 2 times? Thanks in advance and best regards, Merula
×
×
  • Create New...