-
Onshape Glassworks API
Hello, My name is Gage I am looking for help with a project I am working on. I am trying to essantially search my assembly for all sheet metal parts, check those sheet metal parts size and then export those sheet metal parts as DXFs. The problem I am running into is that I can do that in a part studio but once I try to do…
-
Starting Point to learn Onshape API
Hello, I am new to the Onshape API. I have used Onshape for designing mechanical automation systems for 6 months now. I have 10+ years of experience in mechanical design and using legacy 3D modelling software like SolidWorks, Inventor, AutoCADetc. I would like to know where I should start if I want to create API based…
-
Format drawing notes with API
I'm trying to create/modify annotations in a drawing via API. I'm able to create and position the note but would like to do some additional formatting. 1) I want to set a width for the note and have text wrap within it. 2) I want to set the vertical alignment of the note to 'Bottom'. Does anyone know if one or both of…
-
howto solve:"{"message" : "An internal error has occurred; support code 4adff3ba9fb31f8a1634d61e"}"
hey guys, I am trying to update my variables in variables studio using API, so I am encountering a problem when writing the values to the studio, but I can successfully read values from the variable studio using API, when checking the ORT Log it is showing this:{ 22:39:672 | DEBUG | connect:_log_response:1106 | Request…
-
download public model
I would like to use the API to download public models from Onshape for research purposes. What is the proper procedure for doing this, and whom should I contact to ensure that I can access and download the data legally and without issues?
-
Looking for some help with release packages in the API
I've been digging into the API to manage our CAD data and I've been fairly successful in building a client that can access assembly BOMs, read/edit metadata, export files, etc. I've run into a roadblock with trying to generate release packages. This section of the API does not seem well documented. I have several questions…
-
Onshape API: How to get the source Part (Part ID like #JFD) of a Derived part?
Hi all, I’m trying to determine—via API—from which exact source Part a given Derived part was created. Concretely, I want the short Part ID from the source Part Studio (e.g., #JFD), not just the document/element pointers. What I’ve checked so far I can read the target Part Studio’s feature list (GET…
-
Get Drawing ElementID from PartID
I am trying to get the elementID of a drawing from a partID. What ive been trying is to first fetch all drawing elements in the document, and then to try to resolve all of that elements references using /appelements/d/{did}/{wvm}/{wvmid}/e/{eid}/resolvereferences The issue is that it resolved the reference but says the…
-
Add PartStudio Feature using Onshape Java client --> Error processing json
Hello Community, I try to write an app to generate a model by adding FeatureScript-Features to a PartStudio. I am able to add a feature to a PartStudio using the method at Glassworks. However I get an exception (com.onshape.api.exceptions.OnshapeException: Error processing json) trying to do the same via Java client. I…