Message 1 of 4
Disable the built in AutoCAD "SAVEALL " command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
AutoCAD Mechanical 2022
We are needing to disable or remove the SAVEALL command as an option. This is the SAVEALL that shows up when you right click a filetab,not the EXPRESS version. I tried using the code below ,not knowing the actual command name, to veto the command. While I was debugging all I get is a series of QSAVE's. I do not want to stop the QSAVE command but I didn't see any flag indicating this came from SAVEALL.
private void OnDocumentLockModeChanged(object sender, DocumentLockModeChangedEventArgs e)
{
if (string.Compare(e.GlobalCommandName, "SAVEALL", true) == 0)
{
e.Veto();
}
}

