Click or drag to resize

Controller Class

返回用户文档首页
交互控制器基类
Inheritance Hierarchy
SystemObject
  LoongCAD.STCController
    LoongCAD.STCModelController

Namespace: LoongCAD.STC
Assembly: LoongSDKSTC (in LoongSDKSTC.dll) Version: 2024.0.9.3 (2024.0.9.3)
Syntax
C#
public class Controller

The Controller type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberActiveController 
Public propertyControllerLayer 设定交互控制器的运行层,有效值为1或2 控制器切换时,同层控制器会彼此替换,非同层的可以叠加
Top
Methods
 NameDescription
Public methodStatic memberActivateController 
Public methodBeginPick 
Public methodBeginSnapPoint 
Public methodGetPickedObjects 
Public methodIsObjectFocused 
Public methodOnActive 
Public methodOnDeactive 
Public methodOnMouseClick 
Public methodOnMouseDoubleClick 
Public methodOnMouseDown 
Public methodOnMouseMove 
Public methodOnMouseUp 
Public methodOnPoped 
Public methodOnPushed 
Public methodOnSnapComplete 交互控制器在捕捉状态下,按空格键或鼠标中键盘触发
Public methodOnSnapLine 交互控制器在捕捉状态下,捕捉到一根线段的回调
Public methodOnSnapPoint 交互控制器在捕捉状态下,捕捉到一个点的回调
Public methodOnSnapRevert 交互控制器在捕捉状态下,按BACKSPACE键触发
Public methodQuit 退出当前控制器
Public methodSetCursor 设置当前的鼠标指针样式
Public methodSetPickMode 
Public methodSetTip 设置当前步骤的提示,显示在UI底边状态栏左侧
Top
See Also