create_view_context
create_view_context
-region {f_xlo f_ylo f_xhi f_yhi}
-name s_vcName
-layer_info {{s_lpp s_visBool s_actBool i_opacity} …}
[ -active_layers_only [ true | false ] ]
[ -bindkey s_key ]
[ -comment s_text ]
[ -creation_date s_date ]
[ -end_level i_level ]
[ -entry_layer s_lpp ]
[ -instance_name_display_mode {Instance | Master} ]
[ -opacity i_opacity ]
[ -owner s_name ]
[ -relative_scaling [ true | false ] ]
[ -show_all_layers_in_lods [ true | false ] ]
[ -show_full_instance_path [ true | false ] ]
[ -show_instance_orientation [ true | false ] ]
[ -show_instance_origin [ true | false ] ]
[ -start_level i_level ]
Description
Creates a view context. This Tcl command is the equivalent to creating a view context in the Space-based Router and Chip Optimizer GUI by specifying a view context name in the View Contexts Browser, then clicking Add in the Browser.
Arguments
|
-active_layers_only [ true | false ]
|
|
|
Chooses whether the Global Control for setting opacity applies to active layers only.
|
|
-bindkey s_key
|
Specifies a bindkey for the view. When the bindkey is pressed, the coordinates and display options saved in the view context are restored. This allows you to quickly zoom to a view with all the original display options, except color, restored.
|
|
-comment s_text
|
Specifies comments for the view context.
|
|
-creation_date s_date
|
Specifies the creation date.
|
|
-end_level i_level
|
Specifies the last hierarchy level to display.
|
|
-entry_layer s_lpp
|
Specifies the entry layer purpose name.
|
|
-instance_name_display_mode
|
|
|
Chooses whether to display the name of the instance or the master cell. Valid values are Instance and Master.
|
|
-layer_info {{s_lpp s_visBool s_actBool i_opacity}…}
|
|
|
Specifies the list of layer purposes and objects, with their visibility setting (true|false), active state (true|false) and opacity (integer from 0 through 255).
|
|
-name s_vcName
|
Specifies the name for the view context.
|
|
-opacity i_opacity
|
|
|
Specifies the Global Control opacity setting. Valid values are 0 (transparent) through 255 (most opaque).
|
|
-owner s_name
|
Specifies the name of the person who created the view context.
|
|
-region {f_xlo f_ylo f_xhi f_yhi}
|
|
|
Specifies the rectangular bounding box for the view. The area is specified as a list of numbers: lower left x-coordinate, lower left y-coordinate, upper right x-coordinate, upper right y-coordinate.
|
|
-relative_scaling [ true | false ]
|
|
|
Chooses whether to maintain relative scaling when changing the Global Control opacity setting.
|
|
-show_all_layers_in_lods [ true | false ]
|
|
|
Chooses whether to show all layers in the Layer Object Display Panel, including layer purposes without shapes, or show only layer purposes that contain shapes.
|
|
-show_full_instance_path [ true | false ]
|
|
|
Chooses whether to display the full path name for instances.
|
|
-show_instance_orientation [ true | false ]
|
|
|
Chooses whether to designate the orientation when displaying instances. When used, a diagonal is drawn across a corner of the instance boundary.
|
|
-show_instance_origin [ true | false ]
|
|
|
Chooses whether to designate the origin when displaying instances. When used, a plus (+) sign on the instance boundary marks the origin.
|
|
-start_level i_level
|
|
|
Specifies the starting hierarchy level to display.
|
Examples
The following example creates a view context named allvis that displays hierarchy levels 0 through 99. The opacities for layers and objects are given with the names of the visible layers and objects. The creation date and bounding box for the view are included.
create_view_context -active_layers_only false -region { -4870370 30 5007410 137010 } -bindkey -comment -creation_date "Fri Nov 14 17:05:47 2008" -end_level 99 -entry_layer metal3:wire:detail -instance_name_display_mode Instance -layer_info { "instance:boundary true true 90""metal1:blockage true true 100" "metal1:via:pin true true 200" "metal1:via:redundant true true 200" "metal1:via:global true true 200" "metal1:via:detail true true 200" "metal1:wire:pin true true 200" "metal1:wire:redundant true true 200" "metal1:wire:global true true 200" "metal1:wire:detail true true 200" } -name tiny -opacity 90 -relative_scaling true -show_all_layers_in_lods false -show_full_instance_path false -show_instance_orientation false -show_instance_origin false -start_level 0
Related Topics
View Commands
delete_view_context
show_view_context
Return to top