AnalysisTemplateParameter class is used to specify parameters required for applying analysis templates.
The class can be called from Application class.
.
More...
Public Member Functions | |
| bool | IsValid () |
| Returns True if an object is valid. More... | |
| void | SetEquationNames (int modelIndex, StringList &equationnames) |
| Specifies the equation to be linked. More... | |
| void | SetFilepath (String &filepath) |
| Specifies the path of the analysis template file. More... | |
| void | SetModelNames (StringList &modelnames) |
| Specifies the model name to be applied. More... | |
| void | SetPartNames (int modelIndex, StringList &partnames, bool renameParts=false) |
| Specifies the part to be linked. More... | |
| void | SetReferenceNames (int modelIndex, StringList &refnames, bool renameReferences=false, bool onlyAddExistedReferences=false) |
| Specifies the set to be linked. More... | |
| void | SetSetNames (int modelIndex, StringList &setnames, bool renameSets=false, bool onlyAddExistedSets=false) |
| Specifies the set to be linked. More... | |
| void | SetTemplatePath (String &path) |
| Specifies the path of the analysis template of the toolbox. More... | |
AnalysisTemplateParameter class is used to specify parameters required for applying analysis templates.
The class can be called from Application class.
.
Example of creating the class object:
| bool AnalysisTemplateParameter::IsValid | ( | ) |
Returns True if an object is valid.
| void AnalysisTemplateParameter::SetEquationNames | ( | int | modelIndex, |
| StringList & | equationfnames | ||
| ) |
Specifies the equation to be linked.
| modelIndex | Model index of template to set |
| equationnames | Name or index of a table defined with a link between equation in a template and CAD model |
| void AnalysisTemplateParameter::SetFilepath | ( | String & | filepath | ) |
Specifies the path of the analysis template file.
| filepath | Analysis template file path |
| void AnalysisTemplateParameter::SetModelNames | ( | StringList & | modelnames | ) |
Specifies the model name to be applied.
| modelnames | List of model names to associate with the model of analysis template |
| void AnalysisTemplateParameter::SetPartNames | ( | int | modelIndex, |
| StringList & | partnames, | ||
| bool | renameParts = false |
||
| ) |
Specifies the part to be linked.
| modelIndex | Model index of template to set |
| partnames | Name or index of a table defined with a link between parts in a template and CAD model |
| renameParts | True=1 : Renames part name to match part name of template
False=0 : Does not rename part name to match template
|
| void AnalysisTemplateParameter::SetReferenceNames | ( | int | modelIndex, |
| StringList & | refnames, | ||
| bool | renameReferences = false, |
||
| bool | onlyAddExistedReferences = false |
||
| ) |
Specifies the set to be linked.
| modelIndex | Model index of template to set |
| refnames | Name or index of a table defined with a link between reference targets in a template and CAD model |
| renameReferences | True=1 : Renames reference target name to match template
False=0 : Does not rename reference target name to match template
|
| onlyAddExistedReferences | True=1 : Only add reference targets existed in model
False=0 : Adds empty reference targets if they are not existed in model
|
| void AnalysisTemplateParameter::SetSetNames | ( | int | modelIndex, |
| StringList & | setnames, | ||
| bool | renameSets = false, |
||
| bool | onlyAddExistedSets = false |
||
| ) |
Specifies the set to be linked.
| modelIndex | Model index of template to set |
| partnames | Name or index of a table defined with a link between sets in a template and CAD model |
| renameSets | True=1 : Renames set name to match template
False=0 : Does not rename set name to match template
|
| onlyAddExistedSets | True=1 : Only add sets existed in model
False=0 : Adds empty sets if they are not existed in model
|
| void AnalysisTemplateParameter::SetTemplatePath | ( | String & | path | ) |
Specifies the path of the analysis template of the toolbox.
| path | Path of analysis template in Toolbox |