7 Replies Latest reply on Apr 3, 2017 5:01 PM by Ross John

    VB.NET Addin templete: How to deactivate the command?

    Ross John

      Hello everyone,

      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!