AddClippingPlane

Creates a clipping plane. A clipping plane is a plane for visibly clipping away geometry in a specific view. Note, clipping planes are infinite.

Syntax

rhinoscriptsyntax.AddClippingPlane ( plane, u_magnitude, v_magnitude, views=None )

rhinoscript.document.AddClippingPlane ( plane, u_magnitude, v_magnitude, views=None )

Parameters

plane

Required.  The plane.

u_magnitude

Required.  Number.  The magnitude in the U direction.

v_magnitude

Required.  Number.  The magnitude in the V direction.

views

Optional.  String, Guid, list of strings, or list of Guids.  The titles or ids of the view(s) to clip.  If omitted, the current active view is used.

Returns

Guid

The identifier of the new object if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

rs.AddClippingPlane( rs.WorldXYPlane(), 5.0, 3.0 )

Also See

IsClippingPlane