|
AnyCAD Rapid API 2026
Help you to create a better world!
|
组件,用于动态给Entity增加特性 更多...
Public 成员函数 | |
| Component (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| override ClassId | GetClassId () |
| 获取对象的类型信息 | |
| Component (ObjectId entityId) | |
| ObjectId | GetEntityId () |
| bool | SetEntityId (ObjectId val) |
| string | GetUIDefKey () |
| bool | SetUIDefKey (string val) |
| Element | GetEntity () |
| 获取实体对象 | |
| virtual Component | CloneComponent (Document pDoc, ObjectId entityId) |
Public 成员函数 继承自 AnyCAD.Foundation.Element | |
| Element (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| override ClassId | GetClassId () |
| 获取对象的类型信息 | |
| uint | GetUserId () |
| bool | SetUserId (uint val) |
| string | GetName () |
| bool | SetName (string val) |
| string | GetSchemaName () |
| bool | SetSchemaName (string val) |
| uint | GetUserFlags () |
| void | SetUserFlags (uint val) |
| ObjectId | GetId () |
| string | GetAliasName () |
| bool | SetAliasName (string val) |
| string | GetCategory () |
| bool | SetCategory (string val) |
| ObjectId | GetPrototypeId () |
| bool | SetPrototypeId (ObjectId val) |
| int | GetOrderNumber () |
| bool | SetOrderNumber (int val) |
| Document | GetDocument () |
| void | SetNameW (string name) |
| 设置名称 | |
| string | GetNameW () |
| virtual string | GetUIName () |
| 组合Name和AliasName用于在UI上显示的名称 | |
| string | GetUINameW () |
| virtual string | GetToolTip (PickedItem item) |
| 根据选择信息显示提示信息 | |
| string | GetToolTipW (PickedItem item) |
| void | MakeUniqueName (string baseName) |
| 设置唯一的名称 | |
| void | MakeUniqueNameW (string baseName) |
| void | MakeUniqueNameByBase (string baseName) |
| void | MakeUniqueAliasName (string baseName, bool continuous) |
| 设置唯一别名 | |
| void | MakeUniqueAliasName (string baseName) |
| 设置唯一别名 | |
| void | MakeUniqueAliasNameW (string baseName, bool continuous) |
| void | MakeUniqueAliasNameW (string baseName) |
| void | MakeUniqueName () |
| 根据ElementNames配置生成唯一名称。 | |
| void | MakeUniqueNameByConfig () |
| void | MakeUniqueAliasNameByConfig (bool continuous) |
| void | MakeUniqueAliasNameByConfig () |
| virtual void | RequestUpdate (uint propId) |
| 在被添加到文档时候调用,或者手动调用以触发更新。 | |
| virtual void | ListParameters (ParameterDict parameters) |
| 列出界面可见的参数 | |
| virtual bool | SetParameter (ParameterDict parameters, string key) |
| 根据参数修改属性 | |
| virtual string | GetModifyCommand () |
| 获取自定义修改命令。 | |
| Element | GetPrototype () |
| 获取原型对象。 | |
Public 成员函数 继承自 AnyCAD.Foundation.AObject | |
| AObject (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| void | Dispose () |
| virtual bool | IsEqual (AObject other) |
| 对象是否相同,或同一个对象 | |
静态 Public 成员函数 | |
| static new ClassId | GetStaticClassId () |
| static new Component | Cast (AObject obj) |
静态 Public 成员函数 继承自 AnyCAD.Foundation.Element | |
| static new ClassId | GetStaticClassId () |
| static Element | Cast (AObject obj) |
静态 Public 成员函数 继承自 AnyCAD.Foundation.AObject | |
| static ClassId | GetStaticClassId () |
| 获取类信息 | |
组件,用于动态给Entity增加特性
Group: DataManage
|
virtual |
| Element AnyCAD.Foundation.Component.GetEntity | ( | ) |
获取实体对象