Microsoft Learn to Inventor Learn

Microsoft Learn to Inventor Learn

andrew_canfield
Collaborator Collaborator
576 Views
3 Replies
Message 1 of 4

Microsoft Learn to Inventor Learn

andrew_canfield
Collaborator
Collaborator

IF 

THE CODE I WRITE = WHAT I'D LIKE

THEN

BE AMAZED

ELSE

CTRL + ALT + DEL = REPEAT

 

I've discovered many resources but the Mircosoft site is huge - which bits of Microsoft learn are most relevant to writing programs for Inventor? 

The folks on this site are amazing, I'd like to do more myself & not pester so much.

https://docs.microsoft.com/en-us/learn/tv/

 

microsoft.jpg

 

Nobody said it was going to be easy.

 

Regards

 

Andrew

0 Likes
Accepted solutions (1)
577 Views
3 Replies
Replies (3)
Message 2 of 4

A.Acheson
Mentor
Mentor

What language have you had the most use with or are the most comfortable with? 

You ask a good question so hopefully this post will build up some good conversation. I haven’t really navigated the Microsoft information directly more so go there when needed. 

 

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 3 of 4

andrew_canfield
Collaborator
Collaborator

Hello Alan

I can ilogic a little, VBA not quite, Visual Studio Basic a very little - then a chasm opens up accessing Inventor's API.

LinkedIn learning offers plenty of api add-in for excel & there's many tutorials using excel's macro tool - which I haven't used.

Regards

 

Andrew

0 Likes
Message 4 of 4

A.Acheson
Mentor
Mentor
Accepted solution

 

VBA/iLogic editor

For me I started just with the ilogic straight in the rule editor, then VBA in excel, then figured out how to change VBA rules to work in ilogic editor. All mostly working backwards from finished rules and finding out what piece of code does what.

 

Here is a good explanation of what some of the languages do.

 

https://forums.autodesk.com/t5/inventor-customization/ilogic-vs-vba-similarities-differences-and-adv...

 

I suppose because VB.NET is the most compatible with ilogic so it may be easier. But VBA is probably more commonly used in terms of content creation and debugging.

For learning solely inventor the API help has the best information and has samples that pop up on this forum where user start to modify based on specific needs. For me I spent many months hearing about The API help but actually couldn’t figure out where it was referenced, it is here.

https://knowledge.autodesk.com/support/inventor-products/learn-explore/caas/sfdcarticles/sfdcarticle...

Navigating it is a whole other ball game.

It uses VBA as its basis for sample codes. But if you are able to define the keywords you need you will be able to connect the snippets. I would generally just search for words that appear in the user interface as you are most likely looking to automate a manual process. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan