client api
Discussion List
-
Python API: 401 Unauthorised when include_mate_connectors set to true in get_assembly_def arguments
https://github.com/onshape-public/python-client/blob/master/docs/AssembliesApi.md#get_assembly_definition ^ I've been using the above code to get the assembly definition but when I set include_mate_connectors in get_assembly_definition call I get a 401 error. However it works fine if I remove them. Wondering if anyone…
-
Execute FeatureScript using API and Python
Hello, I am trying to use the Onshape API and Python to evaluate a FeatureScript that I created to process an imported .CSV file. This is what I have built so far; # Import Libraries and/or Modules from apikey.client import Client # Set-Up Stacks stacks = { 'cad': 'https://cad.onshape.com' } # Create Instance for Onshape…
-
Import file using Python - API
Hello, I am trying to create a python function that imports a file into an Onshape document. I have successfully installed and tested demo functions from the GitHub API page, such as app.py. I have also generated my own version of the file in order to change some of the document attributes. However, I cannot seem to find…
-
problem with app-bom-master and app-stl-viewer-master samples
hallo, i'm trying to understand the samples of node.js applications. i tried app-bom-master and app-stl-viewer-master. the readme explains very well how to install the applications, so i was successfull in adding these applications to my onshape session. if i try to use them i run in both cases in the same problem within…