is_design_modified
Returns a Boolean value (0 for false, 1 for true) indicating
if a design has been modified in the Designer software. True is returned
if a design has been modified.
is_design_modified
Arguments
None
Supported Family
All
Description
Some Tcl commands are valid only if a design has been
modified in Designer. Use
the is_design_modified command to prevent runtime errors by checking for
this before invoking the commands.
Exceptions
Example
The following code will determine if a design has been
modified.
set bDesignModified
[ is_design_modified ]
if { $bDesignModified
== 0 } {
puts
“Design has not been modified.”
}
See Also
get_design_filename
get_design_info
is_design_loaded
is_design_state_complete