How can I use python in scripted operator?

Discussions concerning programming of SOFTIMAGE©
Post Reply
Haimund
Posts: 29
Joined: 29 Mar 2013, 01:24

How can I use python in scripted operator?

Post by Haimund » 21 Mar 2014, 14:17

Hi there,
When I try to set scripted operator, i got this error message, can anyone help?

# ERROR : expected an indented block - [line 2 in update code]
# ERROR : 2190 - The scripted operator connected to null.kine.local produced a runtime error during its evaluation and will no longer be evaluated.
#

EricTRocks
Moderator
Posts: 754
Joined: 25 Nov 2009, 01:41
Contact:

Re: How can I use python in scripted operator?

Post by EricTRocks » 21 Mar 2014, 14:32

Don't use Python in a scripted operator. It will be super slow. Use JScript instead.
Eric Thivierge
Lead Kraken Developer, Fabric Engine
http://fabric-engine.github.io/Kraken

Haimund
Posts: 29
Joined: 29 Mar 2013, 01:24

Re: How can I use python in scripted operator?

Post by Haimund » 21 Mar 2014, 14:44

That's why i ask...anyway, good to know that.
Thank you very much.

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests