Update a revision thumbnail

async AsyncCogniteClient.three_d.revisions.update_thumbnail(
model_id: int,
revision_id: int,
file_id: int,
) None

Update a revision thumbnail.

Parameters:
  • model_id (int) – Id of the model.

  • revision_id (int) – Id of the revision.

  • file_id (int) – Id of the thumbnail file in the Files API.

Example

Update revision thumbnail:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> res = client.three_d.revisions.update_thumbnail(model_id=1, revision_id=1, file_id=1)