sohamramteke

sohamramteke

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

OTL/ brush tool July 30, 2011, 1:59 p.m.

Hi Graham,

Thank you for explaining where i was going wrong and for your suggestion, it worked perfectly. I was looking for something exactly like that.

I further had a question, as you must have noticed in the network, since multiple geometries are being painted on the same grid and the output is being merged at the end, some of the geometries are bound to overlap, is there a way to avoid that..?

Your help is much appreciated

OTL/ brush tool July 30, 2011, 1:29 p.m.

@tamte

Thanks for pointing that out…
One question, whatever changes are made in the editable nodes will not update the existing instances but they will still applied to every new instance right..??

OTL/ brush tool July 30, 2011, 1:17 p.m.

Hi guys,
Thanks for replying.

FYI, I needed to paint multiple geometries(say ball and box) so i created individual ‘Paint’ buttons for them and to paint them i am using a ‘groupPaint’ node instead of ‘paint’ since that way it identifies which group of geometry to paint.

Now, in the Paint Ball button i am using

to dive in to the DA and into the groupPaint node and it does its job.

Then, for the Done Painting button i am using


and defined paintBall in Scripts PythonModule as

[ import toolutils
def paintBall(scriptargs):
sopnode = scriptargs
viewer = toolutils.sceneViewer()
paint = sopnode.node(“paintGeo”)
paint.setCurrent(True, True)
viewer.enterCurrentNodeState() ]

where “painGeo” is the name of the DA.

And it gives this error:

[ Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
AttributeError: ‘function’ object has no attribute ‘paintBall’ ]