AnsweredAssumed Answered

how to disable the command items in certain type of documents

Question asked by Chris Champions on Mar 8, 2016
Latest reply on Mar 10, 2016 by Chris Champions

I only want to show the command items in the toolbar and menu in the drawing file, so I set


Dim docTypes() As Integer = {swDocumentTypes_e.swDocDRAWING}


it works for the toolbar; however, it's still shown on the menu pull down menu in part and assembly files, and worse, it's also shown in the menu pull down menu with no document open