Question PMP - EnableFunction - AddCommandItem2

Hi there,

I created an Addin with some PMP´s. (Programming language -VB.net)
I have the problem when some of the SolidWorks Dialogs are openedand I show my PMP nothing will happen. I.e. when an assembly isopen and the Insert Component PMP is open my PMP will not appearand the Insert Component PMP will not disapper. After closing theInsert Component Dialog my PMP will only show again if I restartSolidWorks.

I guess that you have to add code in the EnableFunction of theCommandItem.
When you look at several command tabs when i.e. Insert ComponentPMP is open most of the commands are disabled. Is there a functionthat returns a value when a PMP is open that don´t allow youto show an other PMP.


I use the show function to display my PMP. I tried even to use theshow2 function, with the result that my PMP is not hidden afterpressing the OK Button or calling an other PMP. Did anyone use theshow2 function successful ?



TIA Matthias Senff
SolidworksApi macros