Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PartRevisionsApi

PartRevisionsApi - object-oriented interface

export

Hierarchy

Index

Constructors

constructor

Methods

deletePartRevision

getPartRevision

getPartRevisions

getQueuedPartRevisionDeletion

renderPartRevision

  • Get a rendered image of a part-revision.

    throws

    {RequiredError}

    memberof

    PartRevisionsApi

    Parameters

    Returns Promise<AxiosResponse<any, any>>

updatePartRevision

  • Update a part-revision. When given a file relationship as a payload, this will invoke a translation job, similar to the POST /parts endpoint. The response code will be a 202 and will respond with an async workflow, and return an Accepted[QueuedJob]. The geometry of the part and all of its children will be replaced with the geometry specified within the translated file given from this relationship. Some of the properties given here are only used for the translation of the file. Namely, indexMetadata, name, suppliedIdKey, suppliedRevisionIdKey, and suppliedInstanceIdKey. Note that geometry updates are eventually consistent and will not update existing scenes. For updates to the revision when the file relationship is not present will respond with a standard 200 ok code when successful. Note that metadata updates are eventually consistent and will not update existing scenes. To view updated metadata within a scene, a new scene must be created or the updated part-revision must be removed and re-added to an existing scene.

    throws

    {RequiredError}

    memberof

    PartRevisionsApi

    Parameters

    Returns Promise<AxiosResponse<PartRevision, any>>