get_part_volume_map#

ModelQuery.get_part_volume_map(scope)#

Gets a JSON map of part ids to volume ids matching the scope.

Parameters:

scope (ScopeDefinition) – Scope definition for filtering volumes.

Return type:

JsonObject

Returns:

Returns a JSON object mapping part ids to their volume ids of the given scope.

Notes

This is a beta API. The behavior and implementation may change in future.

Examples

>>> part_volume_map = model_query.get_part_volume_map(scope)