thanks, I see that something has to change deeper in the code to have it exposed in RS…
The main thing I can’t find a workaround for is checking if a clipping plane is enabled in given vport.
EDIT: there actually IS a way to check for clipping plane being enabled in current vport: using the EnableClippingPlane command on ClippingPlane that is already enabled results in a “Viewport already clipped by selected clipping plane” message in command line, and no message if it was disabled. So checking the command history holds the answer. This is an ugly workaround but would do for now. Still hope at some point we can get a clean a nice way to access this.
The enabling and disabling part could be done via selecting the clipping plane object and running “EnableClippingPlane / DisableClippingPlane” commands.