Space Objects
get_object_instances
list[ObjectInstance]- List of all object instances present in the space.
get_classification_instances
list[ClassificationInstance]- List of all classification instances present in the space.
get_annotations
type_- The type of annotations to retrieve. Must be either:- “object”: Returns object annotations
- “classification”: Returns classification annotations (including global classifications)
filter_instance_hashes- Optional list of instance hashes to filter by. If provided, only annotations matching these hashes will be returned. For objects, these should be object hashes; for classifications, classification hashes.
-
Iterator[ObjectAnnotationT]- Iterator over object annotations in the space. The concrete annotation type depends on the Space subclass. When type_ is “classification”: Iterator[Union[ClassificationAnnotationT, _GlobalClassificationAnnotation]]: Iterator over classification annotations, including global classifications.

