I'm not sure yet it's going to work, I'm trying to replicate a picking cession as the factory one, but when you pick an object it's opening a contextual menu, and return a string depending of the choosed item in the menu. Unfortunately calling a custom tool is a non blocking command, the rest of your code will continue to evaluate :( ----------------------------------------------- Ahmidou Lyazidi Director | TD | CG artist http://vimeo.com/ahmidou/videos http://www.cappuccino-films.com if it doesn't work i guess you could use push that return value to 'userdata'?
On Sun, Oct 19, 2014 at 4:53 PM, Ahmidou Lyazidi <[email protected]> wrote: > Hey list, > Does anyone know a simple C++ trick to return a value from a tool on exit? > I'm just asking before starting to struggle with this in case someone > already had to do this. > > Thanks > -A > > > > ----------------------------------------------- > Ahmidou Lyazidi > Director | TD | CG artist > http://vimeo.com/ahmidou/videos > http://www.cappuccino-films.com >

