nami 发表于 2003-6-9 17:49:00

请教,还是选择集的问题

请教,要过滤出名为"PLATE"的块,下面这段程序有什么问题吗?怎么过滤不出来,.COUNT老是0
      Point1 = ThisDrawing.Utility.GetPoint(, "Select the first point")
      point2 = ThisDrawing.Utility.GetCorner(Point1, "Select second point")
      BKCode(0) = 0
      BKDataValue(0) = "BLOCK"
      BKCode(1) = 2
      BKDataValue(1) = "PLATE"
      myss.Select acSelectionSetWindow, Point1, point2, BKCode, BKDataValue
谢先!

mccad 发表于 2003-6-9 20:15:00

注意插入的块应该为“INSERT”,而不是block

nami 发表于 2003-6-10 08:59:00

THANK YOU

THANK YOU VERY MUCH
页: [1]
查看完整版本: 请教,还是选择集的问题