
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear all,
I have an Assembly file which consists of a part file containing 2 rules. When I try to access a rule from Assembly files using,
iLogicVB.RunRule("PartFile_Name:1","Rule_1")
Suprisingly this error shows up.
Unable to cast COM object of type 'System.__ComObject' to interface type 'Inventor.PartFeatures'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{DA33F1A5-7C3F-11D3-B794-0060B0F159EF}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
The Rule_1 in part file changes the sweep feature. I would like to change the paramteres used in the sweep feature from assembly files iLogic rule.
can any one please help me!
Thanks a lot in advance.
Regards,
Yatish.
Solved! Go to Solution.