Hi
A have a question. I didn`t find answer on it in help. Maybe i am search not so careful.
How can i get name of primitive group which given primitive belongs to?
Name of primitive group
2726 2 0- sanchez79
- Member
- 35 posts
- Joined: July 2005
- Offline
- wolfwood
- Member
- 4256 posts
- Joined: July 2005
- Offline
It depends on where you need this information. (In a script, in a expression, in VEX, etc)
If need to do this query from a script then you can do something like….
set sopPath = “/obj/model/MySOP”
set primNum = 43
foreach group (`primgrouplist(“$sopPath”)`)
if (`hasprim(“$group”,“$sopPath”,$primNum)`==1)
echo $group
endif
end
If need to do this query from a script then you can do something like….
set sopPath = “/obj/model/MySOP”
set primNum = 43
foreach group (`primgrouplist(“$sopPath”)`)
if (`hasprim(“$group”,“$sopPath”,$primNum)`==1)
echo $group
endif
end
if(coffees<2,round(float),float)
- sanchez79
- Member
- 35 posts
- Joined: July 2005
- Offline
-
- Quick Links