public static final class PartStudiosCreateTranslationRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
PartStudiosCreateTranslationResponse |
call(OnshapeDocument document) |
Calls createTranslation method, Create an element translation.
|
PartStudiosCreateTranslationResponse |
call(String did,
WV wvType,
String wv,
String eid) |
Calls createTranslation method, Create an element translation.
|
String |
configuration() |
Get A configuration string indicating the particular configuration that should be translated
|
PartStudiosCreateTranslationRequest.Builder |
configuration(String value) |
Set A configuration string indicating the particular configuration that should be translated
|
String |
formatName() |
Get Name of format into which this element should be translated.
|
PartStudiosCreateTranslationRequest.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.
|
PartStudiosCreateTranslationRequest.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.
|
PartStudiosCreateTranslationRequest.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.
|
String |
partIds() |
Get A comma-separated list of part ids that should be translated.
|
PartStudiosCreateTranslationRequest.Builder |
partIds(String value) |
Set A comma-separated list of part ids that should be translated.
|
Boolean |
storeInDocument() |
Get controls whether the translation is stored as a new element or whether the data is stored as external data (storeInDocument=false).
|
PartStudiosCreateTranslationRequest.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 configuration()
public final PartStudiosCreateTranslationRequest.Builder configuration(String value)
value - A configuration string indicating the particular configuration that should be translatedpublic final String partIds()
public final PartStudiosCreateTranslationRequest.Builder partIds(String value)
value - A comma-separated list of part ids that should be translated. If not specified, all parts are translated.public final String formatName()
public final PartStudiosCreateTranslationRequest.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 PartStudiosCreateTranslationRequest.Builder includeExportIds(Boolean value)
value - Whether to include topology id strings in parasolid output format.public final Boolean storeInDocument()
public final PartStudiosCreateTranslationRequest.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 PartStudiosCreateTranslationRequest.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 PartStudiosCreateTranslationResponse 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 PartStudiosCreateTranslationResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.