register
- compas.scene.register(item_type, sceneobject_type, context=None)[source]
Register a scene object type to a data type.
- Parameters:
- item_type
Data
The type of data item.
- sceneobject_type
SceneObject
The type of the corresponding/compatible scene object.
- contextLiteral[‘Viewer’, ‘Rhino’, ‘Grasshopper’, ‘Blender’], optional
The visualization context in which the pair should be registered.
- item_type
- Returns:
- None