The following functions are available for the Advanced Link tool. Click here to return to the main page. More...
Functions | |
| std::vector< std::string > | vsp::GetAdvLinkNames () |
| int | vsp::GetLinkIndex (const std::string &name) |
| std::string | vsp::GetAdvLinkName (int index) |
| void | vsp::SetAdvLinkName (int index, const std::string &name) |
| void | vsp::DelAllAdvLinks () |
| void | vsp::AddAdvLink (const std::string &name) |
| void | vsp::AddAdvLinkInput (int index, const std::string &parm_id, const std::string &var_name) |
| void | vsp::AddAdvLinkOutput (int index, const std::string &parm_id, const std::string &var_name) |
| void | vsp::DelAllAdvLinkInputs (int index) |
| void | vsp::DelAllAdvLinkOutputs (int index) |
| void | vsp::DelAdvLinkOutput (int index, const std::string &var_name) |
| std::vector< std::string > | vsp::GetAdvLinkInputNames (int index) |
| std::vector< std::string > | vsp::GetAdvLinkInputParms (int index) |
| std::vector< std::string > | vsp::GetAdvLinkOutputNames (int index) |
| std::vector< std::string > | vsp::GetAdvLinkOutputParms (int index) |
| bool | vsp::ValidateAdvLinkParms (int index) |
| void | vsp::SetAdvLinkCode (int index, const std::string &code) |
| std::string | vsp::GetAdvLinkCode (int index) |
| void | vsp::SearchReplaceAdvLinkCode (int index, const std::string &from, const std::string &to) |
| bool | vsp::BuildAdvLinkScript (int index) |
| void | vsp::WriteAdvLinkCodeFile (int index, const std::string &file_name) |
| void | vsp::ReorderAdvLinkInput (int index, const std::string &var_name, int reorder_type) |
| void | vsp::ReorderAdvLinkOutput (int index, const std::string &var_name, int reorder_type) |
| void | vsp::ReadAdvLinkCodeFile (int index, const std::string &file_name) |
| void | vsp::SortAdvLinkInputsVar (int index) |
| void | vsp::SortAdvLinkInputsCGP (int index) |
| void | vsp::SortAdvLinkOutputsVar (int index) |
| void | vsp::SortAdvLinkOutputsCGP (int index) |
|
extern |
Add an advanced link
| [in] | name | string Name for advanced link |
|
extern |
Add an input variable to an advanced link
| [in] | index | int Advanced link index |
| [in] | parm_id | string Parameter ID for advanced link input variable |
| [in] | var_name | string Name for advanced link input variable |
|
extern |
Add an output variable to an advanced link
| [in] | index | int Advanced link index |
| [in] | parm_id | string Parameter ID for advanced link output variable |
| [in] | var_name | string Name for advanced link output variable |
|
extern |
Build (ready for execution and perform syntax check) an advanced link.
| [in] | index | int Index for advanced link |
|
extern |
Delete an output variable from an advanced link
| [in] | index | int Advanced link index |
| [in] | var_name | string Name for advanced link output variable to delete |
|
extern |
Delete an input variable from an advanced link
| [in] | index | int Advanced link index |
| [in] | var_name | string Name for advanced link input variable to delete |
Delete all input variables from an advanced link
| [in] | index | int Advanced link index |
|
extern |
Delete all output variables from an advanced link
| [in] | index | int Advanced link index |
|
extern |
Delete all advanced links
|
extern |
Get the code from an advanced link
| [in] | index | int Index for advanced link |
|
extern |
Get the name of all the inputs to a specified advanced link index
| [in] | index | int Advanced link index |
|
extern |
Get the Parm IDs of all the inputs to a specified advanced link index
| [in] | index | int Advanced link index |
|
extern |
Delete an advanced link specified by index
| [in] | index | int Index for advanced link |
Get the name of an advanced link.
| [in] | index | int Advanced link index |
|
extern |
Get an array of all advanced link names
|
extern |
Get the Parm IDs of all the outputs to a specified advanced link index
| [in] | index | int Advanced link index |
|
extern |
Get the Parm IDs of all the outputs to a specified advanced link index
| [in] | index | int Advanced link index |
|
extern |
Find the index of a specific advanced link.
| [in] | name | string Name for advanced link |
|
extern |
Read the code of an advanced link in from a text file, the way the File Read button on the Advanced Link screen does. The link is rebuilt from the new code, so any variable the file refers to must already have been declared as an input or an output.
| [in] | index | int Index for advanced link |
| [in] | file_name | string Name of the file to read |
|
extern |
Move an input variable within an advanced link's input list, the way the move buttons beside the input browser do. The order is presentation only; it does not affect what the link computes.
| [in] | index | int Index for advanced link |
| [in] | var_name | string Input variable name |
| [in] | reorder_type | int Reorder type enum (see REORDER_TYPE) |
|
extern |
Move an output variable within an advanced link's output list, the way the move buttons beside the output browser do. The order is presentation only; it does not affect what the link computes.
| [in] | index | int Index for advanced link |
| [in] | var_name | string Output variable name |
| [in] | reorder_type | int Reorder type enum (see REORDER_TYPE) |
|
extern |
Search and replace strings in the advanced link code
| [in] | index | int Index for advanced link |
| [in] | from | string Search token |
| [in] | to | string Replace token |
|
extern |
Get the code from an advanced link
| [in] | index | int Index for advanced link |
| [in] | code | string Code for advanced link |
|
extern |
Set the name of an advanced link.
| [in] | index | int Advanced link index |
| [in] | name | string Advanced link name |
|
extern |
Sort the input variables of an advanced link by the Parm they are attached to, ordering on container name, then group name, then Parm name. This gathers the inputs that come from the same Geom together, which is usually how a link is read.
| [in] | index | int Index for advanced link |
|
extern |
Sort the input variables of an advanced link into alphabetical order by variable name. Inputs are otherwise kept in the order they were added, which is rarely the order that reads well once a link has grown.
| [in] | index | int Index for advanced link |
|
extern |
Sort the output variables of an advanced link by the Parm they drive, ordering on container name, then group name, then Parm name.
| [in] | index | int Index for advanced link |
|
extern |
Sort the output variables of an advanced link into alphabetical order by variable name.
| [in] | index | int Index for advanced link |
|
extern |
Validate the input and output parameters for an advanced link
| [in] | index | int Index for advanced link |
|
extern |
Write the code of an advanced link out to a text file, the way the File Write button on the Advanced Link screen does. Only the code is written; the input and output variable lists are not, so a file written here can be read back into any link that declares the same variables.
| [in] | index | int Index for advanced link |
| [in] | file_name | string Name of the file to write |