coding a button

Hi everybody,

can somebody code a button on the propertys panel that switches the 3D viewport from cycles rendered to solid and back to cycles rendered? Like a update button for displacement… This would help a lot with testing displacement thats currently experimental.
I would be very happy to have it because it makes testing faster… im to stupid to code things.

Thanks a lot :slight_smile:

Piet

Why not just use the keyboard shortcut (Shift+Z), even faster than pressing a button on the interface

Thanks a lot Richard!!!

Thats working. Thanks for that. Easy to do.. sometimes Im a bit blind for easy things when testing.
:smiley:
now we have a senseless thread more.sorry for that