Notifications
Clear all

[Closed] Detecting illegal-self/cyclic references?

 eek

Does anyone know of a way to detect if an illegal self/cyclic reference is about to occur – im using script controllers and tried putting a try/catch in the script just as test but it seems to even overthrow that.

My assumptions are that cyclic-references are a base level check in max, similar to anim mode etc… Maybe general event or node callbacks?

Essentially is there anything that is called before a script_controller evaluation?

3 Replies
3 Replies
(@denist)
Joined: 10 months ago

Posts: 0

as i know the system doesn’t allow you to make loop dependency. sometimes it gives you a warning, sometimes it just doesn’t do what you ask.
but you always have an option before doing anything crazy – refs.dependencyLoopTest

 eek
(@eek)
Joined: 10 months ago

Posts: 0

I didn’t know that! Awesome thank you Dennis – I will give that a try.

(@denist)
Joined: 10 months ago

Posts: 0

but sometimes there are tricks around… give us details, and we will try to fool the system