You can use transactionStart and transactionEnd (see expedition automation help for more info).
It should also make it faster when doing alot of actions and also groups the actions into one undo.
Vbscript code example:
if pcbAppObj.IsDBLocked = false then PcbDocObj.EditorControl.InteractiveDRC = true then .... |