Hi guys,
I don't know if this any news but I think I found a bug in def message(id: int, data: object) -> bool:
of the python tag. Un-commenting this method results in the following error.
Traceback (most recent call last):
File "Python", line 20, in message
RuntimeError: super(): __class__ cell not found
I observed this in S26 if that helps.
Cheers,
Sebastian
from typing import Optional
import c4d
doc: c4d.documents.BaseDocument # The document evaluating this tag
op: c4d.BaseTag # The Python scripting tag
flags: int # c4d.EXECUTIONFLAGS
priority: int # c4d.EXECUTIONPRIORITY
tp: Optional[c4d.modules.thinkingparticles.TP_MasterSystem] # Particle system
thread: Optional[c4d.threading.BaseThread] # The thread executing this tag
def main() -> None:
# Called when the tag is executed. It can be called multiple time per frame. Similar to TagData.Execute.
# Write your code here
pass
def message(id: int, data: object) -> bool:
# Called when the tag receives messages. Similar to TagData.Message.
# Write your code here
return super().Message(id, data)
"""
def draw(bd: c4d.BaseDraw) -> bool:
# Called to display some visual element in the viewport. Similar to TagData.Draw.
# Write your code here
return True
"""