translateSvf: Translate a File into SVF Format.

Description Usage Arguments Value See Also Examples

View source: R/modelDerivative.R

Description

Translate an uploaded file into SVF format using the Model Derivative API.

Usage

1
translateSvf(urn = NULL, token = NULL)

Arguments

urn

A string. Source URN (objectId) for the file. Note the URN must be Base64 encoded. To encode the URN, see, for example, the jsonlite::base64_enc function.

token

A string. Token generated with getToken function with data:read and data:write scopes.

Value

An object containing the result, urn, and additional activity information.

See Also

https://developer.autodesk.com/en/docs/model-derivative/v2/overview/

Examples

1
2
3
4
5
6
## Not run: 
# Translate the "aerial.dwg" file into a svf file
myEncodedUrn <- jsonlite::base64_enc(myUrn)
resp <- translateSvf(urn = myEncodedUrn, token = myToken)

## End(Not run)

paulgovan/AutoDeskR documentation built on April 4, 2020, 3:52 p.m.