A program to recognize and reward our most engaged community members
Hi,
I want to summary and export the coordinate of temp nodes in Hypermesh into .CSV file.
Is there any methods to do that.
Thanks.
Maybe this script could give you some ideas?
/emoticons/default_cool.png' title='B)' /> This is template-style in case you want to write out 1e+6 nodes or more:
set TplString {
*nodes()
*before()
*string('ID,X,Y,Z') *end()
*format()
*field(integer,id,0) *string(',')
*field(real,globalx,0) *string(',')
*field(real,globaly,0) *string(',')
*field(real,globalz,0) *string(',')
*end()
*output()
}
set fpt [open nodeexport.tpl w]
puts $fpt $TplString
close $fpt
*displaynone; #=> only temp nodes are displayed
hm_answernext yes
*usercheck nodeexport.tpl YourFileName.csv 0
Thank you so much @tinh