public static final class AssembliesCreateTranslationRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
AssembliesCreateTranslationResponse |
call(OnshapeDocument document) |
Calls createTranslation method, Create an element translation.
|
AssembliesCreateTranslationResponse |
call(String did,
WV wvType,
String wv,
String eid) |
Calls createTranslation method, Create an element translation.
|
String |
formatName() |
Get Name of format into which this element should be translated.
|
AssembliesCreateTranslationRequest.Builder |
formatName(String value) |
Set Name of format into which this element should be translated.
|
Boolean |
includeExportIds() |
Get Whether to include topology id strings in parasolid output format.
|
AssembliesCreateTranslationRequest.Builder |
includeExportIds(Boolean value) |
Set Whether to include topology id strings in parasolid output format.
|
String |
linkDocumentWorkspaceId() |
Get If storeInDocument is true and linkDocumentId is specified, this specifies a workspace to be used for result storage within the linkDocument.
|
AssembliesCreateTranslationRequest.Builder |
linkDocumentWorkspaceId(String value) |
Set If storeInDocument is true and linkDocumentId is specified, this specifies a workspace to be used for result storage within the linkDocument.
|
Boolean |
storeInDocument() |
Get controls whether the translation is stored as a new element or whether the data is stored as external data (storeInDocument=false).
|
AssembliesCreateTranslationRequest.Builder |
storeInDocument(Boolean value) |
Set controls whether the translation is stored as a new element or whether the data is stored as external data (storeInDocument=false).
|
public final String formatName()
public final AssembliesCreateTranslationRequest.Builder formatName(String value)
value - Name of format into which this element should be translated. ONSHAPE indicates that the model file should be translated into a Part Studio or Assembly.public final Boolean includeExportIds()
public final AssembliesCreateTranslationRequest.Builder includeExportIds(Boolean value)
value - Whether to include topology id strings in parasolid output format.public final Boolean storeInDocument()
public final AssembliesCreateTranslationRequest.Builder storeInDocument(Boolean value)
value - controls whether the translation is stored as a new element or whether the data is stored as external data (storeInDocument=false).public final String linkDocumentWorkspaceId()
public final AssembliesCreateTranslationRequest.Builder linkDocumentWorkspaceId(String value)
value - If storeInDocument is true and linkDocumentId is specified, this specifies a workspace to be used for result storage within the linkDocument.public final AssembliesCreateTranslationResponse call(String did, WV wvType, String wv, String eid) throws OnshapeException
did - Document IDwvType - Type of Workspace or Versionwv - Workspace (w) or Version (v) IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final AssembliesCreateTranslationResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.