Scene.add
- Scene.add(item, parent=None, **kwargs)[source]
Add an item to the scene.
- Parameters:
- item
compas.data.Data
The item to add.
- parent
compas.data.Data
, optional The parent item.
- **kwargsdict
Additional keyword arguments to create the scene object for the item.
- item
- Returns:
compas.scene.SceneObject
The scene object associated with the item.