get_part_names#

ModelQuery.get_part_names(scope)#

Gets names of all parts matching the scope.

Parameters:

scope (ScopeDefinition) – Scope definition for filtering parts.

Return type:

List[str]

Returns:

Returns part names of the given scope.

Notes

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

Examples

>>> part_names = model_query.get_part_names(scope)