<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: VBA - Inventor.... books...? in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929268#M167624</link>
    <description>Do you really want to know?

Joe
--

"nashville" &lt;NOSPAM&gt; wrote in message
news:24772094.1074181754657.JavaMail.jive@jiveforum1.autodesk.com...
&amp;gt; It's amazing... searching the web 30 minutes for a good VBA/Inventor book
yields nothing.
&amp;gt;
&amp;gt; What's a man to do?
&amp;gt;
&amp;gt; I have enjoyed the "Mastering series" in other products, Excel, VBA
etc..., but can't find anything on vba/IV.   What's up with that?
&amp;gt;
&amp;gt; Without good books, where did all you veterans get your feet wet?
&amp;gt;
&amp;gt; Dave&lt;/NOSPAM&gt;</description>
    <pubDate>Thu, 15 Jan 2004 16:14:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-01-15T16:14:03Z</dc:date>
    <item>
      <title>VBA - Inventor.... books...?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929267#M167623</link>
      <description>It's amazing... searching the web 30 minutes for a good VBA/Inventor book yields nothing.&lt;BR /&gt;
&lt;BR /&gt;
What's a man to do?&lt;BR /&gt;
&lt;BR /&gt;
I have enjoyed the "Mastering series" in other products, Excel, VBA etc..., but can't find anything on vba/IV.   What's up with that?&lt;BR /&gt;
&lt;BR /&gt;
Without good books, where did all you veterans get your feet wet?&lt;BR /&gt;
&lt;BR /&gt;
Dave</description>
      <pubDate>Thu, 15 Jan 2004 15:48:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929267#M167623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-01-15T15:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Inventor.... books...?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929268#M167624</link>
      <description>Do you really want to know?

Joe
--

"nashville" &lt;NOSPAM&gt; wrote in message
news:24772094.1074181754657.JavaMail.jive@jiveforum1.autodesk.com...
&amp;gt; It's amazing... searching the web 30 minutes for a good VBA/Inventor book
yields nothing.
&amp;gt;
&amp;gt; What's a man to do?
&amp;gt;
&amp;gt; I have enjoyed the "Mastering series" in other products, Excel, VBA
etc..., but can't find anything on vba/IV.   What's up with that?
&amp;gt;
&amp;gt; Without good books, where did all you veterans get your feet wet?
&amp;gt;
&amp;gt; Dave&lt;/NOSPAM&gt;</description>
      <pubDate>Thu, 15 Jan 2004 16:14:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929268#M167624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-01-15T16:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Inventor.... books...?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929269#M167625</link>
      <description>PLEASE</description>
      <pubDate>Thu, 15 Jan 2004 16:34:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929269#M167625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-01-15T16:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Inventor.... books...?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929270#M167626</link>
      <description>&amp;gt; It's amazing... searching the web 30 minutes for a good VBA/Inventor book yields nothing.
&amp;gt; 
&amp;gt; What's a man to do?
&amp;gt; 
&amp;gt; I have enjoyed the "Mastering series" in other products, Excel, VBA etc..., but can't find anything on vba/IV.   What's up with that?
&amp;gt; 
&amp;gt; Without good books, where did all you veterans get your feet wet?

These only one Inventor VBA/API book that I'm aware of that exists and 
it's put out by a guy in Quebec. Haven't bought it myself or seen it so 
I can't speak for it's accuracy. It was based on r6 I believe.


 

-- 
Darren J. Young
CAD/CAM Systems Developer

Cold Spring Granite Company
202 South Third Avenue
Cold Spring, Minnesota 56320

Email: dyoung@coldspringgranite.com
Phone: (320) 685-5045
Fax: (320) 685-5052</description>
      <pubDate>Thu, 15 Jan 2004 17:12:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929270#M167626</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-01-15T17:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Inventor.... books...?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929271#M167627</link>
      <description>API code can be lengthy and has a higher level of difficulty and hierarchy.   Is there not just a simple VBA/IV book?&lt;BR /&gt;
&lt;BR /&gt;
Without books, where did you guys learn your stuff?  &lt;BR /&gt;
&lt;BR /&gt;
Dave</description>
      <pubDate>Thu, 15 Jan 2004 17:26:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929271#M167627</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-01-15T17:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Inventor.... books...?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929272#M167628</link>
      <description>Dave,&lt;BR /&gt;
