Hypermesh Customization problem about hm_getvalue
I know the ID of a set, so I use the following program to get the name of the set.
hm_getvalue sets id=4 dataname=solvername
My question is, if I want to do the reverse, when I know the name of a set, how can I query the ID of that set?"
i am new user for hypermesh customization.
I'd like to ask for guidance from experts. Can you please provide some advice?
Find more posts tagged with
Hi,
Using the hm_getvalue command, there are several ways to provide the entities to be queried; for instance by id or by name. More details here: https://help.altair.com/hwdesktop/hwd/topics/reference/hm/hm_getvalue.htm
Thus, if you know the name and want to query the id of a set, you can still use the hm_getvalue command, like this:
hm_getvalue sets name=const1_set dataname=id
Regards,
Fred.
exactly, i try before,but fail.
Hi,
Using the hm_getvalue command, there are several ways to provide the entities to be queried; for instance by id or by name. More details here: https://help.altair.com/hwdesktop/hwd/topics/reference/hm/hm_getvalue.htm
Thus, if you know the name and want to query the id of a set, you can still use the hm_getvalue command, like this:
hm_getvalue sets name=const1_set dataname=id
Regards,
Fred.