Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Manipulating objects

undo

We've made some changes. Use 'Ctrl-F5' to clear your browser cache.
Scroll Prev Top Next More

Undos the last command that modified any objects, you can undo the last 5 commands.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

undo;

Undo last modify object command.

This function does not return any data.

 

Example

If you add some objects manually or type in commands in the prompt like this line by line

addplane;

addrect;

addring;

addcircle;

addpower;

addfdtd;

then type undo 5 times or more, it will only delete the last 5 objects.The first added plane wave source is kept.

 

If  type redo 5 times or more, it will only recover the last 5 objects.

 

See Also

Manipulating objects, redo, historyon, historyoff

Copyright Lumerical Inc. | Privacy | Site Map