Expression launches by itself on startup

Expression launches by itself on startup

ao12ach
Contributor Contributor
633 Views
1 Reply
Message 1 of 2

Expression launches by itself on startup

ao12ach
Contributor
Contributor

Hello everyone, 

I'm having trouble with an expression with an if/else style setup..i'm sorry if it sounds like a joke..but here i am..it works fine in the scene, and it executes as intended, but once i restart maya and reload the scene, it appears to have launched all by itself without me using the trigger attribute. I don't want it to launch by itself for whatever reason, which is why i've set the expression on On Demand, but it only stops the Time slider from acting as a trigger, not the startup. The following images describe the code and the product, could anyone please help me out with this ? 😕 I've been reading on this for a while now with no results. 

DESCRIPTION OF IMAGES: the idea was to use the attribute change to trigger the connectatr script

Thank you, 
Agop 

0 Likes
Accepted solutions (1)
634 Views
1 Reply
Reply (1)
Message 2 of 2

ao12ach
Contributor
Contributor
Accepted solution

Nevermind. The issue is resolved. I've used expressions improperly, went back and read some more :/.

0 Likes