Get the mass properties for the assembly.
The assembly must contain parts that have density. The returned schema includes the same information as in the Onshape Mass Properties Tool. When three values are returned:
- The first is the calculated value.
- The second is the minimum possible value, considering tolerance.
- The third is the maximum possible value, considering tolerance.
Request
- Base URL: https://cad.onshape.com/api/v17
- URL: https://cad.onshape.com/api/v17/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/massproperties
- Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token, scopes: OAuth2Read) and HTTP basic
Path parameters
The id of the document in which to perform the operation.
Indicates which of workspace (w), version (v), or document microversion (m) id is specified below.
The id of the workspace, version or document microversion in which the operation should be performed.
The id of the element in which to perform the operation.
Query parameters
The id of the document through which the above document should be accessed; only applicable when accessing a version of the document. This allows a user who has access to document a to see data from document b, as long as document b has been linked to document a by a user who has permission to both.
URL-encoded string of configuration values (separated by ;). See the Configurations API Guide for details.
The named position ID of the assembly. See /Assembly/getNamedPositions if needed.
Response
default response
Changes
No recorded changes to this operation across all 1 revision of this API.