&lt;BR /&gt;
What all of us in this group have learned from are the samples that come with IV and trial and error.&lt;BR /&gt;
&lt;BR /&gt;
The guy who wrote a books address is:  http://www.thalheim.ca/&lt;BR /&gt;
&lt;BR /&gt;
I don't know of anyone who has bought it, or if they did buy it no one has admitted to it.  I think Joe Sutphin (who responded first) is writing one.  If so Joe, when is it due out.&lt;BR /&gt;
&lt;BR /&gt;
Mike</description>
      <pubDate>Thu, 15 Jan 2004 17:41:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929272#M167628</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-01-15T17:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Inventor.... books...?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929273#M167629</link>
      <description>&amp;gt; Without books, where did you guys learn your stuff?

I hear and I forget.  I read and I remember.  I do and I learn.</description>
      <pubDate>Thu, 15 Jan 2004 17:57:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929273#M167629</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-01-15T17:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Inventor.... books...?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929274#M167630</link>
      <description>&amp;gt; API code can be lengthy and has a higher level of difficulty and hierarchy.   Is there not just a simple VBA/IV book?

I think you're misunderstanding slightly. API stands for Application 
Programming Interface. That's what VBA inside Inventor does. VBA, 
AutoLISP, ARX in AutoCAD, they are all APIs.

A book in VBA/Inventor would be an API book. 

&amp;gt; Without books, where did you guys learn your stuff?  

If you want to know how to program inventor. Pick up a good book on 
Visual Basic. (I learned from VB in 21 days but as Sean said, it takes 
more than 21 days). 

Once you know the programming language, you need to use Inventor's 
Object Model with it. If you have documentation of the object model, you 
theoretically can program any software be it AutoCAD, Excel, Outlook or 
Inventor.

The trouble with Inventor is that internally, it's a complex application 
despite having a great easy to learn GUI (Graphical User Interface). 
Inventor's Object model is complex and it takes a lot of trial and error 
for all of us for much of it. The rest is learned from other people 
who've done the "trial and error" method on something before you did. 

As an example, an Inventor IDW to AutoCAD DWG conversion utility I wrote 
about 6 months ago was written by a combination the following...

1) Prior knowledge of Visual Basic and Win32 programming
2) Prior AutoCAD VB experience (learned at the time from others and 
trial &amp;amp; error)
3) Inventor code I examined from I believe Kent Kellers site.
4) A web site explaining how to launch an ActiveX.Exe process so that 
the actual processing of the files were done in a separate memory thread 
so that the main interface didn't bog down because of the heavy duty 
processing Inventor &amp;amp; AutoCAD were doing. My "Pause/Resume" buttons then 
very responsive and not dependent on what Inventor or AutoCAD was doing 
at the time.
5) Trial &amp;amp; Error experimentation of the Inventor Object Model
6) Tid Bits I picked up here from lurking.

So as you can see, some was a piece of cake, I'd dome similar things. 
Others were nothing more that beating my head against the wall for 18 
hour days so I'd meet my deadline and get to go on vacation. And others 
were handed to me on a silver platter, like some of the ideas I got from 
looking at code on Kent Keller's site (thanks Kent) who I assume beat 
his head against the wall with trial &amp;amp; error or got it from someone else 
who did.


At least that's how I "learned" even though I don't consider myself as 
having "learned" I still know nothing because the object model is so 
huge. We all just know "parts" with possibly the exception of Brian 
Ekins @ Autodesk who created most of the Inventor API's anyway. We all 
then come here to share our "parts".

Is there a task that you'd like to do and don't know where to get 
started?

-- 
Darren J. Young
CAD/CAM Systems Developer

Cold Spring Granite Company
202 South Third Avenue
Cold Spring, Minnesota 56320

Email: dyoung@coldspringgranite.com
Phone: (320) 685-5045
Fax: (320) 685-5052</description>
      <pubDate>Fri, 16 Jan 2004 15:36:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929274#M167630</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-01-16T15:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Inventor.... books...?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929275#M167631</link>
      <description>An excellent description of the learning process Darren!!!
(I, myself have a legible keyboard permanently embedded into my forehead)

