MirrorObjects

Mirrors one or more objects.

Syntax

rhinoscriptsyntax.MirrorObjects ( object_ids, start_point, end_point, copy=False)

rhinoscript.object.MirrorObjects ( object_ids, start_point, end_point, copy=False)

Parameters

object_ids

Required. List. A list of strings or Guids identifying the objects to mirror.

start_point

Required. List of 3 numbers or Point3d. The start of the mirror plane.

end_point

Required. List of 3 numbers or Point3d. The end of the mirror plane.

copy

Optional. Boolean. Copy the objects. If omitted, the objects will not be copied (False).

Returns

List

A list of Guids identifying the mirrored objects if successful.

Example

import rhinoscriptsyntax as rs

objs = rs.GetObjects("Select objects to mirror")

if objs:

    start = rs.GetPoint("Start of mirror plane")

    end = rs.GetPoint("End of mirror plane")

    if start and end:

        rs.MirrorObjects( objs, start, end, True )

Also See

MirrorObject