AnyCAD Rapid API 2023
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 () |
ClassId | GetClassId () |
Public 成员函数 继承自 Element | |
ClassId | GetClassId () |
ObjectId | GetId () |
long | GetUserId () |
boolean | SetUserId (long val) |
String | GetName () |
boolean | SetName (String val) |
String | GetSchemaName () |
boolean | SetSchemaName (String val) |
long | GetUserFlags () |
void | SetUserFlags (long val) |
void | MakeUniqueName (String base) |
void | MakeUniqueName () |
void | RequestUpdate () |
void | ListParameters (ParameterDict parameters) |
boolean | SetParameter (ParameterDict parameters, String key) |
Public 成员函数 继承自 AObject | |
ClassId | GetClassId () |
boolean | IsEqual (AObject other) |
静态 Public 成员函数 | |
static ClassId | GetStaticClassId () |
static ReferenceShape | Cast (AObject obj) |
static ReferenceShape | Create (Document pDoc) |
static ReferenceShape | Create (Document pDoc, ObjectId shapeId, EnumTopoShapeType type, long idx, java.math.BigInteger tag) |
static ReferenceShape | Create (Document pDoc, ObjectId shapeId, EnumTopoShapeType type, long idx) |
static ReferenceShape | Create (Document pDoc, PickedItem item) |
static ClassId | GetStaticClassId () |
static ReferenceElement | Cast (AObject obj) |
static ReferenceElement | Create (Document pDoc) |
static ClassId | GetStaticClassId () |
static Element | Cast (AObject obj) |
static ClassId | GetStaticClassId () |
<>
ReferenceShape
引用拓扑对象的子元素:点、边、面
|
static |
重载 ReferenceElement .
|
static |
重载 ReferenceElement .
|
static |
若已经创建了对应Shape的参考对象,则重用已有的。否则重新创建。
pDoc | 文档 |
shapeId | 被引用的主对象 |
type | 拓扑类型 |
idx | 索引 |
|
static |
若已经创建了对应Shape的参考对象,则重用已有的。否则重新创建。
pDoc | 文档 |
shapeId | 被引用的主对象 |
type | 拓扑类型 |
idx | 索引 |
|
static |
根据选择对象创建
pDoc | 文档 |
item | 选择项 |
ClassId ReferenceShape.GetClassId | ( | ) |
TopoShape ReferenceShape.GetHostShape | ( | ) |
主模型
TopoShape ReferenceShape.GetShape | ( | ) |
引用的子Shape
|
static |