Scene.add

Scene.add(item, parent=None, **kwargs)[source]

Add an item to the scene.

Parameters:
itemcompas.data.Data

The item to add.

parentcompas.data.Data, optional

The parent item.

**kwargsdict

Additional keyword arguments to create the scene object for the item.

Returns:
compas.scene.SceneObject

The scene object associated with the item.