get_design_filename

Retrieves the full qualified path of the design file. The result will be an empty string if the design has not been saved to disk. This command is equivalent to the command “get_design_info DESIGN_PATH.” This command predates get_design_info and is supported for backward-compatibility.

 

get_design_filename

Arguments

None

Supported Families

All

Exceptions

Example

 

if { [ is_design_loaded ] } {

  set design_location [ get_design_filename ]

  if {$design_location != "" } {

    puts “Design is at $design_location.”

  } else {

    puts “Design has not been saved to a file on disk.”

  }

} else {

  puts "No design is loaded."

}

See Also

get_design_info

is_design_loaded

is_design_modified

is_design_state_complete