View source: R/designAutomation.R
| checkPdf | R Documentation |
Check the status of a Design Automation WorkItem using the Design Automation API v3.
checkPdf(id = NULL, token = NULL, source = NULL, destination = NULL)
id |
A string. WorkItem ID returned by |
token |
A string or |
source |
Deprecated. Ignored with a warning. |
destination |
Deprecated. Ignored with a warning. |
An object containing the WorkItem id, status, and
stats.
## Not run:
mySource <- "http://download.autodesk.com/us/samplefiles/acad/visualization_-_aerial.dwg"
myDestination <- "https://example.com/output/aerial.pdf"
resp <- makePdf(mySource, myDestination, token = myToken)
myWorkItemId <- resp$content$id
# Poll for completion
resp <- checkPdf(id = myWorkItemId, token = myToken)
resp
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.