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

Hi Adam,

 

I found one reason for setting Embed Interop Types to true. The GetType() method on a SelectSet item returns a "__ComObject", so it it useless for determining the type of the Inventor object.

 

drawingDocument.SelectSet[1].GetType()

 

 

Setting Embed Interop Types to true, makes the Type property available on the SelectSet, which returns an ObjectTypeEnum.

 

drawingDocument.SelectSet[1].Type

 

 

But choosing between this and the reported issues with events, let's me think twice about actually enabling it.

Luckily I have found a workaround to get the ComObject type.

 

Regards,

Alain