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