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


Understanding tk_messagebox in Tcl
The tk_messagebox module in Tcl is a versatile tool used to display dialog boxes in graphical user interface (GUI) applications. Whether...
Admin
Jan 22 min read
14 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
While loop for TCL
Until i becomes 11 the loop continue to puts $i set i 1 while {$i < 11} { puts "i = $i" incr i } Output i = 1 i = 2 i = 3 i = 4 i = 5 i =...
Admin
Feb 14, 20241 min read
1 view
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
bottom of page