AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
PickedItemIterator | CreateIterator () |
boolean | Set (PickedItem item) |
boolean | Add (PickedItem item, boolean removeExisting) |
boolean | IsEmpty () |
long | GetCount () |
PickedItem | GetItem (long idx) |
PickedIdList | GetObjectIdList () |
long | Clear () |
boolean | IsExsiting (PickedItem item) |
void | Remove (PickedItem id) |
void | RemoveById (long nodeId) |
void | RemoveByNodeId (long nodeId) |
void | RemoveById (ObjectId id) |
void | RemoveByObjectId (ObjectId id) |
void | RemoveById (PickedId id, EnumShapeFilter type, long topoIdx) |
void | RemoveByPickedId (PickedId id, EnumShapeFilter type, long topoIdx) |
<> 选择集
boolean PickedItemSet.Add | ( | PickedItem | item, |
boolean | removeExisting ) |
添加选择对象
item | 选择对象 |
removeExisting | 如果存在,则移除已有的对象 |
long PickedItemSet.Clear | ( | ) |
清空选择集
long PickedItemSet.GetCount | ( | ) |
获取数量
PickedItem PickedItemSet.GetItem | ( | long | idx | ) |
获取指定索引的item
idx | 索引 |
PickedIdList PickedItemSet.GetObjectIdList | ( | ) |
获取对象id列表
boolean PickedItemSet.IsEmpty | ( | ) |
是否为空
boolean PickedItemSet.IsExsiting | ( | PickedItem | item | ) |
是否存在
item | 对象 |
void PickedItemSet.Remove | ( | PickedItem | id | ) |
移除对象
void PickedItemSet.RemoveById | ( | long | nodeId | ) |
移除对象
void PickedItemSet.RemoveById | ( | ObjectId | id | ) |
移除对象
id | 对象id |
void PickedItemSet.RemoveById | ( | PickedId | id, |
EnumShapeFilter | type, | ||
long | topoIdx ) |
移除子对象
id | 对象id |
type | 类型 |
topoIdx | 拓扑索引 |
boolean PickedItemSet.Set | ( | PickedItem | item | ) |
设置选择item
item | 选择对象 |