AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
boolean | Open (String fileName) |
int | GetShapeCount () |
XdeNode | GetShapeNode (int idx) |
XdeNode | GetRootNode () |
boolean | IsSimpleShape (XdeNode label) |
boolean | IsAssembly (XdeNode label) |
boolean | IsReference (XdeNode label) |
EnumXdeShapeType | GetShapeType (XdeNode label) |
TopoShape | GetShape (XdeNode label) |
XdeNode | GetReferencedShape (XdeNode label) |
Vector3 | GetColor (XdeNode label, Vector3 defaultClr) |
Vector3 | GetFaceColor (TopoShape shape, Vector3 defaultClr) |
Vector3 | GetEdgeColor (TopoShape shape, Vector3 defaultClr) |
![]() | |
ParameterDict | GetSettings () |
void | New () |
获取关联的颜色
label | 节点 |
defaultClr | 默认色 |
获取结合对象的边的颜色
shape | 几何 |
defaultClr | 默认色 |
获取几何对象的面颜色
shape | 几何 |
defaultClr | 默认色 |
XdeNode XdeDocumentI.GetRootNode | ( | ) |
获取根节点
int XdeDocumentI.GetShapeCount | ( | ) |
获取几何对象个数
XdeNode XdeDocumentI.GetShapeNode | ( | int | idx | ) |
获取第idx个Shape对象的节点
idx | 索引。 |
EnumXdeShapeType XdeDocumentI.GetShapeType | ( | XdeNode | label | ) |
boolean XdeDocumentI.IsAssembly | ( | XdeNode | label | ) |
是否为装配体
label | 节点 |
boolean XdeDocumentI.IsReference | ( | XdeNode | label | ) |
是否为引用对象/实例
label | 节点 |
boolean XdeDocumentI.IsSimpleShape | ( | XdeNode | label | ) |
判断是否为简单的几何对象
label | 节点 |
boolean XdeDocumentI.Open | ( | String | fileName | ) |
打开文档
fileName | 文件名 |