Promting in vba / api in solidworks ?
Promting in vba / api in solidworks ?
(OP)
Hello.
There is a great youtube video on how to use VBA in AutoCad.
https://www.youtube.com/watch?v=GlIJkG5fBKU
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
There is a great youtube video on how to use VBA in AutoCad.
https://www.youtube.com/watch?v=GlIJkG5fBKU
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






RE: Promting in vba / api in solidworks ?
https://www.google.com/search?q=SolidWorks+API+Hel...
Anna Wood
SW2014 SP2, Windows 7 x64
RE: Promting in vba / api in solidworks ?
Can anybody give me a hint?
Regards
----
RE: Promting in vba / api in solidworks ?
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.
RE: Promting in vba / api in solidworks ?
Is it not possible to create a drawing by activating a "UserForm" in Solidworks as in Autocad in the video?
Regards
---
RE: Promting in vba / api in solidworks ?
RE: Promting in vba / api in solidworks ?
Then just length.
Regards
--