Lists 3D assets mappings that match the ID for the specified filter query parameter type. Only one type of filter can be specified for each request, either assetId
, nodeId
or intersectsBoundingBox
.
In Hybrid CDF projects: The nodeId and assetId mappings are returned by default.
To instead see any assetInstanceId mappings (for CoreDM based contextualization),
set the getDmsInstances
query parameter to true
.
In DataModelingOnly CDF projects: This endpoint is not available. Use DMS queries to list CogniteCADNodes.
Note: When filtering for a specific nodeId, only nodeIds that actually exists will be returned. When filtering for a specific assetId, all mappings will be returned, even if the assetId does not exist.
A list of mappings between assets and 3D nodes
The response for a failed request.
const mappings3D = await client.assetMappings3D.list(3244265346345, 32423454353545);
{- "items": [
- {
- "nodeId": 1003,
- "assetId": 3001,
- "assetInstanceId": {
- "space": "string",
- "externalId": "string"
}, - "treeIndex": 3,
- "subtreeSize": 4
}
], - "nextCursor": "string"
}