MovePlane

Moves the origin of a plane.

Syntax

rhinoscriptsyntax.MovePlane (plane, origin)

rhinoscript.plane.MovePlane (plane, origin)

Parameters

plane

Required.  Plane

origin

Required.  List of 3 numbers or Point3d.  A 3-D point identifying the new origin location.

Returns

Plane

The plane if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

origin = rs.GetPoint("CPlane origin")

if origin:

    plane = rs.ViewCPlane()

    plane = rs.MovePlane(plane,origin)

    rs.ViewCplane(plane)

Also See

PlaneFromFrame

PlaneFromNormal

RotatePlane