Yes, if you place code in your default.ivb project it is available at all
times within IV. See my tips and tricks tutorial and the section of
visibility macros. That code is in the default.ivb.
If you have any suggestions of things you'd like to do with functions let me
know and I can add more examples to the tutorial. I was racking my brain to
try to come up with some examples. Of course if I stop thinking about it
I'll probably think of 100.
How about a lookup table tied to Excel?
This would almost be like an ipart without the embedded table. You could
have a common linked excel sheet to all parts in this manner.
--
Sean Dotson, PE
http://www.sdotson.com
Check the Inventor FAQ for most common questions
www.sdotson.com/faq.html
----------------------------------------------------------------------------
------
"jorgen" wrote in message
news:f14be63.7@WebX.maYIadrTaRb...
> I have wanted to try VBA in IV for a long time to brush up on my
University programming classes.
> But too little time, and not knowing where to start have kind of stopped
me.
>
> I read your tutorial, and it was a nice startingpoint with a good example
for everyday(?) use.
>
> So now I have picked up my "Visual Basic for Applications" book and
started to go through it. (already on page 40).
>
> Thanks for a nice, but small tutorial.
> Keep'em coming! I'd appreciate more tutorials, explaining how to access
many different IV functions/properties/etc.
> And I'll look forward to the motion simulation tutorial you almost
promised at the end of the tutorial.
>
>
> One question though: Is there a file I could put a macro in and always
have it available? (without putting it in the template part and all part
files).
>
> Jorgen "VBA" Bjornes
>
> Thanks a lot
>