For Each acObjId As ObjectId In acBlkTblRec acDoc.Editor.WriteMessage(vbLf & "DXF name: " & acObjId.ObjectClass().DxfName) acDoc.Editor.WriteMessage(vbLf & "ObjectID: " & acObjId.ToString()) acDoc.Editor.WriteMessage(vbLf & "Handle: " & acObjId.Handle.ToString()) acDoc.Editor.WriteMessage(vbLf) Next acObjId.ObjectClass().DxfName) 出错了'ObjectClass' is not a member of 'Autodesk.AutoCAD.DatabaseServices.ObjectId'. 请大侠出手相助,呵呵 |