If the switch is properly set then other things are causing the problem.
Z3 roof not working.
A simple video that shows how to open and secure the electronic roof on a bmw z3.
Over time the rubber seals shrunk the tolerance changed and needed adjustment thats all.
The otg display has probably got a flexible printed circuit that is glued onto the main board these decay with age and contact is lost don t think contact cleaner will fix this.
A simple video that shows how to open and secure the electronic roof on a bmw z3.
Search the net and locate the bmw tis unofficial websites and you will find specific factory instruction.
This videos shows some ways to diagnose the issues with the soft top not working.
There are other possibilities if it is not this roof switch on the dash brake light switch if you brake lights work then this is fine problems with the pump and dead relays.
Bmw z3 electric roof not working elekie a c doctor the hydraulic release tap valve is on the pump in the boot turn it approx 1 4 turn anti clock to release pressue.
There are 2 screws in the roof frame for this purpose.
It is possible to disconnect the connector and short the two pins together that the microswitch connects to in order to test this.
This will apply to the z3 and 3 series convertible soft tops and can apply.
Electric roof not working on bmwz3 tried it with.
The switch can now be put back into the housing with the wires connected and can now be tested to make sure it works the roof should go up and down with the lever in its normal position and should not go up and down if the lever is depressed so that the switch clicks and closes the circuit as if the roof was closed.
The other things blocking the top to move up and down is its hinges if the hinges are bent or cracked or got loose then this can be the other reason.
You need to realign the roof to make the fit a little tighter.