AnyCAD Rapid API 2026
Help you to create a better world!
载入中...
搜索中...
未找到
AnyCAD.Foundation.GeoApplication类 参考

GeoApplication 更多...

类 AnyCAD.Foundation.GeoApplication 继承关系图:
AnyCAD.Foundation.BaseApplication

Public 成员函数

 GeoApplication (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
override bool Initialize (Path baseExe)
 初始化。内部调用
 
- Public 成员函数 继承自 AnyCAD.Foundation.BaseApplication
 BaseApplication (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
void Dispose ()
 
Viewer GetActiveViewer ()
 
bool GetStandalone ()
 
void SetStandalone (bool val)
 
string GetAccessToken ()
 
void SetAccessToken (string val)
 
virtual void Destroy ()
 释放资源
 
Viewer CreateView (int hwndHost, uint width, uint height)
 基于已有的窗口控件上创建三维显示视图
 
Viewer CreateWindow3D (string title, uint width, uint height, bool visible)
 创建一个独立的三维窗口.
 
void SetActiveViewer (Viewer viewer)
 设置当前活动的视图
 
virtual void InstallListener (Viewer viewer)
 给Viewer安装默认的消息监听器
 
bool ExecuteCommand (string name, string parameters, bool clearEditor)
 执行命令
 
bool ExecuteCommand (string name, string parameters)
 执行命令
 
bool ExecuteCommand (string name)
 执行命令
 
bool ExecuteCommand (string name, ParameterDict parameters, bool clearEditor)
 
bool ExecuteCommand (string name, ParameterDict parameters)
 
string QueryCommand (string name, ParameterDict parameters)
 查询
 
string QueryCommand (string name, string parameters)
 
string QueryCommand (string name)
 
bool Input (string parameters)
 给当前的Editor输入参数
 
bool Input (ParameterDict parameters)
 
bool ExecuteEditorAction (string name, string params_)
 执行Editor的子命令
 
bool ExecuteEditorAction (string name)
 执行Editor的子命令
 
bool ExecuteEditorAction (string name, ParameterDict parameters)
 
void AddEventListener (AppEventListener pListener)
 增加应用级别的事件监听器
 
void RemoveEventListener (AppEventListener pListener)
 移除监听器
 
Vector2 GetDpiScale ()
 获取显示器DPI缩放系数。
 
void SetActiveViewer (IRenderView viewer)
 设置当前视图
 

静态 Public 成员函数

static GeoApplication Instance ()
 
static GeoApplication GetInstance ()
 
- 静态 Public 成员函数 继承自 AnyCAD.Foundation.BaseApplication
static bool InternalRegisterSdk (string a, string b, string d, string e, string f)
 
static bool InternalLoadResources (Path baseDirectory, string appName)
 

详细描述

GeoApplication

Group: Geometry

成员函数说明

◆ Initialize()

override bool AnyCAD.Foundation.GeoApplication.Initialize ( Path basePath)
virtual

初始化。内部调用

参数
basePath程序EXE全路径
返回
true成功

重载 AnyCAD.Foundation.BaseApplication .