🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

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

Find more posts tagged with

Sort by:
1 - 2 of 21

    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

    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