Create asset mappings
Asset mappings allows connections to be made between assets and 3D nodes. This can be used to contextualize 3D models.
In Hybrid CDF projects: When creating asset mappings, the asset ids and node Ids are allowed to be invalid or non-existing. The mappings are NOT maintained by any means from CDF, meaning they will be stored until the mapping is removed through the 3d asset mappings delete endpoint.
In DataModelingOnly CDF projects: When creating asset mappings, the data model based assetInstanceId (with space and externalId), and the 3d model revision nodeId, must be accessible, existing and valid.
A list of created asset mappings.
The response for a failed request.
{- "items": [
- {
- "nodeId": 1003,
- "assetId": 3001
}
]
}
{- "items": [
- {
- "nodeId": 1003,
- "assetId": 3001,
- "treeIndex": 3,
- "subtreeSize": 4
}
]
}