ObjectDump - PYTHON 不支持

Returns a detailed description of an object.

语法

rhinoscriptsyntax.ObjectDump (object_id, dump_type=0)

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

参数

object_id

Required.字符串或 Guid。The identifier of the object.

dump_type

可选参数。The type of dump.The acceptable values are as follows:

描述

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.

返回值

String

A detailed description of the object is successful.

None

如果执行不成功或出错,返回空值。

示例

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select object")

if obj:

    dump = rs.ObjectDump(obj)

    rs.MessageBox(dump)

同见

ObjectDescription

ObjectType