top of page
Admin
1 day ago1 min read
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...
0 views0 comments
Admin
Jan 22 min read
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...
3 views0 comments
Admin
Sep 28, 20241 min read
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....
6 views0 comments
Admin
Jun 16, 20241 min read
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...
39 views0 comments
Admin
Mar 24, 20241 min read
Obtain bar element thickness and width values
*createmarkpanel elems 1 "onyl select bar elements" set barlist [hm_getmark elems 1] foreach elemID $barlist {...
12 views0 comments
Admin
Mar 24, 20241 min read
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...
1 view0 comments
Admin
Feb 19, 20241 min read
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...
2 views0 comments
Admin
Feb 14, 20241 min read
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 {...
0 views0 comments
Admin
Feb 14, 20241 min read
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 =...
1 view0 comments
Admin
Feb 12, 20241 min read
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...
14 views0 comments
bottom of page