How to include a macro in the model tree

Hi everybody,

I wrote a simple macro to merge all solid bodies present in a part, I would like to include it in the model tree, so that it is executed exactly after certain features and before others. I cannot find the "Macrofeature" entry in any menu.

Thank you very much for your help

SolidworksApi macros