Getting Started Programming Inventor

It’s good to be back now that Inventor 2013 is out the door.  I ended up with my hands in too many projects this release and didn’t get much of a chance to work on the blog.  A big thanks to Wayne for keeping it going.

Over the past few months my son has developed an interest in programming and I’ve been working with him on learning to program Inventor.  I thought it might be useful to write up for the blog some of exercises I’ve gone through with him to help him learn how to program in general, and Inventor’s programming interface specifically.

Over the next several weeks I want to go through a lot of topics, each building on top of the other, to create a relatively sophisticated Inventor command.  The command will be a new sketch command that creates a slot shape.  I know there have been requests in the past to have this functionality in Inventor.  Inventor 2013 does introduce new commands to create center point rectangles but it doesn’t yet address the creation of slot shapes, so we’ll create our own.

As we go through these exercises I want to focus on the Inventor API (Application Programming Interface) side of programming and am going assume you already know the basics of general programming.  I know this is a big assumption and probably incorrect in many cases.  It was also something that my son didn’t know and to help get him started I did some research to find a good book.  The one I found and ordered for him I’m quite happy with and feel I can recommend it to others that are getting started programming or are a bit rusty in their programming skills.  The book is Sams Teach Yourself Visual Basic 2010 in 24 Hours by James Foxall.  It’s relatively inexpensive and is available on Amazon in both a printed and Kindle version.

TeachYourselfVB2010

 

If you’re new to programming, this is a simple way to get started and then being able to apply many of the basics you learn from the book as we begin writing the new Inventor command will help to reinforce what you’ve just learned by seeing practical uses for it.

-Brian


Comments

One response to “Getting Started Programming Inventor”

  1. Brian,
    I have been told to try and gain audience with you, as I’ve created a Hybrid model assembly some people feel that you need to see. I’ve taken some iParts and iAssemblies and put them together with iMates and control the various configurations with a user form, iLogic and some of my own code. I’ve automated the model assembly so that it builds itself based on what is chosen from the user form. I can go into greater detail if you could contact me. When I seemed to have hit a wall towards the end of this project, I posted on the AutoDesk forum and caught the eye of a co-worker of yours. Once he had seen my Configurator, he thought it was “awesome”. I would like you to see what I’ve built, I believe there is nothing else like it. I work for a Philadelphia based (100 year old) company. I am also on the Autodesk Beta team. Please contact me.

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading