open_design

Opens an existing design into the Designer software.

 

open_design file_name

 

Note: All previously open designs must be closed before opening a new design.

Arguments

file_name

The complete .adb file path. If the complete path is not provided, then the directory is assumed to be the current working directory.

Supported Families

All

Exceptions

Example

Example 1: Opens an existing design from the file “test.adb” in the current folder.

 

open_design {test.adb}

           

 

Example 2: Design creation and catch failures.

 

set designFile {d:/test/my_design.adb}

if  { [catch { open_design $designFile }] {

              Puts “Failed to open design”

              # Handle Failure

} else {

              puts “Design opened successfully”

              # Proceed to further processing

}

See Also

close_design

new_design

save_design