api
Discussion List
-
Creating A folder within a document from the API
Hey Hey, Currently trying to make a script that monitors for new documents, then formats them as soon as I create them to avoid having to spend 5 mins formatting a doc when I create it. The structure I am going for involves having folders for parts, drawings, and subassemblies, but I can't seem to find a way to create a…
-
Custom Feature: Worm Gear v2.0 – Now Supporting Globoid Worm Gears!
Hi everyone, I'm Younseo Lee from Seoul National University, KOREA. First of all, thank you for your interest in my previous Worm Gear Feature Script! I've been working on some improvements and new features, and I'm happy to share Worm Gear update! Use Custom Feature: Worm Gear ←Link The biggest update is Globoid Worm…
-
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…