IsLeader

Verifies an object is a dimension leader object.

Syntax

rhinoscriptsyntax.IsLeader (object_id)

rhinoscript.dimension.IsLeader (object_id)

Parameters

object_id

Required. String or Guid. The object's identifier.

Returns

Boolean

True if successful, otherwise False.

None

On error.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select a leader")

if rs.IsLeader(obj):

    print "The object is a leader."

else:

    print "The object is not a leader."

Also See

AddLeader

LeaderText