|
AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
| 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 Element | Cast (AObject obj) |
| static ClassId | GetStaticClassId () |
<>
保存在文档的对象的基类。支持事务、关联更新等功能
| ClassId Element.GetClassId | ( | ) |
获取对象的类型信息
重载 AObject .
被 AssemblyElement, BBoxElement, Component, ConstraintElement, CoordinateConstraint, CoordinateSystemElement, CraftPathFeature, CurveElement, DbView, DbViewBase, DrawableElement, EntityElement, FeatureElement, GeneralComponent, GroupElement, InstanceElement, LayerElement, LinkElement, MaterialElement, MirrorConstraint, NodeComponent, NodeConnection, PartElement, PlaneCutFeature, PointCloudElement, PointElement, PointsElement, PolylineElement, PropertiesComponent, ReferenceElement, ReferencePoint, ReferenceShape, SchemaComponent, ShapeElement, SimpleCurveElement, SketchCurve, SketchElement, SketchPlane, StreamComponent, StyleElement, TextElement, TextStyleElement, TextureElement, TransformComponent, UserElement , 以及 VisualElement 重载.
|
static |
获取类信息
重载 AObject .
被 AssemblyElement, BBoxElement, Component, ConstraintElement, CoordinateConstraint, CoordinateSystemElement, CraftPathFeature, CurveElement, DbView, DbViewBase, DrawableElement, EntityElement, FeatureElement, GeneralComponent, GroupElement, InstanceElement, LayerElement, LinkElement, MaterialElement, MirrorConstraint, NodeComponent, NodeConnection, PartElement, PlaneCutFeature, PointCloudElement, PointElement, PointsElement, PolylineElement, PropertiesComponent, ReferenceElement, ReferencePoint, ReferenceShape, SchemaComponent, ShapeElement, SimpleCurveElement, SketchCurve, SketchElement, SketchPlane, StreamComponent, StyleElement, TextElement, TextStyleElement, TextureElement, TransformComponent, UserElement , 以及 VisualElement 重载.
| void Element.ListParameters | ( | ParameterDict | parameters | ) |
| void Element.MakeUniqueName | ( | ) |
根据ElementNames配置生成唯一名称。
| void Element.MakeUniqueName | ( | String | base | ) |
设置唯一的名称
| base | 基础,如根据"构件",生成"构件1" |
| void Element.RequestUpdate | ( | ) |
在被添加到文档时候调用,或者后动调用以触发更新。
被 DrawableElement, MaterialElement, PointElement, TextElement, TextureElement , 以及 VisualElement 重载.
| boolean Element.SetParameter | ( | ParameterDict | parameters, |
| String | key | ||
| ) |