Translate an uploaded file into SVF format using the Model Derivative API.
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 withdata:read
anddata:write
scopes.
Examples
if (FALSE) { # \dontrun{
# Translate the "aerial.dwg" file into a svf file
myEncodedUrn <- jsonlite::base64_enc(myUrn)
resp <- translateSvf(urn = myEncodedUrn, token = myToken)
} # }