Visual studio references to inventor

Visual studio references to inventor

Anonymous
Not applicable
1,104 Views
2 Replies
Message 1 of 3

Visual studio references to inventor

Anonymous
Not applicable

I just recently had a course in iLogic and wish to find out its entire potential.

The ilogic snippets do not cover that.

 

I use visual studio and added reference autodesk.ilogic.interfaces.dll

that way i can use the listboxes to see what is possible with each function/sub/object in this dll.

 

I've seen some great work with ilogic that i cant find it in visual studio.

Small part of some code i found on internet:

 

    For Each oDrawingDims In oDoc.ActiveSheet.DrawingDimensions
If oDrawingDims.HideValue = True _
Or oDrawingDims.ModelValueOverridden = True

 

How can I reach objects ActiveSheet or DrawingDimensions in visual studio?

 

- Or -  Which references do I need to add iin visual studio? And how do you know which reference you need? Is there perhaps a guide?

 

Thx in advance,

 

Arnold

 

0 Likes
Accepted solutions (1)
1,105 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Accepted solution

You'll probably find this page to be of some help: www.autodesk.com/developinventor

 

Read everything on the page to get started, but about halfway down the page you'll find Developer Tools.  Install that and it should give you Visual Studio templates for creating an addin.  These templates typically already have the references you need to do any development.

 

The next big thing to do is mke sure you get the updated programming help file from that page.  It's very useful.

 

I'm not sure where you'd go for specific iLogic basics, but iLogic and the .NET languages use the same API, so everything in the help file and the addin should still be useful.  

 

I realize it would be a large step up in difficulty, but I find that developing addins(in C# or VB.NET) is easiest.  Creating a full addin allows for more flexibility, along with greater access to help.  I find the forums here to be primarily full of VB.NET code snippets.

Message 3 of 3

Anonymous
Not applicable

The lesson to make your first plug-in helped me.

I have the API Object model chart now and the visual studio project file of lesson one already has all the correct references and such inside for me to explore possibilities with each object in the API objec model chart.

 

Thanks

0 Likes