Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Creating an Image in a Drawing using the API
Hello!
I am working on a basic app for part management (it's more of an idea right now), and I need to be able to insert an image into a drawing for part of it. This image would vary drawing to drawing, so could not be part of a template or anything. I have looked through the Drawing API Guild (https://onshape-public.github.io/docs/api-adv/drawings/), the API Explorer, and the Drawing Schemas (https://github.com/onshape-public/onshapedrawingjson/tree/master), but couldn't find anything. I tried creating a simple drawing with just an image, but it was missing in the JSON representation:
{
"sheets": [
{
"active": true,
"annotations": [],
"format": "",
"index": 1.0,
"name": "Sheet1",
"reference": "",
"scale": {
"denumerator": 1.0,
"numerator": 0.0,
"scaleSource": "Custom"
},
"size": "A",
"titleBlock": {},
"views": []
}
]
}
How do I add an image, or even see what images are there?

Comments
There is a specific documentation page for the drawings API:
https://onshape-public.github.io/docs/api-adv/drawings/
I don't believe adding images to drawings is currently supported.
Experts in Onshape Automation - Custom Features and Integrated Applications