CompareGeometry - NOT IMPLEMENTED IN PYTHON YET

Compares two objects to determine if they are geometrically identical.

Syntax

rhinoscriptsyntax.CompareGeometry (object1, object2)

rhinoscript.geometry.CompareGeometry (object1, object2)

Parameters

object1

Required.  String or Guid.  The identifier of the first object to compare.

object2

Required.  String or Guid.  The identifier of the second object to compare.

Returns

Boolean

True if the objects are geometrically identical, otherwise False.

None

On error.

Example

import rhinoscriptsyntax as rs

obj1 = rs.GetObject("Select first object to compare")

if obj1:

    obj2 = rs.GetObject("Select second object to compare")

    if obj2:

        compare = rs.CompareGeometry(obj1, obj2)

        if compare: print "Objects are geometrically identical."

        else: print "Objects are not geometrically identical."