Page 1 of 1

Two BreakPoint !!

Posted: 09 Apr 2012 20:29
by bibacknar
Hello,

I have two Breakpoint in my project and i would like to have a switch button to do/undo (by a script) to assign the same value on both BreakPoint !
Like we can do with the grid for example.

Thank's a lot

Re: Two BreakPoint !!

Posted: 11 Apr 2012 16:34
by bxsj
Create an expression on x==1 script on the custom button/switch button and use the setattribute function to set attributes on your breakpoint objects.
Hope that helps,
B.

Re: Two BreakPoint !!

Posted: 15 Apr 2012 20:14
by bibacknar
Hello, thank's for your answer but i continue to fail !
Maybe i don't understand what you said :

When you said : Create an expression on x==1 -> where i can create that ?

I failed each time i use setattributes !

Is it possible to do that :

setattribute(SmoothRotation, 1, (getattribute(SmoothTravelling,1));