iLogic documentation

iLogic documentation

Anonymous
Not applicable
1,471 Views
7 Replies
Message 1 of 8

iLogic documentation

Anonymous
Not applicable

Hi,

I am starting to use iLogic and look often over Internet to find some clues.

 

In the code I often see references to objects methods and properties I cannot find any description in help.

 

For example Rep_Manager.

 

Is there a decent iLogic or maybe VB documentation concerning Inventor?

something more user friendly than this, something with decent table of contents, objects, methods, properties lists etc.

 

Cris.

0 Likes
Accepted solutions (1)
1,472 Views
7 Replies
Replies (7)
Message 2 of 8

mdavis22569
Mentor
Mentor

Might have better luck on the Customization forum

 

http://forums.autodesk.com/t5/inventor-customization/bd-p/120

 

 


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------
Mike Davis

EESignature

0 Likes
Message 3 of 8

MechMachineMan
Advisor
Advisor
Accepted solution

"C:\Program Files\Autodesk\Inventor 2016\Local Help\admapi_20_0.chm"

 

"Rep_Manager" as written like that would not be found anywhere. It is a variable that accesses the object, like such:

 

Rep_Manager = ThisApplication.ActiveDocument.ComponentDefinition.RepresentationsManager

 

so that you dont need to re-type ThisApplication.ActiveDocument.ComponentDefinition.RepresentationsManager every time you need to access something that belongs to the RepresentationsManager object.

 

On the customization forums, most of us follow the syntax of starting object variables with an "o"; ie "oRepManger" instead of "Rep_Manager", which is a good idea to adapt, so if you ever need help, we can understand your code quickly instead of having to decipher it.


--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.

Justin K
Inventor 2018.2.3, Build 227 | Excel 2013+ VBA
ERP/CAD Communication | Custom Scripting
Machine Design | Process Optimization


iLogic/Inventor API: Autodesk Online Help | API Shortcut In Google Chrome | iLogic API Documentation
Vb.Net/VBA Programming: MSDN | Stackoverflow | Excel Object Model
Inventor API/VBA/Vb.Net Learning Resources: Forum Thread

Sample Solutions:Debugging in iLogic ( and Batch PDF Export Sample ) | API HasSaveCopyAs Issues |
BOM Export & Column Reorder | Reorient Skewed Part | Add Internal Profile Dogbones |
Run iLogic From VBA | Batch File Renaming| Continuous Pick/Rename Objects

Local Help: %PUBLIC%\Documents\Autodesk\Inventor 2018\Local Help

Ideas: Dockable/Customizable Property Browser | Section Line API/Thread Feature in Assembly/PartsList API Static Cells | Fourth BOM Type
Message 4 of 8

Curtis_W
Consultant
Consultant

HI kmeldfreyssinet,

 

I think what you're looking for is the API help, see this link:

http://inventortrenches.blogspot.com/2013/10/ilogic-how-to-learn-inventors.html

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

EESignature

Message 5 of 8

SharkDesign
Mentor
Mentor

There is plenty of information out there, but you have to cobble it together to do what you want to do.

 

Be aware that iLogic is not nearly as simple as Autodesk wants you to believe and if you have no previous knowledge of coding, particularly VBA, you are going to struggle to do anything other than the basics.

  Inventor Certified Professional
0 Likes
Message 6 of 8

Mark.Lancaster
Consultant
Consultant

In my opinion..  iLogic was designed to do only certail things and if you just use only those iLogic functions you really don't need any programming training..  Yes you can add VB and .net code to it but once you do that I don't believe that's an ilogic code anymore..   Smiley Wink  But that's my opinion...

Mark Lancaster


  &  Autodesk Services MarketPlace Provider


Autodesk Inventor Certified Professional & not an Autodesk Employee


Likes is much appreciated if the information I have shared is helpful to you and/or others


Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

0 Likes
Message 7 of 8

Anonymous
Not applicable

Hi,

 

Thanks for information.

 

That's what I was looking for. (VB in inventor).

 

I am quite familiar with VBA, so that's exactly what I was after. Only had some trouble finding where to start.

 

Cris.

 

 

0 Likes
Message 8 of 8

SharkDesign
Mentor
Mentor

From what I understand though, it's not true VBA and only based on it.

Some commands I've tried in the past from VBA have not worked.

 

I may be wrong though as I'm not in any ways a VBA coder.

  Inventor Certified Professional
0 Likes