|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > Revisions > RestoreRevision |
Restore a previous revision for a note and all its children.
It's the API way to call the UI command
in the bottom bar.
Please note that this functionality is effective on document structures only if run from Integrated version.
On Standalone Client it restores previous revision structures for Generic documents only
call DBWShell("RestoreRevision RevisionID")
RevisionID |
an existing revision for the currently selected document |
MechworksPDM browser must be open, TreePage must be active and a record must be selected (either in a Tree or in a Grid control)
For more info
ActivateRevision command
RestoreLastRevision command
VisualizeRevision command
sub main()
DBWInit(true)
DBWShell("RestoreRevision 01")
end sub