AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
String | GetName () |
void | SetName (String val) |
Document | GetOwner () |
void | SetOwner (Document val) |
Element | FindElement (ObjectId id) |
ObjectIdSet | GetIds () |
long | GetSize () |
Element | FindByName (String name) |
String | MakeUniqueName (String name) |
long | CountName (String name) |
Component | FindComponent (ObjectId entityId) |
Component | FindComponent (ObjectId entityId, String name) |
ObjectIdSet | FindComponents (ObjectId entityId) |
<>
ElementTable
根据EntityID查找Component
entityId | EntityID |
根据名字查找Component
entityId | |
name | Component的SchemaName |
ObjectIdSet ElementTable.FindComponents | ( | ObjectId | entityId | ) |
查找Components的ID
entityId |
String ElementTable.MakeUniqueName | ( | String | name | ) |
根据name生成唯一的名字,以后缀1,2,3区分
name | 基本名字 |