AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
AnyCAD::API::ParameterPackage类 参考

A group of parameter UIs. 更多...

#include <APIParameterPackage.h>

类 AnyCAD::API::ParameterPackage 继承关系图:
AnyCAD::API::Object

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 &paramPackage, const Path &fileName)
 

详细描述

A group of parameter UIs.

TODO:

成员函数说明

OptionListSet AnyCAD::API::ParameterPackage::GetOptions ( ) const

Get the option set.

返回
the OptionListSet
ParameterUISet AnyCAD::API::ParameterPackage::GetUISet ( ) const

Get the ui set.

返回
the ParameterUISet
ParameterValueSet AnyCAD::API::ParameterPackage::GetValueSet ( ) const

Get the value set.

返回
the ParameterValueSet
static ParameterPackage AnyCAD::API::ParameterPackage::Load ( const Path fileName)
static

Load the package from file.

参数
fileNamethe full path.
返回
the ParameterPackage.
static bool AnyCAD::API::ParameterPackage::Save ( const ParameterPackage paramPackage,
const Path fileName 
)
static

Save the package to file.

参数
paramPackagethe package to save.
fileNamethe full path.
返回
false if failed.
void AnyCAD::API::ParameterPackage::SetOptions ( const OptionListSet options)

Set the options set.

参数
optionsthe OptionListSet
void AnyCAD::API::ParameterPackage::SetUISet ( const ParameterUISet pUIs)

Set the value set.

参数
pUIsthe ParameterUISet
void AnyCAD::API::ParameterPackage::SetValueSet ( const ParameterValueSet pVals)

Set the value set.

参数
pValsthe ParameterValueSet

该类的文档由以下文件生成: