top of page

Creating multiple properties in Hypermesh with TCL

Admin

You can create shell properties with the code belowMaterial id is 1001 and thickness is 1.

Before the running code , create a material with 1001 id.

for {set i 1000} {$i < 1250} {incr i} {
*createentity props cardimage=PSHELL name=pshell.$i
*setvalue props name=pshell.$i id=$i
*setvalue props name=pshell.$i materialid={mats 1001}
*setvalue props name=pshell.$i STATUS=1 95=1}

Recent Posts

See All

Comparison CROD, CBAR and CBEAM

CROD, CBAR and CBEAM are one of the most popular 1d elements in Nastran. Reflecting real behaviour of structural is crucial for FEM. So,...

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...

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating

© 2023

 
bottom of page