General

Two BreakPoint !!

Started by bibacknar on .

Sign in or create an account to join the conversation.

3 posts

Topic starter
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
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.
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));