RhinoSceneObject

class compas_rhino.scene.RhinoSceneObject[source]

Bases: SceneObject

Base class for all Rhino scene objects.

Parameters:
layerstr, optional

A layer name.

groupstr, optional

The name of the group to add the mesh components. The group will be created if not already present. Default is None.

**kwargsdict, optional

Additional keyword arguments.

Methods

add_to_group

Add the objects to the group.

clear_layer

Clear the layer of the scene object.

compile_attributes

Compile Rhino DocObject Attributes.

get_group

Find the group with the given name, or create a new one.

Inherited Methods

add

Add a child item to the scene object.

clear

The main clearing method.

draw

The main drawing method.