Template Datanames ?
The helpfile give informations about : hm_getentityvalue
with the comment :
'Please refer the the HyperMesh documentation for the available template datanames.'
as example:
'set compT [ hm_getentityvalue COMPONENTS $compId '\$PSHELL_T' 0 ]'
Where can i find this informations, and is there a useful programming documentation ?
Regards Mario
Answers
-
Hi Mario
You can find many of the template datanames in the online help for HyperMesh. From the contents tab, to the HyperMesh, Reference Guide, Templates, Data Names. For each of the entity types and collectors, a list of the relevant data names are given.
If you are searching for data for a particular solver, you can also use the template file itself. From the Optistruct template
*menufield(I12_T3,real,$PSHELL_I12_T3,8)*menudefaultvalue(' ')*menuinitialvalue(1.0)*menurestrictedvalue(>,0.0)*menuoption(MID3_opts,$MID3_opts)
say you wanted to use the entry I12_T3 in your script, you would use the command'set pshell_entry [ hm_getentityvalue COMPONENTS $compId '\$PSHELL_I12_T3' 0 ]'
This should give you some sources to start with.
Eric
0 -
Hi Eric,
Thank you for this useful informations. I have found the cards i'm needing ...
set prop1 [ hm_getentityvalue ELEMENTS $eid '\$CWELD_PIDA' 0 ]
... as example, but it is still a pain to get them.
Regards Mario
0