01-09-2024
08:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-09-2024
08:43 AM
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.