Assuming "CameraArcs" is the name of a valid layer it should work (spelling correct ?), But with layer switching one just needs to use a single number for 'from' - 'to', example
5 5 Layerswitch "CameraArcs" 1
11 11 Layerswitch "CameraArcs" 0
17 17 Layerswitch "CameraArcs" 1
I personally would avoid applying the code to an object which is also on that layer, what I do is attach layer switching code to an immoveable object on its own layer, if I haven't got anything static then sometimes I will draw a box somewhere out of the scene, then make it an actor and assign all layer switching to it, for me this avoids confusion and makes finding the relevant switching commands easy.