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

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

  1. 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
  2. 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
  3. 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
  4. Hi all, How to get nodes from free edges and drag it in particular direction using tcl? Regards, Sanket
  5. 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
  6. 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
  7. 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
  8. 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?
  9. 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
  10. 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
  11. hi all, *isolateonlyentitybymark is not working during all the occasions.is this a bug or Iam using it in wrong way.
  12. 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.
  13. Is there any way to get the node between two nodes of a element by tcl command
  14. 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.
  15. Can anyone tell ,whats the command save the elements that are found by findmark command
  16. 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
  17. 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
  18. 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.
  19. 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?
  20. Hello I want to take some values from user so how can I take values from user Like in Hypermesh we use hm_getfloat Is there any command which will serve same purpose in hyperview??
  21. HI All, i want to write script to project the face nodes on nearest surface.. is there any API? any idea how to do this.. @tinh Thanks
  22. Hi, For selecting nodes by path, I have tried >> *nodelistbypath $node1 $node2 1 *entitysetcreatelist temp_nodes nodes 1 But this works only for a open path or shortest path from node1 to node2 in closed loop. Please help me in above matter for selecting all nodes on a path. P.S. I have a line with its ID on that path. For any idea related to nodes on that line. And, I don't want to go with --> *nodelistbypath $node1 $node_mid_path 1 *nodelistbypath $node_mid_path $node2 2 >>Union 1 and 2<< *nodelistbypath $node2 $node1 2 >>Union 1 and 2<<
  23. Please mention any material or reference sites for maco/script writing for hypermesh. Thank you.
  24. For more information, see www.altair.com/mbd2019 and www.altair.com/mbd2019/compose. To download a free 1-year license of this software, go to https://basicportal.altair.com/downloads. Do you want to do technical calculations, scripting, data visualization or data processing (especially involving CAE or test data)? If yes, then whether you are involved in academia or industry or are just a hobbyist/maker looking for cool & useful software, this no-cost Personal Edition software could help you achieve your goals. The multi-language environment of Compose enables the combined use of scripts written with its open matrix language (OML) with scripts written in Tcl/Tk or Python. And OML is compatible and inter-operable with Octave and MATLAB®. Altair has also expanded its support of open standards by open-sourcing its open matrix language (OML). Interested users and contributors can download source code from the OpenMatrix website and actively participate in this burgeoning R&D community. Give Altair Compose™ and OML a try today!
  25. Hello, I have a script that I call from MATLAB. The script is called from the command prompt which opens Hypermesh and uploads a solver deck into the Hypermesh gui. The problem I face is that the .fem file does not upload into Hypermesh as long as MATLAB is running its own script. Also, importing any other solver deck into Hypermesh does not work either unless MATLAB is paused or by starting a new instance of Hypermesh. The code used to upload the fem file is here; #threshold values set solid_domain_threshold 0.694147 #osmooth constrols set surfacecode 2 set laplacian_iteration 20 set laplacian_feature_angle 25 #"isosurf: surfacecode1 surfacemode2 densitythreshold3 detectbridge4 lowthreshold5 distancecoefficient6 optismoothboundary7 lapiteration8 lapfeatureangle9 lapsmoothboundary10 drawrecovery11" puts "Uploading Solid Domain " *createstringarray 2 "isosurf: $surfacecode 3 $solid_domain_threshold 0 -1 0 0 $laplacian_iteration $laplacian_feature_angle 1 0" "other_params: 1 0 0 0 10 0" if { [ catch {*ossmooth_12 0 1 0 1 "C:////Users////////Large Tension Hinge Rebuilt 2.2 Stage 2 Initial_1.fem" "C:////Users////Large Tension Hinge Rebuilt 2.2 Stage 2 Initial_1.sh" "" 1 0 1 2} ] } { puts "Error During Solid Domain Tetmeshing" } else { puts "Solid TetMesh Succesful!" } What could be the source of the problem? I am running on Windows 10 home edition. Thank you A screen shot is provided to visualize the problem a little bit better.
×
×
  • Create New...