实时错误 '-2145320943 (80210011)': Too few elements in SafeArray or total number of elements is not a multiple of three ------------------------------------------------------------------- 以下代码开始运行的好好的,不知何时突然不行了! Dim PL(10) As Double PL(0) = 0 PL(1) = 0 PL(2) = 0 PL(3) = 300 PL(4) = 300 PL(5) = 300 PL(6) = 300 PL(7) = 0 PL(8) = 0 PL(9) = 0 Set P = acaddoc.ModelSpace.AddLightWeightPolyline(PL) |