public static final class PartStudiosGetSketchInfoRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
PartStudiosGetSketchInfoResponse |
call(OnshapeDocument document) |
Calls getSketchInfo method, Get information for sketches in a part studio
|
PartStudiosGetSketchInfoResponse |
call(String did,
WVM wvmType,
String wvm,
String eid) |
Calls getSketchInfo method, Get information for sketches in a part studio
|
String |
configuration() |
Get Configuration string
|
PartStudiosGetSketchInfoRequest.Builder |
configuration(String value) |
Set Configuration string
|
Boolean |
curvePoints() |
Get Whether or not to output start/quarter/mid/end points, start/end tangent vectors, and length of sketch curves
|
PartStudiosGetSketchInfoRequest.Builder |
curvePoints(Boolean value) |
Set Whether or not to output start/quarter/mid/end points, start/end tangent vectors, and length of sketch curves
|
Boolean |
includeGeometry() |
Get Whether or not to just output simple sketch info without geometry
|
PartStudiosGetSketchInfoRequest.Builder |
includeGeometry(Boolean value) |
Set Whether or not to just output simple sketch info without geometry
|
String |
linkDocumentId() |
Get Id of document that links to the document being accessed.
|
PartStudiosGetSketchInfoRequest.Builder |
linkDocumentId(String value) |
Set Id of document that links to the document being accessed.
|
Boolean |
output3D() |
Get Whether or not to output with respect to global 3D coordinate system
|
PartStudiosGetSketchInfoRequest.Builder |
output3D(Boolean value) |
Set Whether or not to output with respect to global 3D coordinate system
|
String |
sketchId() |
Get ID of a sketch feature; repeat query param to add more than one.
|
PartStudiosGetSketchInfoRequest.Builder |
sketchId(String value) |
Set ID of a sketch feature; repeat query param to add more than one.
|
public final String sketchId()
public final PartStudiosGetSketchInfoRequest.Builder sketchId(String value)
value - ID of a sketch feature; repeat query param to add more than one. If no sketchId query parameter is passed, all sketches in the part studio are returned.public final Boolean output3D()
public final PartStudiosGetSketchInfoRequest.Builder output3D(Boolean value)
value - Whether or not to output with respect to global 3D coordinate systempublic final Boolean curvePoints()
public final PartStudiosGetSketchInfoRequest.Builder curvePoints(Boolean value)
value - Whether or not to output start/quarter/mid/end points, start/end tangent vectors, and length of sketch curvespublic final Boolean includeGeometry()
public final PartStudiosGetSketchInfoRequest.Builder includeGeometry(Boolean value)
value - Whether or not to just output simple sketch info without geometrypublic final String linkDocumentId()
public final PartStudiosGetSketchInfoRequest.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 PartStudiosGetSketchInfoRequest.Builder configuration(String value)
value - Configuration stringpublic final PartStudiosGetSketchInfoResponse 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 PartStudiosGetSketchInfoResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.