Updating VBA code from AutoCAD 2011 to 2015. In one particular macro it should prompt for the user to pikc a Polyline. It never propmpts and finishes with the error trap. I get the error "method 'getentity' of object 'iacadutility' failed " when commenting out the "On Error Resume Next". What has changed since 2011 that would cause this?
AreaBlockchk = False
On Error Resume Next
oDocB.Utility.GetEntity returnObj, basePnt, "Please select a desired Area POLYLINE to process:"
ZoomExtents
If Err <> 0 Then
MsgBox "Either no POLYLINE was selected, or the routine has been canceled.", vbCritical + vbExclamation, "CT-Error"
oDocA.Close False
oDocC.Close False
Exit Sub
End If