Area of 1D beam element using TCL
Hello Everyone!
How to get section area of 1D beam (for Beam4 - Ansys Profile) using tcl command. I can find the property id for a particular element/component by 'hm_getcardimagename props [hm_getentityvalue elem $elementid property.id 0]' but not able to get into this info and find out the beam area using tcl, please help me out.
Thanks in advance
Answers
-
Hi,
send us your hm file. or take a photo which indicate the value on cardimage that you want to retrieve
0 -
-
-
Hi,
equivalence command of @attributearrayvalue is hm_attributearrayvalue
so value of area can be retrieved by:
set Area [hm_attributearrayvalue props $PropId \$R_VAL2 1 -byid]
0 -
Or from HM14, using hm_getvalue
set Area [hm_getvalue props id=$PropId dataname=\$R_VAL2 row=0]
I am not sure why array index is starting from 1 in case of using hm_attributearrayvalue
0 -
Great! thanks for your help Tinh, Nguyen, appreciate your help.
0