Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Bit of a strange one this. The 'Item' property of the CommandDefinitions object isn't available when I'm in a C# project (see screenshot)
But it is available as usual when in a VB.Net project - see screenshot
I need to use this 'Item' property to access an Inventor command directly by name instead of having to loop through a couple of thousand commands to find the right one.
I'm using Visual Studio 2015 and referencing the 2018 Inventor interop. Can anyone replicate this (just create two new empty projects and paste two lines in) or shed any light on why this property is missing?
Thanks,
Luke
Solved! Go to Solution.