--
Perry Leets
Inovec Optimization and Control Systems
Eugene, Oregon
"Darren J. Young" &lt;SEE.SIGNATURE.FOR&gt; wrote in message
news:MPG.1a71c0f6efaf94869896c3@discussion.autodesk.com...
&amp;gt; &amp;gt; API code can be lengthy and has a higher level of difficulty and
hierarchy.   Is there not just a simple VBA/IV book?
&amp;gt;
&amp;gt; I think you're misunderstanding slightly. API stands for Application
&amp;gt; Programming Interface. That's what VBA inside Inventor does. VBA,
&amp;gt; AutoLISP, ARX in AutoCAD, they are all APIs.
&amp;gt;
&amp;gt; A book in VBA/Inventor would be an API book.
&amp;gt;
&amp;gt; &amp;gt; Without books, where did you guys learn your stuff?
&amp;gt;
&amp;gt; If you want to know how to program inventor. Pick up a good book on
&amp;gt; Visual Basic. (I learned from VB in 21 days but as Sean said, it takes
&amp;gt; more than 21 days).
&amp;gt;
&amp;gt; Once you know the programming language, you need to use Inventor's
&amp;gt; Object Model with it. If you have documentation of the object model, you
&amp;gt; theoretically can program any software be it AutoCAD, Excel, Outlook or
&amp;gt; Inventor.
&amp;gt;
&amp;gt; The trouble with Inventor is that internally, it's a complex application
&amp;gt; despite having a great easy to learn GUI (Graphical User Interface).
&amp;gt; Inventor's Object model is complex and it takes a lot of trial and error
&amp;gt; for all of us for much of it. The rest is learned from other people
&amp;gt; who've done the "trial and error" method on something before you did.
&amp;gt;
&amp;gt; As an example, an Inventor IDW to AutoCAD DWG conversion utility I wrote
&amp;gt; about 6 months ago was written by a combination the following...
&amp;gt;
&amp;gt; 1) Prior knowledge of Visual Basic and Win32 programming
&amp;gt; 2) Prior AutoCAD VB experience (learned at the time from others and
&amp;gt; trial &amp;amp; error)
&amp;gt; 3) Inventor code I examined from I believe Kent Kellers site.
&amp;gt; 4) A web site explaining how to launch an ActiveX.Exe process so that
&amp;gt; the actual processing of the files were done in a separate memory thread
&amp;gt; so that the main interface didn't bog down because of the heavy duty
&amp;gt; processing Inventor &amp;amp; AutoCAD were doing. My "Pause/Resume" buttons then
&amp;gt; very responsive and not dependent on what Inventor or AutoCAD was doing
&amp;gt; at the time.
&amp;gt; 5) Trial &amp;amp; Error experimentation of the Inventor Object Model
&amp;gt; 6) Tid Bits I picked up here from lurking.
&amp;gt;
&amp;gt; So as you can see, some was a piece of cake, I'd dome similar things.
&amp;gt; Others were nothing more that beating my head against the wall for 18
&amp;gt; hour days so I'd meet my deadline and get to go on vacation. And others
&amp;gt; were handed to me on a silver platter, like some of the ideas I got from
&amp;gt; looking at code on Kent Keller's site (thanks Kent) who I assume beat
&amp;gt; his head against the wall with trial &amp;amp; error or got it from someone else
&amp;gt; who did.
&amp;gt;
&amp;gt;
&amp;gt; At least that's how I "learned" even though I don't consider myself as
&amp;gt; having "learned" I still know nothing because the object model is so
&amp;gt; huge. We all just know "parts" with possibly the exception of Brian
&amp;gt; Ekins @ Autodesk who created most of the Inventor API's anyway. We all
&amp;gt; then come here to share our "parts".
&amp;gt;
&amp;gt; Is there a task that you'd like to do and don't know where to get
&amp;gt; started?
&amp;gt;
&amp;gt; --
&amp;gt; Darren J. Young
&amp;gt; CAD/CAM Systems Developer
&amp;gt;
&amp;gt; Cold Spring Granite Company
&amp;gt; 202 South Third Avenue
&amp;gt; Cold Spring, Minnesota 56320
&amp;gt;
&amp;gt; Email: dyoung@coldspringgranite.com
&amp;gt; Phone: (320) 685-5045
&amp;gt; Fax: (320) 685-5052&lt;/SEE.SIGNATURE.FOR&gt;</description>
      <pubDate>Fri, 16 Jan 2004 16:23:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929275#M167631</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-01-16T16:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Inventor.... books...?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929276#M167632</link>
      <description>Darren, &lt;BR /&gt;
&lt;BR /&gt;
What you wrote was a bit contradictory to what I have always read on API's.&lt;BR /&gt;
&lt;BR /&gt;
For instance I just pulled up the first website I could find...&lt;BR /&gt;
http://www.linktionary.com/a/api.html &lt;BR /&gt;
...and this is the first paragraph:&lt;BR /&gt;
&lt;BR /&gt;
***API (Application Programming Interface)&lt;BR /&gt;
&lt;BR /&gt;
APIs are the language and messaging formats that define how programs interact with an operating system, with functions in other programs, with communication systems, or with hardware drivers. For example, an operating system provides a set of standard APIs that programmers can use to access common functions such as accepting user input, writing information to the screen, or managing files. The APIs in Microsoft Windows are quite sophisticated because they allow programmers to build programs that easily access features such as pull-down menus, icons, scroll bars, and more. In the network environment, APIs are available that interface network services for delivering data across communication systems. A cross-platform API provides an interface for building applications or products that work across multiple operating systems or platforms.***&lt;BR /&gt;
&lt;BR /&gt;
I have been programming in Excel VBA for 10 years without API's.  It sounds like API's work on a higher level with added complication and longer code.   Is this not true?&lt;BR /&gt;
&lt;BR /&gt;
Dave&lt;BR /&gt;
(nashville)</description>
      <pubDate>Fri, 16 Jan 2004 16:45:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929276#M167632</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-01-16T16:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Inventor.... books...?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929277#M167633</link>
      <description>I have found a good supply of rubber helmets helps when beating ones head against the
