AnsweredAssumed Answered

Great Bug in Costing

Question asked by Oleg Bezyaev on May 17, 2015
CostManager swCosting = (CostManager)swModelDocExt.GetCostingManager(); // error HRESULT: 0x80004002 (E_NOINTERFACE))
dynamic swCosting = swModelDocExt.GetCostingManager(); // works fine

In single applications there is no possibility to cast COM class. If code running In-process (like addon) everything works fine.  VBA I have not checked, I do not like it This is nowhere in Help is not specified.


Thank you, DS Solidworks!!