|
AnyCAD Rapid API 2026
Help you to create a better world!
|
ElementTable 对Element按类型分表管理,提升查询速度。 更多...
Public 成员函数 | |
| ElementTable (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| void | Dispose () |
| string | GetName () |
| void | SetName (string val) |
| Document | GetOwner () |
| void | SetOwner (Document val) |
| byte | GetPriority () |
| virtual ElementIterator | CreateIterator () |
| 创建遍历器,遍历表中的对象 | |
| virtual Element | FindElement (ObjectId id) |
| 根据ID查找对象 | |
| virtual ObjectIdSet | GetIds () |
| 获取所有的对象ID集合 | |
| virtual uint | GetSize () |
| 获取对象个数 | |
| virtual Element | FindByName (string name) |
| 根据名称查找对象。比ID要慢点。 | |
| virtual Element | FindByAliasName (string name, string alias) |
| 根据别名查找对象。比ID要慢点。 | |
| ObjectId | FindIdByName (string name) |
| 根据名称查找对象。 | |
| string | MakeUniqueName (string name) |
| 根据name生成唯一的名字,以后缀1,2,3区分 | |
| string | MakeUniqueAliasName (string name) |
| 根据name生成唯一的Alias名字,以后缀1,2,3区分 | |
| string | MakeUniqueAliasName (string name, string className) |
| virtual uint | CountName (string name) |
| 获取同名对象的个数 | |
| virtual uint | CountAliasName (string name, string alias) |
| 获取同名别名对象的个数 | |
| virtual Component | FindComponent (ObjectId entityId) |
| 根据EntityID查找Component | |
| virtual Component | FindComponentByName (ObjectId entityId, string name) |
| 根据名字查找Component | |
| virtual ObjectIdSet | FindComponents (ObjectId entityId) |
| 查找Components的ID | |
ElementTable 对Element按类型分表管理,提升查询速度。
Group: DataManage
|
virtual |
获取同名别名对象的个数
| name | 名称 |
| alias | 别名 |
|
virtual |
获取同名对象的个数
| name | 名称 |
|
virtual |
创建遍历器,遍历表中的对象
|
virtual |
根据别名查找对象。比ID要慢点。
| name | 名字 |
| alias | 别名 |
|
virtual |
根据名称查找对象。比ID要慢点。
| name | 名字 |
根据EntityID查找Component
| entityId | EntityID |
|
virtual |
根据名字查找Component
| entityId | |
| name | Component的SchemaName |
|
virtual |
查找Components的ID
| entityId |
根据ID查找对象
| id | ID |
| ObjectId AnyCAD.Foundation.ElementTable.FindIdByName | ( | string | name | ) |
根据名称查找对象。
| name | 名字 |
|
virtual |
获取所有的对象ID集合
|
virtual |
获取对象个数
| string AnyCAD.Foundation.ElementTable.MakeUniqueAliasName | ( | string | name | ) |
根据name生成唯一的Alias名字,以后缀1,2,3区分
| name | 基本名字 |
| string AnyCAD.Foundation.ElementTable.MakeUniqueName | ( | string | name | ) |
根据name生成唯一的名字,以后缀1,2,3区分
| name | 基本名字 |