This group of API functions are used to manipulate Modes – a combination of Sets and Variable Presets Click here to return to the main page. More...
Functions | |
| std::string | vsp::CreateAndAddMode (const std::string &name, int normal_set, int degen_set) |
| int | vsp::GetNumModes () |
| std::vector< std::string > | vsp::GetAllModes () |
| void | vsp::DelMode (const std::string &mid) |
| void | vsp::DelAllModes () |
| std::string | vsp::GetModeName (const std::string &mid) |
| void | vsp::SetModeName (const std::string &mid, const std::string &name) |
| void | vsp::ShowOnlyMode (const std::string &mid) |
| void | vsp::ModeAddGroupSetting (const std::string &mid, const std::string &gid, const std::string &sid) |
| std::string | vsp::ModeGetGroup (const std::string &mid, int indx) |
| std::string | vsp::ModeGetSetting (const std::string &mid, int indx) |
| std::vector< std::string > | vsp::ModeGetAllGroups (const std::string &mid) |
| std::vector< std::string > | vsp::ModeGetAllSettings (const std::string &mid) |
| void | vsp::RemoveGroupSetting (const std::string &mid, int indx) |
| void | vsp::RemoveAllGroupSettings (const std::string &mid) |
|
extern |
Create a Mode – a combination of Sets and Variable Presets
| [in] | name | string Name for new Mode |
| [in] | normal_set | int Normal set for Mode |
| [in] | degen_set | int Degen set for Mode |
|
extern |
Delete all modes from the model.
|
extern |
Delete a mode from the model.
| [in] | mid | string Mode ID of mode to delete |
|
extern |
Get all ModeID's in model.
|
extern |
Apply Parm settings corresponding to a Mode.
| [in] | mid | string Mode ID of mode to apply |
Get the name of a Mode.
| [in] | mid | string Mode ID |
|
extern |
Get number of Modes in model.
|
extern |
Add a variable preset group and setting to a mode.
| [in] | mid | string Mode ID to add variable preset to |
| [in] | gid | string Variable preset group ID to add to mode |
| [in] | sid | string Variable preset setting ID to add to mode |
|
extern |
Get all var preset group IDs in model.
| [in] | mid | string Mode ID to return all group IDs |
|
extern |
Get all var preset setting IDs in model.
| [in] | mid | string Mode ID to return all group IDs |
|
extern |
Get the group ID of var preset indx from a mode.
| [in] | mid | string Mode ID to return GroupID |
| [in] | indx | int Index of Variable preset to return GroupID |
|
extern |
Get the setting ID of var preset indx from a mode.
| [in] | mid | string Mode ID to return settingID |
| [in] | indx | int Index of Variable preset to return SettingID |
|
extern |
Remove all variable preset groups and settings from mode.
| [in] | mid | string Mode ID to remove all variable presets from |
|
extern |
Remove the indx'th variable preset group and setting from the specified mode.
| [in] | mid | string Mode ID to remove varible preset group and setting from |
| [in] | indx | int Index of Variable preset to remove |
|
extern |
Set the name of a Mode.
| [in] | mid | string Mode ID |
| [in] | name | string Mode name |
|
extern |
Show-only a mode in a model.
| [in] | mid | string Mode ID of mode to show-only |