Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Michael.Navara
in reply to: J-Camper

Ad 1) Yes, you can declare only methods this way (not events). But you can implement something like property with two methods

Function GetSomething() as Object

Sub SetSomething(value as Object)

 

Ad 2) You need to update the implementation every time when interface is changed.

 

Another posibility

If it is useful, you can implement your own wrapper for Inventor object. One of the examples is ThisDoc object in iLogic. Wrapper provides directly your own methods, properties and events. You can also access the underlying object using ThisDoc.Document property and call the native functions and properties on them.