5.34.117.25 Example

Example 1: Prints the design name on the Log window.

get_defvar “DESIGN”

set variableToGet "DESIGN"

set valueOfVariable [get_defvar $variableToGet] puts "The value is $valueOfVariable"