The base class for the data that need to be stored in document. 更多...
#include <APIElement.h>
Public 成员函数 | |
ElementId | GetId () const |
String | GetName () const |
void | SetName (const String &strName) |
String | GetCategory () const |
void | SetCategory (const String &category) |
virtual bool | SetParameterValue (ParameterId paramId, const ParameterValue &pValue) |
virtual ParameterValue | GetParameterValue (ParameterId paramId) const |
ParameterUISet | GetSystemParameterUISet () const |
Document | GetOwnerDocument () const |
Public 成员函数 继承自 AnyCAD::API::Object | |
String | GetObjectClassId () const |
StringList | ListParentClassIds () const |
The base class for the data that need to be stored in document.
TODO:
String AnyCAD::API::Element::GetCategory | ( | ) | const |
Get the element category
ElementId AnyCAD::API::Element::GetId | ( | ) | const |
Get the element id
String AnyCAD::API::Element::GetName | ( | ) | const |
Get the element name
|
virtual |
Get the parameter value
paramId | the parameter id. |
ParameterUISet AnyCAD::API::Element::GetSystemParameterUISet | ( | ) | const |
Get the parameter UI.
void AnyCAD::API::Element::SetCategory | ( | const String & | category | ) |
Set the element category
category | the element category. |
void AnyCAD::API::Element::SetName | ( | const String & | strName | ) |
Set the element name
strName | the element name. |
|
virtual |
Set the parameter value
paramId | the parameter id. |
pValue | the parameter value |