AnyCAD Rapid API 2025
Help you to create a better world!
|
Public 成员函数 | |
TempViewContext (ViewContext context) | |
void | Start () |
void | Close (boolean force) |
void | Close () |
void | DrawRectangle2D (Vector2i start, Vector2i end) |
void | ShowRectangle2D (boolean bShow) |
void | ShowPoint (Vector3 pt) |
void | ShowPoint (GPnt pt) |
void | HidePoint () |
void | ShowLine (Vector3 start, Vector3 end) |
void | ShowLine (GPnt start, GPnt end) |
void | HideLine () |
void | ShowArrow (GPnt position, GDir dir) |
void | ShowArrow (Vector3 position, Vector3 dir) |
void | HideArrow () |
void | AddNode (SceneNode node) |
void | RemoveNode (SceneNode node) |
long | AddPoint (Vector3 pt) |
long | UpdatePoint (long id, Vector3 pt, Vector3 color) |
long | UpdatePoint (long id, Vector3 pt) |
void | Clear () |
void | Remove (java.math.BigInteger userId) |
void | SetPickFilter (EnumShapeFilter filter) |
void | RecoverPickFilter (boolean force) |
void | RecoverPickFilter () |
<>
临时对象管理.
long TempViewContext.AddPoint | ( | Vector3 | pt | ) |
添加临时点
pt | 位置 |
void TempViewContext.Clear | ( | ) |
清空临时内容
void TempViewContext.Close | ( | ) |
关闭临时上下文,将恢复选择过滤器并清空临时内容
void TempViewContext.Close | ( | boolean | force | ) |
关闭临时上下文,将恢复选择过滤器并清空临时内容
force | 是否强制恢复到栈底的选择过滤器,默认为false |
void TempViewContext.RecoverPickFilter | ( | ) |
恢复选择过滤器至开启时的备份
void TempViewContext.RecoverPickFilter | ( | boolean | force | ) |
恢复选择过滤器至开启时的备份
force | 是否强制恢复到栈底的选择过滤器,默认为false |
void TempViewContext.Remove | ( | java.math.BigInteger | userId | ) |
清除指定userId的临时内容
userId |
void TempViewContext.SetPickFilter | ( | EnumShapeFilter | filter | ) |
设置临时的选择过滤器
filter |
void TempViewContext.Start | ( | ) |
开启临时上下文,当前激活的选择过滤器将备份并在关闭时恢复