wall. 8^)  Trouble is a few of them have holes and so now I a constant buzzing noise
coming from my head. &lt;VBG&gt;

Good post Darren.   IMO it takes learning VB or VBA, it doesn't matter what you are doing
with it, even using it in Word or Excel will help you learn VBA.  Once you start feeling
comfortable in the Environment, then you can start picking up the Inventor API.

--
Kent
Assistant Moderator
Autodesk Discussion Forum Moderator Program


"Darren J. Young" &lt;SEE.SIGNATURE.FOR&gt; wrote in message

like some of the ideas I got from
&amp;gt; looking at code on Kent Keller's site (thanks Kent) who I assume beat
&amp;gt; his head against the wall with trial &amp;amp; error&lt;/SEE.SIGNATURE.FOR&gt;&lt;/VBG&gt;</description>
      <pubDate>Fri, 16 Jan 2004 16:54:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929277#M167633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-01-16T16:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Inventor.... books...?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929278#M167634</link>
      <description>That is not true

If you have been doing Excel VBA for 10 years then you have been using the Excel API for
10 years.    Each program that exposes its Interface  through VB/VBA is considered to have
a API.    Application = Excel  Programming = VBA programming   Interface=the VBA IDE that
you work in.

Maybe not completely correct, but I consider what you see when you look in the Object
Browser and select one library such as Excel or Inventor to be its API.   Those are the
things that they have exposed to us to be able to work with.

--
Kent
Assistant Moderator
Autodesk Discussion Forum Moderator Program


"nashville" &lt;NOSPAM&gt; wrote in message
news:6771086.1074271626748.JavaMail.jive@jiveforum1.autodesk.com...

&amp;gt; I have been programming in Excel VBA for 10 years without API's.  It sounds like API's
work on a higher level with added complication and longer code.   Is this not true?
&amp;gt;
&amp;gt; Dave
&amp;gt; (nashville)&lt;/NOSPAM&gt;</description>
      <pubDate>Fri, 16 Jan 2004 17:09:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929278#M167634</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-01-16T17:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Inventor.... books...?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929279#M167635</link>
      <description>&amp;gt; I have been programming in Excel VBA for 10 years without API's.  It sounds like API's work on a higher level with added complication and longer code.   Is this not true?

To open a workbook programmatically in Excel, how do you do it?  Workbooks.Open(filename), right?  You can do that because of Excel's API.  The collection of Workbooks has an Open function that is exposed by the API.  It is via the API that functionality is exposed to the programmer.

Not all things can necessarily be done via an API that can be done manually.  If the API doesn't expose it, you can't do it.  This is the case with just about anything anyone wants to do within Inventor's drawing environment.  For example, you can't add a sheet to an Inventor drawing using Inventor's API, because the Sheets collection does not yet expose an .Add method.  (yes, I know it can be done with the CommandManager - I'm just trying to help out an API n00b).</description>
      <pubDate>Fri, 16 Jan 2004 17:40:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929279#M167635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-01-16T17:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Inventor.... books...?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929280#M167636</link>
      <description>Have a look at the posting 'Q 4 Charles, Kent,Neil, Sean &amp;amp; other prog gurus'
above.


Duncan


"nashville" &lt;NOSPAM&gt; wrote in message
news:24772094.1074181754657.JavaMail.jive@jiveforum1.autodesk.com...
&amp;gt; It's amazing... searching the web 30 minutes for a good VBA/Inventor book
yields nothing.
&amp;gt;
&amp;gt; What's a man to do?
&amp;gt;
&amp;gt; I have enjoyed the "Mastering series" in other products, Excel, VBA etc...,
but can't find anything on vba/IV.   What's up with that?
&amp;gt;
&amp;gt; Without good books, where did all you veterans get your feet wet?
&amp;gt;
&amp;gt; Dave&lt;/NOSPAM&gt;</description>
      <pubDate>Mon, 19 Jan 2004 11:49:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-inventor-books/m-p/929280#M167636</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-01-19T11:49:03Z</dc:date>
    </item>
  </channel>
</rss>

