Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

VBA OR .NET

Status
Not open for further replies.

Olid

Mechanical
May 22, 2003
95
Hello All,
I know that are a lot of SolidWorks users and programmers here that have posted some very useful code and macros. I use them but unfortunately, don't understand how they work or what the code means. I think programming is something that I would like to learn. Soon, I might have an opportunity to get some programming training. Which brings me to my question, I would like to know which language is best for Solidworks and which is best to learn/know in general.


[peace]

Regards,
Dan Olid
SW2007 SP2.2
PDMW 2007 SP2.2
Cad Designer/PDMW Admin
 
Replies continue below

Recommended for you

SW macros are currently in VBA. I recommend start w/ VBA. There's plenty of free tutorial material on the www. Also, go get a book or two. Also, you already have VBA as part of SW and also w/ MS Excel & Word.

Start w/ general VBA until you are comfortable with basic object-oriented programming principles. Then get into SW macros.

[bat]Honesty may be the best policy, but insanity is a better defense.[bat]
-SolidWorks API VB programming help
 
Tick,
Thanks for the reply. I picked a VB for dummies book a while back. However, I think it is really out of date.
Do you have any recommendations?

Matt,
I do not have any exposure to programming other than the macros I pick up from here or the net. I know you and the Tick have written some macros or posted some code here and I see it but it is all Greek to me. I don't just want to use the macros or progamming, I also want to understand it and perhaps even write some of my own.

[peace]

Regards,
Dan Olid
SW2007 SP2.2
PDMW 2007 SP2.2
Cad Designer/PDMW Admin
 
Jump in! There is a lot to learn, but the API help in SW is great. You will be amased at the things you can do. Also, use the macro recorder, it will get you started with most of what you need. Above all, an interest in learning, and having time are essential.

Gerald

P.S. Alot of the older VB stuff still applies. You should use the latest APIs in SW, because obsoleted ones are not supported (although most of the still work just fine)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor