What is your end goal? I mean when do you want the toolbar button to be enabled e.g. when the active document is part, assembly, drawing or combination.
My goal is to toggle visibility of command items based on the active doc type and the parameter of the EnableMethod.
In the meantime I reached my goal. In the code above I falsely added two brackets at the end of ActiveDoc (line 12) as if it was a function, and not a property. The compiler didn’t complain about this, which seems odd to me. But it did prevent the EnableMethod to do what I expected it to do.
Anyway, end good, all good...
Thanks for taking time to reply though!