Hi there, there are a few issues here that stumped me in Maya (over the last 6 months), and I didn’t get any answers from other places, I wonder if anybody can shed some light ? I am rebuilding UI and coding tools for my own benefit, to make Maya a more beautiful
experience for a generalist.
- Is there a scriptjob that can detect when an error has been thrown to trigger
getLastError
. I would like to keep a little UI that is a one liner that tracks the last error in this way. (Rather than using catch for everything…) . ie. as issues crop up… I fix them one by one…
2.Is there any way/hack to intercept the right click menu on attributes in the AE, I read this is hard coded, but if there was a sneaky way around it I could stick in some extra functionality… That’s where we have (Set key, Create new expression, etc menu… ). This would work everywhere, so wouldn’t have to code custom attribute controls. Alternatively, if there was a way to detect what control (controlling what attribute) was under the mouse pointer, a script could operate in different ways… I suppose this can be read from the Channel box, but is there any way to read it from the Attribute Editor.
I have realised that I have a lot of questions - so Ill just leave it at those two for now, so not to bombard…
Many thanks for any enlightenment…
Alan.