I have the following code which is a part of code to insert a part reference, balloon and partlust.
Dim oBOMMgr As McadBOMMgr
Set oBOMMgr = oSymBB.BOMMgr
Call oBOMMgr.SetPartData(oPartRef, partData)
It runs perfectly in AutoCAD Mechanical 2011.
But I get an error ('unspecified error') when I run the same code in AutoCAD Mechanical 2010.
Does anybody know how to overcome this error?