API web site SearchBox??

API web site SearchBox??

cadman777
Advisor Advisor
726 Views
7 Replies
Message 1 of 8

API web site SearchBox??

cadman777
Advisor
Advisor

Would someone be so kind as to show me how to Search only the API web pages when I land here?

Advanced API Functions Reference (iLogic)

Thanx!

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
727 Views
7 Replies
Replies (7)
Message 2 of 8

WCrihfield
Mentor
Mentor

OK, so I believe there may be a terminology conflict that may be causing some of the confusion.  First of all the API (Application Programming Interface) is a step above iLogic, so the API and iLogic are not the same thing.  The Inventor's API is the main system for all types of programming platforms to be able to access Inventor and all the Inventor specific stuff within Inventor.  Then iLogic is the name of an Inventor Add-in which can access the Inventor API, and gives us a built-in user interface and a bunch of shortcut ways of doing stuff in Inventor.  Those shortcut 'ways' , often referred to as iLogic snippets, are just the tip of the iceberg bit of code that they show us to be able to use, and when we use them, there is usually a bunch of other hidden code that actually gets ran in the background that makes those iLogic snippets work so easily.  Take the iProperties.Value() snippet for example.  There is a Sub or Function code(s) somewhere within the iLogic add-in files, behind the scenes, that will run when you use that snippet, to make it work.  That other code in the background is most likely using the API to accomplish the purpose/functionality of that snippet.  On the flip side, you can access those iProperties without using that iLogic snippet, by using the API route directly, which will bypass iLogic, and access those iProperties through the API Object Model hierarchy:  from Application, to the Document, to the PropertySets, to the Property object, then use the available Properties and Methods that the API has defined under the Property object (to do stuff with it).  When other programming platforms like VBA or Visual Studio work with Inventor's iProperties, they do it using the API route, instead of using iLogic or those iLogic snippets, which only exist within the iLogic add-in.  Basically, Inventor's main API system is better documented, and generally more reliable to use than iLogic is, but using the iLogic add-in is supposed to be much simpler to use for those with no programming experience.  Whew...😅 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 8

WCrihfield
Mentor
Mentor

These are the two main places I always look for stuff specific to Inventor's API system.

https://help.autodesk.com/view/INVNTOR/2022/ENU/ 

(EDIT:  You may need to change the product year in that link to see what is available in your specific versions.)

 

WCrihfield_0-1639159020513.png

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 4 of 8

WCrihfield
Mentor
Mentor

Then other stuff not covered under or specific to Inventor, like VB.NET stuff, because iLogic uses the VB.NET programming language, I look online in general searches that usually start with "vb.net" (then what I'm trying to do).  Especially when you see a Sub or Function (method) or Object being used that you don't recognize, and it doesn't appear to be Inventor specific, and you want to know more about it.

Then, to get better at vb.net, there are several online resources that offer tutorials, like the following links:

Tutorial: Get started with Visual Basic in Visual Studio 

VB.Net Programming Tutorial 

...and others.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 5 of 8

cadman777
Advisor
Advisor

Thanx for clarifying that.

 

Regarding your below comment.:

Thanx for that link!

 

Note: The link you provided doesn't have a Search box for only the API.

It's the same bullox 'oversight' as the iLogic reference web site that I linked you to.

 

Let me ask the question again:
Where is the Search function specific to ONLY the the API web system?

Thanx!

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes
Message 6 of 8

cadman777
Advisor
Advisor

Thanx for that tip.

That's how I search too.

I type, "ilogic:..." or "vba:..." or 'vb.net:..."

That's how I have figured out how to use vb inbetween the Inventor API/iLogic.

It's real easy b/c there is so much info on it.

But there is virtually nothing 'official' on the API.
Like I've said many times in here, the API RABBITHOLES that you must dive down are not documented anywhere.

The ONLY help is on this forum or a handful of web sites like 'Mod the Machine'.

Thanx for the info!

 

 

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes
Message 7 of 8

Curtis_Waguespack
Consultant
Consultant

In your version go to the Help button/pull down and look for "API help' or something similar in the drop down. This will open the API help file locally on your machine and you can search within it, and look at the included examples section. 

 

Please disregard this, I misunderstood your question. wait, maybe not??? I'm not sure, but check out the local API help either way, if you're not aware of it.

 

 

EESignature

0 Likes
Message 8 of 8

cadman777
Advisor
Advisor

Yup, you're right.

I have the 2010 API Help and downloaded the 'local' API Help files of newer years to see if they can help.

But I find that the online version is better b/c I can do online searches in other places to compare answers.

I prefer to look at one screen, due to neck problems, cut-and-paste reasons, etc.
So working back-and-forth between computers is a bad idea for me.

In any case, I DO frequently use the Inventor VBA interface to find answers to things I'm looking for, but it's not enough to bring me 'from point A to point B'.

At this point I'm working with iLogic most of the time until I get more familiar with the way things work.

Then I'll slide on over to VBA/VB.Net, which I occasionally try out to keep familiar with it.

The Intellisense in the VBA and esp. in the VB.Net is invaluable.

But for now, I just use MessageBox.Show() to work my way through the code.

It's easy to narrow down where the problem is.

But still, it doesn't seem right that there isn't a SearchBox specific to the online API Help.

Don't you agree?

And if I had my way, I would create a GUI web page that shows the Object Model with hyperlinks to everything, just like the automotive diagnostics manufacturers have on their portals.

Anyway, I do appreciate your help!

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes