Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Promting in vba / api in solidworks ?

Status
Not open for further replies.

jlivingstonsg

Computer
Aug 14, 2015
4
Hello.

There is a great youtube video on how to use VBA in AutoCad.

Can someone tell me how to do the same in SolidWorks?

When I run it it prompts me to insert two values, length and width, then I get a square in AutoCad.
Can it be done in SolidWorks?
When I do the same in SolidWorks it does not prompt or draw anything.

Up left in Autocad there is something called "ThisDrawing".
That is missing in SolidWorks.

What do I change to get it to work in SolidWorks?


Regards Magnus
 
Replies continue below

Recommended for you

Anna already gave you a hint.
SolidWorks is capable but probably not the way you expect it to behave. You should not expect two different products look and feel exactly the same.
 
--

Is it not possible to create a drawing by activating a "UserForm" in Solidworks as in Autocad in the video?

Regards

---
 
Why do you need length and width to get a square?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor