A group of parameter UIs. 更多...
#include <APIParameterPackage.h>
Public 成员函数 | |
ParameterValueSet | GetValueSet () const |
void | SetValueSet (const ParameterValueSet &pVals) |
ParameterUISet | GetUISet () const |
void | SetUISet (const ParameterUISet &pUIs) |
OptionListSet | GetOptions () const |
void | SetOptions (const OptionListSet &options) |
Public 成员函数 继承自 AnyCAD::API::Object | |
String | GetObjectClassId () const |
StringList | ListParentClassIds () const |
静态 Public 成员函数 | |
static ParameterPackage | Load (const Path &fileName) |
static bool | Save (const ParameterPackage ¶mPackage, const Path &fileName) |
A group of parameter UIs.
TODO:
OptionListSet AnyCAD::API::ParameterPackage::GetOptions | ( | ) | const |
Get the option set.
ParameterUISet AnyCAD::API::ParameterPackage::GetUISet | ( | ) | const |
Get the ui set.
ParameterValueSet AnyCAD::API::ParameterPackage::GetValueSet | ( | ) | const |
Get the value set.
|
static |
|
static |
Save the package to file.
paramPackage | the package to save. |
fileName | the full path. |
void AnyCAD::API::ParameterPackage::SetOptions | ( | const OptionListSet & | options | ) |
Set the options set.
options | the OptionListSet |
void AnyCAD::API::ParameterPackage::SetUISet | ( | const ParameterUISet & | pUIs | ) |
Set the value set.
pUIs | the ParameterUISet |
void AnyCAD::API::ParameterPackage::SetValueSet | ( | const ParameterValueSet & | pVals | ) |
Set the value set.
pVals | the ParameterValueSet |