The script element. 更多...
#include <APIScriptElement.h>
Public 成员函数 | |
void | SetLanguage (const String &_Language) |
String | GetLanguage () const |
void | SetContent (const String &_Content) |
String | GetContent () const |
void | SetEngineName (const String &_EngineName) |
String | GetEngineName () const |
bool | IsValidScript () const |
bool | RunScript () |
Public 成员函数 继承自 AnyCAD::API::Element | |
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 script element.
String AnyCAD::API::ScriptElement::GetContent | ( | ) | const |
Get Content.
String AnyCAD::API::ScriptElement::GetEngineName | ( | ) | const |
Get EngineName.
String AnyCAD::API::ScriptElement::GetLanguage | ( | ) | const |
Get Language.
bool AnyCAD::API::ScriptElement::IsValidScript | ( | ) | const |
Test if the content is valid.
bool AnyCAD::API::ScriptElement::RunScript | ( | ) |
Run the script
void AnyCAD::API::ScriptElement::SetContent | ( | const String & | _Content | ) |
Set the Content.
_Content | the Content. |
void AnyCAD::API::ScriptElement::SetEngineName | ( | const String & | _EngineName | ) |
Set the EngineName.
_EngineName | the EngineName. |
void AnyCAD::API::ScriptElement::SetLanguage | ( | const String & | _Language | ) |
Set the Language.
_Language | the Language. |