AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
ClassId | GetClassId () |
ObjectId | GetShapeId () |
boolean | SetShapeId (ObjectId val) |
EnumTopoShapeType | GetShapeType () |
boolean | SetShapeType (EnumTopoShapeType val) |
long | GetShapeIndex () |
boolean | SetShapeIndex (long val) |
TopoShape | GetShape () |
TopoShape | GetHostShape () |
Public 成员函数 继承自 Element | |
long | GetUserId () |
boolean | SetUserId (long val) |
String | GetName () |
boolean | SetName (String val) |
String | GetSchemaName () |
boolean | SetSchemaName (String val) |
long | GetUserFlags () |
void | SetUserFlags (long val) |
ObjectId | GetId () |
String | GetAliasName () |
boolean | SetAliasName (String val) |
ObjectId | GetSourceId () |
boolean | SetSourceId (ObjectId val) |
String | GetCategory () |
boolean | SetCategory (String val) |
Document | GetDocument () |
void | MakeUniqueName (String base) |
void | MakeUniqueNameByBase (String base) |
void | MakeUniqueName () |
void | MakeUniqueNameByConfig () |
void | RequestUpdate (EnumUpdateElementFlag mode) |
void | RequestUpdate () |
void | ListParameters (ParameterDict parameters) |
boolean | SetParameter (ParameterDict parameters, String key) |
String | GetModifyCommand () |
Public 成员函数 继承自 AObject | |
boolean | IsEqual (AObject other) |
静态 Public 成员函数 | |
static ClassId | GetStaticClassId () |
static ReferenceShape | Cast (AObject obj) |
static ReferenceShape | Create (Document pDoc) |
static ReferenceShape | Create (Document pDoc, PickedId id, EnumTopoShapeType type, long idx) |
static ReferenceShape | Create (Document pDoc, PickedItem item) |
<>
引用拓扑对象的子元素:点、边、面
|
static |
重载 ReferenceElement .
|
static |
重载 ReferenceElement .
|
static |
若已经创建了对应Shape的参考对象,则重用已有的。否则重新创建。
pDoc | 文档 |
id | 被引用的主对象 |
type | 拓扑类型 |
idx | 索引 |
|
static |
根据选择对象创建
pDoc | 文档 |
item | 选择项 |
ClassId ReferenceShape.GetClassId | ( | ) |
TopoShape ReferenceShape.GetHostShape | ( | ) |
主模型
TopoShape ReferenceShape.GetShape | ( | ) |
引用的子Shape
|
static |