Retrieve a model by ID

async AsyncCogniteClient.three_d.models.retrieve(
id: int,
) ThreeDModel | None

Retrieve a 3d model by id.

Parameters:

id (int) – Get the model with this id.

Returns:

The requested 3d model.

Return type:

ThreeDModel | None

Example

Get 3d model by id:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> res = client.three_d.models.retrieve(id=1)