latestOpenAPI 3.0.1Apache 2.02026-08-133021,2261.8 MB

aaa3e1322450

Assembly

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.
get/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/massproperties

Path parameters

didstring required

The id of the document in which to perform the operation.

wvm'w' | 'v' | 'm' required

Indicates which of workspace (w), version (v), or document microversion (m) id is specified below.

wvmidstring required

The id of the workspace, version or document microversion in which the operation should be performed.

eidstring required

The id of the element in which to perform the operation.

Query parameters

linkDocumentIdstring

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.

configurationstring

URL-encoded string of configuration values (separated by ;). See the Configurations API Guide for details.

Response

default response