I am using the standard VB.NET Addin templete. There is a command in the templete called "CreateCube".
I would like to know how to deactivate this "CreateCube" command, when I am working with a drawing or an assebly.
To be exactly, how to make this "CreateCube" command button gray and nonclickable in drawing or assembly, but normal and clickable ONLY in part modus?
Hope you understand what I mean. Thank you for your help!