public static final class AssembliesGetAssemblyDefinitionRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
AssembliesGetAssemblyDefinitionResponse |
call(OnshapeDocument document) |
Calls getAssemblyDefinition method, Get information about an Assembly.
|
AssembliesGetAssemblyDefinitionResponse |
call(String did,
WVM wvmType,
String wvm,
String eid) |
Calls getAssemblyDefinition method, Get information about an Assembly.
|
String |
configuration() |
Get Configuration string
|
AssembliesGetAssemblyDefinitionRequest.Builder |
configuration(String value) |
Set Configuration string
|
Boolean |
includeMateConnectors() |
Get Whether or not to include mate connectors of assembly and parts when includeMateFeatures is also true (adds a "mateConnectors" array in each part and includes mate connectors in assembly "features" array).
|
AssembliesGetAssemblyDefinitionRequest.Builder |
includeMateConnectors(Boolean value) |
Set Whether or not to include mate connectors of assembly and parts when includeMateFeatures is also true (adds a "mateConnectors" array in each part and includes mate connectors in assembly "features" array).
|
Boolean |
includeMateFeatures() |
Get Whether or not to include mate features in response (adds a "features" array to response)
|
AssembliesGetAssemblyDefinitionRequest.Builder |
includeMateFeatures(Boolean value) |
Set Whether or not to include mate features in response (adds a "features" array to response)
|
Boolean |
includeNonSolids() |
Get Whether or not to include non-assembly occurrences/instances that are not parts, such as surfaces and sketches.
|
AssembliesGetAssemblyDefinitionRequest.Builder |
includeNonSolids(Boolean value) |
Set Whether or not to include non-assembly occurrences/instances that are not parts, such as surfaces and sketches.
|
String |
linkDocumentId() |
Get Id of document that links to the document being accessed.
|
AssembliesGetAssemblyDefinitionRequest.Builder |
linkDocumentId(String value) |
Set Id of document that links to the document being accessed.
|
public final Boolean includeMateFeatures()
public final AssembliesGetAssemblyDefinitionRequest.Builder includeMateFeatures(Boolean value)
value - Whether or not to include mate features in response (adds a "features" array to response)public final Boolean includeNonSolids()
public final AssembliesGetAssemblyDefinitionRequest.Builder includeNonSolids(Boolean value)
value - Whether or not to include non-assembly occurrences/instances that are not parts, such as surfaces and sketches. When omitted or set to false, surfaces and sketches are omitted from the output, as though they are not part of the assembly definition.public final Boolean includeMateConnectors()
public final AssembliesGetAssemblyDefinitionRequest.Builder includeMateConnectors(Boolean value)
value - Whether or not to include mate connectors of assembly and parts when includeMateFeatures is also true (adds a "mateConnectors" array in each part and includes mate connectors in assembly "features" array).public final String configuration()
public final AssembliesGetAssemblyDefinitionRequest.Builder configuration(String value)
value - Configuration stringpublic final String linkDocumentId()
public final AssembliesGetAssemblyDefinitionRequest.Builder linkDocumentId(String value)
value - Id of document that links to the document being accessed. This may provide additional access rights to the document. Allowed only with version (v) path parameter.public final AssembliesGetAssemblyDefinitionResponse call(String did, WVM wvmType, String wvm, String eid) throws OnshapeException
did - Document IDwvmType - Type of Workspace, Version or Microversionwvm - Workspace (w), Version (v) or Microversion (m) IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final AssembliesGetAssemblyDefinitionResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.