Open
Description
Hello, @mxn-ferdinand
First of all: THANK YOU FOR THE CODE EXAMPLES! :)
I am trying to get the py-ocio_node_2025.pyp example plugin running to learn the most recent best practices for Python plugins.
I downloaded the example and moved it into the plugins folder.
when I create an instance of th Py-OCIO Node 2025 object, I get these errors:
AttributeError: module 'c4d' has no attribute 'DRAW_TEXTUREFLAGS_USE_PROFILE_COLOR'
Traceback (most recent call last):
File "C:\Users\stein\AppData\Roaming\Maxon\Maxon Cinema 4D 2025_789E552B\plugins\py-ocio_node_2025\py-ocio_node_2025.pyp", line 224, in Draw
c4d.DRAW_ALPHA_NORMAL, c4d.DRAW_TEXTUREFLAGS_USE_PROFILE_COLOR)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'c4d' has no attribute 'DRAW_TEXTUREFLAGS_USE_PROFILE_COLOR'
Traceback (most recent call last):
File "C:\Users\stein\AppData\Roaming\Maxon\Maxon Cinema 4D 2025_789E552B\plugins\py-ocio_node_2025\py-ocio_node_2025.pyp", line 291, in Draw
drawTextureWithLabel(0, c4d.DRAW_TEXTUREFLAGS_USE_PROFILE_COLOR)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
They both claim that the c4d module doesn't have a DRAW_TEXTUREFLAGS_USE_PROFILE_COLOR attribute.
I find this confusing as it is listed here.
Any help would be greatly appreciated.
Thank you!
Metadata
Metadata
Assignees
Labels
No labels