ObjectDump - NOT IN PYTHON YET

Returns a detailed description of an object.

Syntax

rhinoscriptsyntax.ObjectDump (object_id, dump_type=0)

rhinoscript.object.ObjectDump (object_id, dump_type=0)

Parameters

object_id

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

dump_type

Optional.  The type of dump.  The acceptable values are as follows:

Value

Description

0 (Default)

Returns both geometry and attribute details. This is equivalent to the results of the What command.

1

Returns geometry details.

2

Returns attribute details.

3

Returns detailed technical information about the data structure of the object. This is equivalent to the results of the List command.

Returns

String

A detailed description of the object is successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select object")

if obj:

    dump = rs.ObjectDump(obj)

    rs.MessageBox(dump)

Also See

ObjectDescription

ObjectType