Rui Simoes
Mechanical
- Mar 7, 2017
- 4
Dear all,
I am a new user of HM. Maybe this is an easy one, or... just not possible for what ever reason..
I need to create a script to change the name of the collector/component.
Basically i want its name to reflect the material as well as the elem type used.
I was able to find how to get some properties like:
set id 1
hm_getentityvalue comps $id "property.id" 0 -byid
hm_getentityvalue comps $id "material.id" 0 -byid
there are alot of scripts online, but they always access this same properties.
but i am now missing the elem type.
does any one know how to get it??
Thanks in advance,
Rui
I am a new user of HM. Maybe this is an easy one, or... just not possible for what ever reason..
I need to create a script to change the name of the collector/component.
Basically i want its name to reflect the material as well as the elem type used.
I was able to find how to get some properties like:
set id 1
hm_getentityvalue comps $id "property.id" 0 -byid
hm_getentityvalue comps $id "material.id" 0 -byid
there are alot of scripts online, but they always access this same properties.
but i am now missing the elem type.
does any one know how to get it??
Thanks in advance,
Rui