UserInputControls用戶輸入控制

enum UserInputControls {
  kGovernedByOrthoMode = 0x0001,//正交模式管理
  kNullResponseAccepted = 0x0002,//容許輸入空
  kDontEchoCancelForCtrlC = 0x0004,//ctrl C 模式不能重複取消
  kDontUpdateLastPoint = 0x0008,//不更新最後一點
  kNoDwgLimitsChecking = 0x0010,//不檢查點限制
  kNoZeroResponseAccepted = 0x0020,//不容許輸入0
  kNoNegativeResponseAccepted = 0x0040,//不容許輸入負數
  kAccept3dCoordinates = 0x0080,//容許輸入3維座標(默認2維)
  kAcceptMouseUpAsPoint = 0x0100,//容許鼠標選點
  kAnyBlankTerminatesInput = 0x0200,//輸入空白終止輸入
  kInitialBlankTerminatesInput = 0x0400,//初始空白終止輸入
  kAcceptOtherInputString = 0x0800,//接受非關鍵字字符串輸入
  kGovernedByUCSDetect = 0x1000,//ucs管理
  kNoZDirectionOrtho = 0x2000,//不容許Z軸正交
  kImpliedFaceForUCSChange = 0x4000,//暗示ucs變化
  kUseBasePointElevation = 0x8000//將基準點的高程用於淘汰選中得到的點
};

 AcEdJig::setUserInputControls 函數的定義形式爲:函數

void setUserInputControls(AcEdJig::UserInputControls);

具體用法:3d

setUserInputControls((UserInputControls)(CMdEdJig::kNullResponseAccepted | CMdEdJig::kAcceptOtherInputString));
相關文章
相關標籤/搜索