get_scoped_usd#

Model.get_scoped_usd(scope, update=False)#

Get the scoped USD geometry of the model.

Parameters:
  • scope (Scope) – Scope of the model.

  • update (bool) – Update the USD geometry if it is already present, by default False.

Return type:

dict

Returns:

Dictionary mapping part_id -> {“faces”: […], “edges”: […], …} containing only geometry within the specified scope.

Notes

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

Examples

>>> scoped_usd = model.get_scoped_usd(scope)