Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Intellisense in iLogic not working on New Computer + New Install

DME_Ltd
Participant

Intellisense in iLogic not working on New Computer + New Install

DME_Ltd
Participant
Participant

I've been having some issues with a fresh install on a brand new computer. It seems that a lot of the .NET functions are not showing up in my Intellisense.

Specifically, the .OfType, or .AsQueryable and many others.

I have installed every version of .NET Framework, as well as .NET 8, all their SDKs but can't seem to get it to appear?

 

Running the code:

Dim a As Inventor.AssemblyDocument = ThisDoc.Document
Dim o As IEnumerable(Of Inventor.PlanarSketch) = a.ComponentDefinition.Sketches.OfType(Of Inventor.PlanarSketch)
Logger.Debug(o.Count)

Produces the appropriate "0" in the Log window. But it won't show my the autocomplete.

 

Any ideas?

 

Inventor 2025, Build 162

Windows 11

0 Likes
Reply
Accepted solutions (2)
723 Views
9 Replies
Replies (9)

WCrihfield
Mentor
Mentor

Hi @DME_Ltd.  I have a couple suggestions for you to check out, but not sure if this is the issue or not.

This sounds a little bit like it might be what I suspect, but I am not sure.

Try these things in a new, empty iLogic rule, then tell me if they help any:

  • Type in "System", then the dot after it.
    • At the bottom of that 'suggestions' list, do you see two icons...one for 'Types' and one for 'Namespaces'?
    • If so, those are filters, so make sure both are active.
  • After "System.", choose "Windows", then "Forms", then "AxHost".
    • Type the dot after AxHost, and you should see a different 'filter' icon...one for 'Type Members'.
    • If so, make sure that one is turned on also.

 

WCrihfield_1-1714586637815.png

WCrihfield_2-1714586786169.png

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes

DME_Ltd
Participant
Participant

Alright, that is opening it up a little bit. But those filters are only showin up on the System Classes as with your example. So under any Inventor Object doesn't show those filters. Also, the Filters are not staying selected after I close the iLogic editor and open it again, I have to reselect them.

 

qMpW1XCWTL.png

 

0 Likes

WCrihfield
Mentor
Mentor
Accepted solution

Hmm...

In an empty iLogic rule, try just typing in a single dot, with nothing in front of it.

You should see 3 different filters there.  Make sure they are all on.

(iLogic, Inventor, & vb.net filters)

If those settings do not stay there, then there may be something going on that we 'users' may not be able to help you with, and you may need to contact technical support about it.

WCrihfield_0-1714588749523.png

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes

DME_Ltd
Participant
Participant

Unfortunately it looks like I am having more issues and things are still not appearing correctly. Though tracing these problems is a discussion for a different thread.

 

I have marked your solution as accepted, because I do remember now seeing those Filters before to get access to all of the namespaces. That is what worked before (2022, and 2024), and thanks for the screenshots clearly showing where to find them.

 

But I think I am going to revert some SDKs and remove/reinstall Inventor. Might even downgrade to 2024 because I know it was all working in the previous version.

0 Likes

Frederick_Law
Mentor
Mentor

Intellisense can't see "PlanarSketch":

ILogic-intelli-01.jpg

 

Try to code like this:

Dim a As AssemblyDocument
a = TryCast(ThisDoc.Document, AssemblyDocument)
Dim o As Inventor.PlanarSketches = a.ComponentDefinition.Sketches
Logger.Debug(o.Count.ToString)
0 Likes

DME_Ltd
Participant
Participant

Nah that's not the issue. I was just using any generic collection as an example.

It is the Standard .NET Types, Methods etc. that are not showing up. But I have found even more issues which I am in contact w/ Help Support about and will update when I have more info.

0 Likes

DME_Ltd
Participant
Participant
Accepted solution

As a follow up to my own thread, the problem exists in Inventor 2025. By simply downgrading to 2024 everything works without issue.

As a look-ahead, perhaps we will see new features in 2025; make sure you don't early upgrade because things are non-functional in the iLogic interpreter. It looks like 2025 they are going fully forward to .NET 8, and abandoning "Framework" which is a really positive thing, but currently it's not fully functional.

 

As an aside: Can we stop releasing early versions so far ahead of the actual year? It's still 2024, but somehow a 2025 software broken release exists in a public version....... Please don't do this, release 2025 on Dec 31 or Jan 1, don't try to be fancy. #dearAutodesk

0 Likes

MjDeck
Autodesk
Autodesk

@DME_Ltd , thanks for reporting the problem with OfType(Of ...) missing from the autocompletion list. I'll look into it in more detail.
It is internal issue number INVGEN-77687.


Mike Deck
Software Developer
Autodesk, Inc.

0 Likes

bob_holland
Autodesk Support
Autodesk Support

Hi all,

 

Thank you for your patience.

 

Thank you @MjDeck for adding your expertise to this post.

This issue have been documented in the public tracking article:

In the iLogic rules editor, some .NET system methods are missing from autocomplete for Inventor 2025

 

Thank you all.


Bob Holland
Autodesk Product Support
0 Likes