Dim minExt As Variant Dim maxExt As Variant Dim StrPath As String, Insertp(0 To 2) As Double, BL As AcadBlockReference StrPath = Path & "试题库\点,直线,面\简单题\" & NameF(1) If Dir(StrPath) = "" Then StrPath = Path & "试题库\点,直线,面\中等题\" & NameF(1) Set BL = ThisDrawing.ModelSpace.InsertBlock(Insertp, StrPath, 1, 1, 1, 0) BL.GetBoundingBox minExt, maxExt 想提取块边界,以上提示说 范围无效 ? 求大家帮忙 |