public static final class PartStudiosGetBoundingBoxesRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
PartStudiosGetBoundingBoxesResponse |
call(OnshapeDocument document) |
Calls getBoundingBoxes method, Get the bounding box of a Part Studio, or an empty object if the Part Studio is empty.
|
PartStudiosGetBoundingBoxesResponse |
call(String did,
WVM wvmType,
String wvm,
String eid) |
Calls getBoundingBoxes method, Get the bounding box of a Part Studio, or an empty object if the Part Studio is empty.
|
String |
configuration() |
Get Configuration string
|
PartStudiosGetBoundingBoxesRequest.Builder |
configuration(String value) |
Set Configuration string
|
Boolean |
includeHidden() |
Get Whether or not to include bounding boxes for hidden parts
|
PartStudiosGetBoundingBoxesRequest.Builder |
includeHidden(Boolean value) |
Set Whether or not to include bounding boxes for hidden parts
|
Boolean |
includeWireBodies() |
Get Whether to include wire bodies in the bounding box calculation
|
PartStudiosGetBoundingBoxesRequest.Builder |
includeWireBodies(Boolean value) |
Set Whether to include wire bodies in the bounding box calculation
|
String |
linkDocumentId() |
Get Id of document that links to the document being accessed.
|
PartStudiosGetBoundingBoxesRequest.Builder |
linkDocumentId(String value) |
Set Id of document that links to the document being accessed.
|
public final Boolean includeHidden()
public final PartStudiosGetBoundingBoxesRequest.Builder includeHidden(Boolean value)
value - Whether or not to include bounding boxes for hidden partspublic final Boolean includeWireBodies()
public final PartStudiosGetBoundingBoxesRequest.Builder includeWireBodies(Boolean value)
value - Whether to include wire bodies in the bounding box calculationpublic final String linkDocumentId()
public final PartStudiosGetBoundingBoxesRequest.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 String configuration()
public final PartStudiosGetBoundingBoxesRequest.Builder configuration(String value)
value - Configuration stringpublic final PartStudiosGetBoundingBoxesResponse 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 PartStudiosGetBoundingBoxesResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.