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.
Onshape library, for programmers
daniel_chow
Member Posts: 108 ✭✭✭
Hello everyone,
I have a suggestions for OS that I'm sure they thought about already.
What if you added a library, or set of code libraries that a programmer could use to run scripts to manipulate their models?
Other software suites offer this feature too. Like Microsoft Office offers VBA, Zoho Office overs CRM API
I have a suggestions for OS that I'm sure they thought about already.
What if you added a library, or set of code libraries that a programmer could use to run scripts to manipulate their models?
- Make the IDE online, in fact make it a tab that you can add
- Make it Javascript based (because everyone knows a bit of Javascript)
- Of course Object based ... (user account is an object, document is an object, each part is an object etc...)
- Don't make people have to import the libraries, just import them all automatically
- Many CAD users are also programmers
- Any engineer will know how to code
- Its optional, do't have to use it if you don't want to.
Other software suites offer this feature too. Like Microsoft Office offers VBA, Zoho Office overs CRM API
0
Comments
I have a set of video tutorials on how to use external code libraries and versions: 1 2 3 4 5
Working online with tools such as GApps is not without disadvantages. About a year ago, Google made a fairly sizable change to Apps Script. To my dismay, they got rid of the doclist class entirely and replaced it with the "Drive" class. That makes sense as they got out of the Google Docs name ad moved to Google Drive. Of course many of my scripts are based on the Doclist class. Now if would be easy if they just renamed the class from Docslist to Drive but they didn't. They added a bunch of new functionality and even worse for me ... changed how some of the methods work in Docslist when the introduced the new class. Mind you, Google also provided a year of head-notice and lots of support. But it was still hours of work to get out of Docslist and move to Drive. In the end, it was worth it, Drive is a much more comprehensive class and better organized than Docslist.
I laugh at some of Google's video tutorials on GAS though. I have a programming background but some of their tutorials from their staffers are way over my head. LOL I've heard that Google has a policy of hiring as many brilliant software engineers as they can find. The problem is when you have people like that make tutorials for us folks of normal intelligence it doesn't make sense. Kind of reminds me of that onShape tutorial on the cantilever. "Do this this this and that". What took him 10 seconds too me hours to figure out! But then I was a complete beginner back then.
Thanks for the link Lou. I filled out the form to be a beta tester for the Onshape API.