Attribute Paint not working - help

   3087   14   3
User Avatar
Member
23 posts
Joined: May 2024
Offline
SOLVED

I tried everything from suggestions as seen bellow but it seems that the Attribute Paint node doesn't work well in older Houdini Versions. I tried on 20.0.688 and works fine!

Hello,

I'm a newbie but I've create an Attribute Paint and hit Enter in the viewport and the brush doesn't even appear.

I also get this error when I want to add a new attribute "AttributeError: 'module' object has no attribute 'updateattribute", but I would honestly just be happy to have the brush appear.

Let me know if there are any suggestions, thank you.
Edited by Alexandra_Chiosa - June 4, 2024 12:50:19
User Avatar
Member
532 posts
Joined: Nov. 2016
Offline
What is your input geometry?
User Avatar
Member
23 posts
Joined: May 2024
Offline
Tanto
What is your input geometry?

Hi,I am using an alembic but reference it with a Object Merge if that makes sense.
Edited by Alexandra_Chiosa - June 4, 2024 10:59:09

Attachments:
houdini.JPG (24.6 KB)

User Avatar
Member
532 posts
Joined: Nov. 2016
Offline
Is it possible your Alembic is still packed? If so you won't have access to the geometry (the rest of the setup won't work correctly either). Try to use a a convert node after the object merge.
User Avatar
Member
23 posts
Joined: May 2024
Offline
Tanto
Is it possible your Alembic is still packed? If so you won't have access to the geometry (the rest of the setup won't work correctly either). Try to use a a convert node after the object merge.

Before the screenshot I showed, I have a simple setup for my alembic (which I reference in Object Merge node) and I already have an unpack and convert node. Not sure what else would work in this case.

Attachments:
image_2024-06-04_161810111.png (24.9 KB)

User Avatar
Member
532 posts
Joined: Nov. 2016
Offline
You're right, that should do the trick. If you can send your hip file it'd be helpful to figure out what the problem is.
User Avatar
Member
23 posts
Joined: May 2024
Offline
Tanto
You're right, that should do the trick. If you can send your hip file it'd be helpful to figure out what the problem is.

Yes sure. Let me know if I can provide anything else.
Edited by Alexandra_Chiosa - June 4, 2024 11:40:35
User Avatar
Member
532 posts
Joined: Nov. 2016
Offline
Your setup seems fine. I don't have the alembic file, but substituting it with a random one, I was able to paint without a problem.

In this thread [www.sidefx.com], somebody with a similar problem seemed to be able to fix it by using the numpad enter, you might want to try it. Otherwise, updating your driver to one supported by SideFX [www.sidefx.com] might also be a good idea.
User Avatar
Member
23 posts
Joined: May 2024
Offline
Tanto
Your setup seems fine. I don't have the alembic file, but substituting it with a random one, I was able to paint without a problem.

In this thread [www.sidefx.com], somebody with a similar problem seemed to be able to fix it by using the numpad enter, you might want to try it. Otherwise, updating your driver to one supported by SideFX [www.sidefx.com] might also be a good idea.

Amazing, thank you for having a look! I will check the links. Also may I ask what Houdini version did you use to check the file?
User Avatar
Member
532 posts
Joined: Nov. 2016
Offline
Sure, I'm using 20.0.688
User Avatar
Member
23 posts
Joined: May 2024
Offline
Tanto
Sure, I'm using 20.0.688

Thank you! Also just as an update, sadly the numpad enter key didn't fix it either, so any other suggestions from anyone in the future are always appreciated, thank you.
User Avatar
Member
23 posts
Joined: May 2024
Offline
Tanto
Sure, I'm using 20.0.688

Just to let you know (even if it's not interesting) I tried using Houdini 20.0.688 instead of an older one and it works! I suppose the node is not working for some reason in earlier version, thanks again for having a look!
User Avatar
Member
3 posts
Joined: July 2018
Offline
Attribute paint not work on our Houdini also - gives 20.5. 278
Clicking the visualize button give error 'module' object has no attribute 'visualise'
Traceback (most recent call last):
File "Parameter Scripted Action", line 1, in <module>
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.278/houdini/python3.11libs\hou.py", line 57070, in __getattr__
return _hou.HDAViewerStateModule___getattr__(self, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'module' object has no attribute 'visualize'
Please can you help?
Ant
User Avatar
Member
95 posts
Joined: Feb. 2020
Offline
Also getting this problem when using attribute paint, very painful.

Tried using the numpad enter key, tried using different geometry (a box, a complex object, etc), and no luck.

H20.5.550


Traceback (most recent call last):
  File "Sop/attribpaint/attribname1", line 1, in <module>
  File "Sop/attribpaint, PythonModule", line 3, in updateattrib
  File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.550/houdini/python3.11libs\hou.py", line 57190, in __getattr__
    return _hou.HDAViewerStateModule___getattr__(self, name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'module' object has no attribute 'updateattribute'

Here's the setup:

Edited by wyhinton1 - April 23, 2025 23:00:58

Attachments:
examplesetup.png (17.1 KB)

User Avatar
Member
4 posts
Joined: Dec. 2024
Offline
Was anyone able to solve this issue?

I am having the same problem - dropping a attribute paint node seems to generate an error no matter what I try to attach it to.
  • Quick Links