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.
VBA in Onshape
magnus_ivarsson
Member Posts: 3 ✭
--
Hello.
I have used VBA as in this video in AutoCad.
https://www.youtube.com/watch?v=GlIJkG5fBKU
And like in this for SolidWorks.
https://www.youtube.com/watch?v=VbVzefDmVt0
Can I do the same in Onshape?
Regards MagI
---
Hello.
I have used VBA as in this video in AutoCad.
https://www.youtube.com/watch?v=GlIJkG5fBKU
And like in this for SolidWorks.
https://www.youtube.com/watch?v=VbVzefDmVt0
Can I do the same in Onshape?
Regards MagI
---
Tagged:
0
Best Answer
-
lougallo Member, Moderator, Onshape Employees, Developers, csevp Posts: 2,005We do not support Internet Explorer since it does not support web standards well or webgl.. doing automation that way would also not be very reliable since it would not be using APIs. We are thinking about ways to give users automation features. Stay tuned..Lou Gallo / PD/UX - Support - Community / Onshape, Inc.5
Answers
I want to be able to do exactly what they do in the first video.
https://www.youtube.com/watch?v=GlIJkG5fBKU
I have a large VBA and want to be able to activate that and from that i get values.
Them values(variables) is then to be used to automatic create 2D and 3D CAD drawings.
I can do this in AutoCad and SolidWorks.
But I would really lite to do it in your Onshape CAD system.
If you need help get back to me.
Maybe I can help you.
M.Sc. in Engineering Physics
Magnus Ivarsson
1) User can create Q.C macro to check his modeled part and drawing which is very helpful to user to reduce design time and test several alternatives.
2) User can create and use macro for giving balloon number in drawing as per his requirement.
3) User can also create and use macro for BOM formatting.
4) User can develop a rules-based solution using automation tool
5) It also helpful to create an Excel design table like solid-works.