Clipping plane per detail

Is there a way to make a clipping plane to affect a particular detail (view) and not viewport or layout as a whole?

Update:
I’ll paraphrase, is there a way, by code, to add the clipping plane to a particular detail (view) inside a particular page view?

Start here:

ClippingPlaneObject.AddClipViewport
I’ve never used it, but this function says it:

Adds a viewport to the list of viewports that this clipping plane clips

A viewport is detail as far as I’m aware, so this should to work

Of course this won’t work if your have multiple details referring to the same view.

In which case you’d just create a named view for that specific detail and use that instead for the clipping plane.

1 Like

Thanks @nathanletwory,

This is what I was missing. So I need new viewport for each detail (view) I have to create.