ConstructVariationString

Lists and orders the variables and values associated with a design variation.

UI Access N/A
Parameters
Name Type Description
<ArrayOfVariableNames> Array of Strings List of variable names.
<ArrayOfVariableValuesIncludingUnits> Array of Strings List of variable values, including units, in the same order as the list of names.
Return Value Returns variation string with the variables ordered to correspond to the order of variables in design variations. The values for the variables are inserted into the variation string. For an example of how ConstructionVariationString can be used, see the Python example.

 

Python Syntax ConstructVariationString(<ArrayOfVariableNames>, <ArrayOfVariableValuesIncludingUnits>)
Python Example

varStr = oDesign.ConstructVariationString(["xx", "yy"], ["2mm", "1mm"])

oDesign.ExportProfile("Setup1", varStr, "C:\profile.prof")