0 Replies Latest reply on May 18, 2015 12:09 AM by Oleg Bezyaev

    Great Bug in Costing

    Oleg Bezyaev
      CostManager swCosting = (CostManager)swModelDocExt.GetCostingManager(); // error HRESULT: 0x80004002 (E_NOINTERFACE))
      //BUT
      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!!