Get highest set ID number
Guy01
Altair Community Member
Hello
Is it possible to retrieve the highest set id number that exists in the model tree?
So that when i create a new set by command it does not clash with existing set id. The idea is to create a set with 'ID = max set id +1'.
Thanks in advance
0
Answers
-
I think that do automatically in Hypermesh. When you create new set, the ID will be 'maxID + 1'
0 -
Yes Hypermesh does that for you. In case you need, try with hm_entitymaxid.
0 -
Altair Forum User said:
Don't do that,
Use hm_latestentityid to return created set id
It could not be max id if includes are there (from version 13)
0