Error in SetPartData - AutoCAD Mechanical VBA

Error in SetPartData - AutoCAD Mechanical VBA

NirantarVidyarthee
Advocate Advocate
504 Views
1 Reply
Message 1 of 2

Error in SetPartData - AutoCAD Mechanical VBA

NirantarVidyarthee
Advocate
Advocate

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 2011.

Does anybody know how to overcome this error?

0 Likes
505 Views
1 Reply
Reply (1)
Message 2 of 2

sanganaksakha
Advocate
Advocate

It should read:

But I get an error ('unspecified error') when I run the same code in AutoCAD Mechanical 2010.

0 Likes