Scene.clear_context
- Scene.clear_context(guids=None)[source]
Clear the visualisation context.
- Parameters:
- guidslist, optional
The identifiers of the objects in the visualisation context.
- Returns:
- None
Notes
If guids=None, this will clear all objects from the visualisation context. For example, when used in Rhino, it will remove everything from the Rhino model. This is equivalent to compas_rhino.clear().
If guids is a list, only those objects in the list will be removed.
The method is used by Scene.clear to remove all objects previously drawn by the scene, without removing other model objects.