how to get the amounth of properties in a model
Altair Forum User
Altair Employee
Hi
I need to access the amounth of properties I use in a model in order to use it in a loop but i can't find a way to got it.
I tried with : hm_getvalue props id=1 dataname=attributesmax but it don't work and i don't know how to use the function hm_getvalue props not givin an id.
I thinking about using a table and then acces the number of row but i'd like to find an easier way to do it.
Thanks for your help
Raph
0
Answers
-
Hi, try
set AttribList [hm_attributelist props 1 id]
foreach AttribId $AttribList {
puts 'Attribute #$AttribId : [hm_attributenamefromid $AttribId]'
}
0