[Sidefx-houdini-list] [HOM] Particle type definition
hoknamahn at gmail.com
Mon Jan 28 16:48:12 EST 2008
When I've tried to change the number of inputs to zero Houdini just crashed.
And did it again and again. That's why I've asked. H9.1.117 Linux 32 bit.
But it works fine for pretty old Windows build.
You can merge too loops easily because createPoint() returns a reference to
new point. So your code might be like this:
geo = hou.pwd().geometry()
for point in range(100):
pt = hou.Geometry.createPoint(geo)
Now the only one question you have is how to "register" those points as a
On Jan 28, 2008 6:22 PM, Andras Ikladi <andras.ikladi at gmail.com> wrote:
> I just created a normal Python SOP type, set the inputs to zero and that
> A simple example is might be:
> geo = hou.pwd().geometry()
> for point in range(0, parser.getNumParticles()):
> for point in geo.points():
> Maybe you could merge the two loops (I'm gonna try next time):
> I'm using 9.1.116 on Linux64.
> On Jan 28, 2008 3:30 PM, Olex P <hoknamahn at gmail.com> wrote:
> > Arhhhh sorry Andras :)) Now I see createPoint() method. It's pretty new.
> > Well we can generate points. How to create a Python SOP generator? I
> > this SOP shouldn't have any inputs. I've tried to find a way but all
> > I've got was a series of crashes.
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list