ObjectData.Execute not called
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/06/2011 at 07:15, xxxxxxxx wrote:
Hi,
I have an ObjectData Plugin. But the Execute method is not called from c4d .. .
def Execute(self, op, doc, bt, prority, flags) : print "This is a test" return True def AddToExecution(self, op, list) : print list list.Add(op, c4d.EXECUTION_EXPRESSION, 0) return True
What to I do wrong ?
Thanks,
Niklas -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/06/2011 at 08:37, xxxxxxxx wrote:
Can you please post the arguments you pass to the RegisterObjectPlugin function?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/06/2011 at 12:27, xxxxxxxx wrote:
data = { "id": cls.PLUGIN_ID, # Registered ! "str": "Python Draw Helper", "g": cls, "description": "Odrawhelper", "info": c4d.OBJECT_MODIFIER, "icon": icon, }
What is the right info - id to pass here ?
Thanks.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/06/2011 at 12:32, xxxxxxxx wrote:
OBJECT_CALL_ADDEXECUTION is missing here.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/06/2011 at 12:48, xxxxxxxx wrote:
There is nothing about this in the SDK.
Please add it.Thanks anyway, I will try it now and report then.