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

Thank you for your answer. You are the only one who answered me. I really appreciate your help.
I tried several times but the code doesn't work.
I get the following error message:

 

 

Error in rule: Rule4, in document: DerivedPart.ipt

Unable to cast COM object of type 'System.__ComObject' to interface type 'Inventor.ObjectCollection'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{6939FFDD-BA10-11D2-B779-0060B0F159EF}' failed due to the following error: Interface not supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

 

 

Working with inventor vba is frustrating.
For me, the documentation is extremely thin. It seems that I can't close the gaps between the sparse comments. Sometimes the forum saves me. Here I sometimes get hints that help me. But all in all, it's not enough. i don't get it baked. Too bad that there is no usable documentation with which one can learn vba well. I spend far too much time looking for useful examples and explanations.

Does anyone have any suggestions or ideas on how to learn vba comfortable?