Suvo
Suvo
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Python. How address points in group? Feb. 4, 2008, 3:30 p.m.
SYmek and k0diak THANK YOU BOTH VARY MUCH!
It's exactly what necessary!
The final code (if interesting) I use is:
def check(seq, item):
try:
i = seq.index(item)
except ValueError:
i = -1
return i
pointNumbers = map(lambda x: float(x), hou.hscriptExpression('pointlist(“/obj/geo1/group1”, groupName)').split)
points =
So points now has all points which we define in node /obj/geo1/group1 and group name: groupName.
Thanks again to you!!!
It's exactly what necessary!
The final code (if interesting) I use is:
def check(seq, item):
try:
i = seq.index(item)
except ValueError:
i = -1
return i
pointNumbers = map(lambda x: float(x), hou.hscriptExpression('pointlist(“/obj/geo1/group1”, groupName)').split)
points =
So points now has all points which we define in node /obj/geo1/group1 and group name: groupName.
Thanks again to you!!!
Python. How address points in group? Feb. 3, 2008, 9:52 p.m.
All is very simple:
using group SOP we selected few points, after we want to use them in Python script, but I have no idea how to get list of this points.
in the python code it would looks like:
G = getPointsFromGroup(“GroupName”)
for pt in G:
…
Thank you very much.
using group SOP we selected few points, after we want to use them in Python script, but I have no idea how to get list of this points.
in the python code it would looks like:
G = getPointsFromGroup(“GroupName”)
for pt in G:
…
Thank you very much.
incorrect RIB generation May 22, 2005, 5:35 a.m.
Yes, Render ROP solve the problem.
You need to set particle type to Render as Disks for RiPoint
My RenderMan version is 11.3.1 and default is 11.
But do you have same mistake?
You need to set particle type to Render as Disks for RiPoint
My RenderMan version is 11.3.1 and default is 11.
But do you have same mistake?