Please enable JavaScript to view this site.

Knowledge Base

Enables automatic updating of the graphical viewports in the CAD or the schematic layout drawing. Automatic updating is the default behavior, so this command is only required after using the redrawoff command.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

redrawon;

Turns redrawing back on.

This function does not return any data.

 

Example

This example shows how to add objects more quickly by disabling the automatic redrawing. The following FOR loop will run much faster when the automatic redrawing is disabled.

redrawoff;    # disable automatic redrawing

for (i=1:1000) { # add 1000 objects

 addcircle;

 set("radius",100e-9); 

 set("x",i*1e-8);

 if (i==500) {

  redraw;   # force one redraw half way through loop

 }

}

redrawon;     # enable automatic redrawing

 

See Also

Manipulating objects, redraw, redrawoff, redrawmode

Copyright Lumerical Inc. | Privacy | Site Map