top of page
Reading a csv file by using tcl
Reading a csv file procedure is similar to the other programming languages. # Open the CSV file in read mode set filePath...
Admin
Jan 161 min read
4 views
0 comments


Obtain components dimensions with hm_getboundingbox
In hypermesh getting the values of the panel dimension are important for hand calculations or reporting the comps properties....
Admin
Sep 28, 20241 min read
6 views
0 comments


Hypermesh Batch Mode
Hypermesh can be used in batch mode. Here is an example of creating a surface in batch mode. It means withouth opening hypermesh, you can...
Admin
Jun 16, 20241 min read
72 views
0 comments
Obtain bar element thickness and width values
*createmarkpanel elems 1 "onyl select bar elements" set barlist [hm_getmark elems 1] foreach elemID $barlist {...
Admin
Mar 24, 20241 min read
14 views
0 comments
get the dependent node of rbe3 element list
# Select the rbe3 elements only *createmarkpanel elements 1 "Select the rbe3 elements" set rbelist [hm_getmark elememts 1] # get the...
Admin
Mar 24, 20241 min read
2 views
0 comments
Rename all properties with component name
This codes gets the names of selected components and assign these names to their properties. *createmarkpanel comps 1 "Select the...
Admin
Feb 19, 20241 min read
3 views
0 comments
Looping with foreach in TCL
When you have unsorted list, foreach can be handful set randomlist {orange blue 4 6 Türkiye 8 France cat dog} foreach i $randomlist {...
Admin
Feb 14, 20241 min read
0 views
0 comments
TCL file for showing element configuras
This code helps you to find element configuration in Hypermesh *createmarkpanel elems 1 'Select Elems' set elems [hm_getmark elems 1]...
Admin
Feb 14, 20241 min read
0 views
0 comments
Creating for loop in tcl
You can create a for loop in TCL like below; for {set i 0} { $i < 5} {incr i} { puts “Loop number is : $i” } Output: Loop number is : 1...
Admin
Feb 12, 20241 min read
10 views
0 comments
Creating multiple properties in Hypermesh with TCL
You can create shell properties with the code belowMaterial id is 1001 and thickness is 1. Before the running code , create a material...
Admin
Feb 12, 20241 min read
19 views
0 comments
Creating components with TCL in Hypermesh
For creating multiple components in HYPERMESH with TCL, you can use the code below. for {set i 1000} {$i <1250} {incr i} {*createentity...
Admin
Feb 11, 20241 min read
40 views
0 comments
bottom of page