AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
ClassId | GetClassId () |
long | GetState () |
boolean | SetState (long val) |
ObjectId | GetParentId () |
boolean | SetParentId (ObjectId val) |
ObjectId | GetDbViewId () |
boolean | SetDbViewId (ObjectId val) |
void | SetVisible (boolean bVisible) |
boolean | GetVisible () |
void | SetProvisional (boolean enabled) |
boolean | GetProvisional () |
void | SetPickable (boolean bPickable) |
boolean | GetPickable () |
void | SetSectionable (boolean bSectionable) |
boolean | GetSectionable () |
void | SetBrowserable (boolean browserable) |
boolean | GetBrowserable () |
void | SetEditable (boolean editable) |
boolean | GetEditable () |
void | SetLODEnabled (boolean enabled) |
boolean | GetLODEnabled () |
Component | GetComponent (String className) |
Component | FindComponent (String className, String name) |
void | CollectChildren (ReferenceCollector collector) |
void | ListParameters (ParameterDict parameters) |
boolean | SetParameter (ParameterDict parameters, String key) |
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 EntityElement | Cast (AObject obj) |
static EntityElement | Create (Document pDoc) |
static ClassId | GetStaticClassId () |
static Element | Cast (AObject obj) |
static ClassId | GetStaticClassId () |
静态 Public 属性 | |
static final long | PID_Visibility = AnyCADJNI.EntityElement_PID_Visibility_get() |
<>
实体类,可以动态添加组件
|
static |
重载 Element .
void EntityElement.CollectChildren | ( | ReferenceCollector | collector | ) |
收集子对象
collector | 收集器 |
Component EntityElement.FindComponent | ( | String | className, |
String | name | ||
) |
根据类名获取组件
className | 组件的类名 |
name | 组件的名称 |
ClassId EntityElement.GetClassId | ( | ) |
获取对象的类型信息
重载 Element .
被 AssemblyElement, BBoxElement, CoordinateSystemElement, CraftPathFeature, CurveElement, DrawableElement, FeatureElement, GroupElement, InstanceElement, LayerElement, LinkElement, PartElement, PlaneCutFeature, PointCloudElement, PointElement, PointsElement, PolylineElement, ShapeElement, SimpleCurveElement, SketchCurve, SketchElement, SketchPlane, TextElement, UserElement , 以及 VisualElement 重载.
Component EntityElement.GetComponent | ( | String | className | ) |
根据类名获取组件
className | 组件的类名 |
|
static |
获取类信息
重载 Element .
被 AssemblyElement, BBoxElement, CoordinateSystemElement, CraftPathFeature, CurveElement, DrawableElement, FeatureElement, GroupElement, InstanceElement, LayerElement, LinkElement, PartElement, PlaneCutFeature, PointCloudElement, PointElement, PointsElement, PolylineElement, ShapeElement, SimpleCurveElement, SketchCurve, SketchElement, SketchPlane, TextElement, UserElement , 以及 VisualElement 重载.
void EntityElement.ListParameters | ( | ParameterDict | parameters | ) |
void EntityElement.SetBrowserable | ( | boolean | browserable | ) |
是否在默认的目录树上可见
browserable | 是否可见 |
void EntityElement.SetEditable | ( | boolean | editable | ) |
是否可被编辑
editable |
void EntityElement.SetLODEnabled | ( | boolean | enabled | ) |
是否支持LoD
enabled | 是否启用 |
boolean EntityElement.SetParameter | ( | ParameterDict | parameters, |
String | key | ||
) |
void EntityElement.SetPickable | ( | boolean | bPickable | ) |
是否可被选择
bPickable |
void EntityElement.SetProvisional | ( | boolean | enabled | ) |
设置临时可见性
enabled | 是否临时可见 |
void EntityElement.SetSectionable | ( | boolean | bSectionable | ) |
是否可用于生成剖切元素
bSectionable |
void EntityElement.SetVisible | ( | boolean | bVisible | ) |
设置可见性
bVisible | 是否可见 |
|
static |
定义可见性的PID