VB Class Library `Imports Inventor` and `ObjectTypeEnum`

VB Class Library `Imports Inventor` and `ObjectTypeEnum`

Anonymous
Not applicable
596 Views
1 Reply
Message 1 of 2

VB Class Library `Imports Inventor` and `ObjectTypeEnum`

Anonymous
Not applicable

Hi

 

I'm trying to set up a conditional that checks `ThisDoc.Document.DocumentType` by a comparison with, for example, `kDrawingDocumentObject`

 

This works fine within an iLogic rule. But trying this inside my new VB.NET class library, I can't find the type within the `Inventor.ObjectTypeEnum` object.

 

I have an `Imports Inventor` at the top of the file, and a reference added to "Autodesk.Inventor.Interop.dll"

 

Is there a different reference I'm missing, or a different way I should be thinking about this?

 

Thanks

0 Likes
Accepted solutions (1)
597 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

I didn't notice the `DocumentTypeEnum` object, whoops

0 Likes