public static void Temp1() { ObjectId[] ids = QuickSelection.GetSelection("\n Select entity"); Extents3d extents = ids.GetExtents(); // 画出矩形后 返回矩形id ObjectId rectId = GoatPolylineUtil.RectangAdd(extents.MinPoint, extents.MaxPoint); InteractionUtil.getString("\nPress ENTER to reset..."); // 删除矩形 rectId.QOpenForWrite(Constant.actionErase); }
public void getString3() { string stringResult = InteractionUtil.getString("\n hello getString2 :", "heihei"); GoatMessageUtil.msg("\n 输入的字符串:({0})", stringResult); }