Click or drag to resize

ModelController Class

返回用户文档首页
交互控制器基类
Inheritance Hierarchy

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

The ModelController type exposes the following members.

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