iLogic tutorial

iLogic tutorial

Anonymous
Not applicable
1,029 Views
9 Replies
Message 1 of 10

iLogic tutorial

Anonymous
Not applicable

Hi!

          Can someone recommend a good iLogic tutorial?

Thanks!

0 Likes
1,030 Views
9 Replies
Replies (9)
Message 2 of 10

johnsonshiue
Community Manager
Community Manager

Hi! You can do a quick search on the forum and Autodesk Knowledge Network. Also, there are some books about Inventor iLogic available for purchase at Amazon.com.

From my limited experience, iLogic is best learned by using it. At the very beginning, it may look a bit overwhelming if you are not a programmer. But, the concept is very straight forward. Once you get past the initial shock, you will find many use cases allowing you to customize your workflows.

Let's start from the basics. On top of your head, can you think of something you would like to customize or automate? There usually should be a solution in iLogic.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 3 of 10

jtylerbc
Mentor
Mentor

I second @johnsonshiue's suggestion.  You may very well be able to find some tutorials that will help you get started, but you'll learn most of it by experience using it.

 

I'm a terrible programmer, but I use iLogic all the time.  The sample snippets in the editor will take you a long way, even without knowing much about programming.  Obviously you can do more in-depth automation with more programming skill and knowledge of Inventor's API, but you can accomplish a lot just by poking around and trying things.

 

I would suggest coming up with some simple scenario and trying to automate it using combinations of the sample snippets.  It doesn't have to be something from your real application, or even anything with practical value.  For example:

  1. Extrude a box.
  2. Name the extrusion distance "Length".
  3. Set the part's appearance to "Dark Green".
  4. Write a simple (maybe a little silly) iLogic rule that changes the appearance to "Red" if the Length parameter is greater than some limit you choose, and otherwise changes it back to "Dark Green".

This should be doable by inserting an "If / Then / Else" structure and looking around through the snippets to figure out how to control the part color.  You'll probably learn a lot about what you can control with iLogic just in the process of looking for the snippets to build a few simple practice rules like this.

Message 4 of 10

Anonymous
Not applicable

@jtylerbc and @johnsonshiue

 

Thanks for your replies!

0 Likes
Message 5 of 10

S_May
Mentor
Mentor
Message 6 of 10

leowarren34
Mentor
Mentor

It's long but I found this helps: https://www.youtube.com/watch?v=xGx8hXKaYu8

Leo Warren
Autodesk Student Ambassador Diamond
Please accept as solution and give likes if applicable.
Message 7 of 10

Anonymous
Not applicable

Thanks for all your replies!

0 Likes
Message 8 of 10

Anonymous
Not applicable

What is the programming language name for scripts in iLogic?

 

Thanks!

0 Likes
Message 9 of 10

Anonymous
Not applicable

Is it Visual Basic (VB.NET) ?
Am I right?

0 Likes
Message 10 of 10

Skadborg.NTI
Advocate
Advocate

Yes, it is VB.NET with some additional stuff on top. You can use the full potential of VB.NET like database access, filehandling, interacting with other programs etc.