×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Recommended Books on Solidworks API

Recommended Books on Solidworks API

Recommended Books on Solidworks API

(OP)
Hi all,

I am very interested in exploring the API aspect of Solidworks. I am wondering if anyone could recommend a good book to purchase on the subject. Obviously there are lots of books out there on visual basic etc, but there don't seem to be as many with particular focus on Solidworks. I did find one 'Automating Solidworks 2004 using Macros - Spens' Anyone ever read it. I am starting this with a very low level understanding of macros but I have been able to manipulate some simple ones I've downloaded. What would you all recommend I buy?

RE: Recommended Books on Solidworks API

Your best bet is to start with VBA or VB6 first.  Macros will make a lot more sense if you first get familiar with VB and object-oriented programming.

I could be the world's greatest underachiever, if I could just learn to apply myself.
http://www.EsoxRepublic.com-SolidWorks API VB programming help

RE: Recommended Books on Solidworks API

(OP)
Do you know any good books on VBA or VB6 - there are a huge variety - I'd obviously like to pick the most suitable.

RE: Recommended Books on Solidworks API

John Walkenbach's VBA books are awesome. The guy's very smart and writes very well.

--------------------
Bring back the HP-15
www.hp15c.org
--------------------

RE: Recommended Books on Solidworks API

They are focused on Excel, though. If you're not already comfortable with Excel, you should look elsewhere.

--------------------
Bring back the HP-15
www.hp15c.org
--------------------

RE: Recommended Books on Solidworks API

VBA books tend to focus on Excel applications.  This is because Excel is the most common VBA context.

Using VB6 books will help disconnect you from any application-specific information and focus on VB.

Below is link to book I learned from:
<http://www.amazon.com/gp/product/0764546791/002-1213046-0885639?v=glance&n=283155&amp;v=glance>

I could be the world's greatest underachiever, if I could just learn to apply myself.
http://www.EsoxRepublic.com-SolidWorks API VB programming help

RE: Recommended Books on Solidworks API

The other thing about VBA books is that they tend to concentrate heavily on the "A" side - namely manipulating the application.  If you are a beginner to programming, you really want to start by learning about data types, how to structure code, how to use comparisons and conditional statements and how to break your code into meaningful sub- procedures and functions.  Most VBA books don't spend enough time on the basics and instead look at all the fancy things you can make an Excel spreadsheet do.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources