Macro Language Reference > Macros > Text (Page Level) > ttundo
  
ttundo
Description
Specifies that a given text stream should record information of the latest changes that were made to the document prior to saving. This provides the option to undo these changes once the document has been saved.
Syntax
ttundo stream:t? on_off:o?
ttundo
[no parameter]
If on_off parameter is not specified, toggle record undo information on or off depending on the current setting.
stream
The stream that should record the undo information: If the stream parameter is not specified, PTC ALD will use the current stream.
on_off
0
Once you have saved the document, you will not be able to undo any changes that were made prior to saving.
1
When you reopen the document after saving, you will be able to undo the last changes that were made.