|
||
Screen Refresh
|
|
|||||||||||||||||
Controlling Screen Refresh It is often desirable to perform commands without showing the results of the command on the screen. Several commands are provided for this purpose:
A situation that frequently occurs is the following: one wishes to first zoom the drawing and then to hide it. This is to be done without displaying the zooming operation on the screen. The following example illustrates:
This same result can also be accomplished with the SILENT keyword:
Recording and Resetting Visibility The record_visibility and reset_visibility functions are often used in combination with the REFRESH commands. Consider the following section:
The record_visibility function records the current visibility settings for the specified BOS (possibly root), while reset_visibility returns the BOS to their original settings. Between these two commands, the block \room4 is isolated. Since pick_entity only allows the selection of visible objects, only those objects in the block \room4 will candidates for selection. Other objects, although they can be seen on the screen, are, in fact, invisible. Note that this process takes place without changing the image that is displayed on the screen. |
|