ObjectDescription

Returns a short text description of an object.

Syntax

rhinoscriptsyntax.ObjectDescription (object_id)

rhinoscript.object.ObjectDescription (object_id)

Parameters

object_id

Required.  String or Guid.  The identifier of the object.

Returns

String

A short text description of the object if successful.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select object")

if obj:

    description = rs.ObjectDescription(obj)

    print "Object description:" , description

Also See

ObjectDump

ObjectType