MacrosInstallationSpaceContextMenu
Mit diesem Script werden die fehlenden Kontextmenüeinträge im Bauraum ergänzt:
- Fenstermakro erzeugen
 - Symbolmakro erzeugen
 
EPLAN hat hier keine Durchgängigkeit mit P8 bzw. Stromlaufplan, denn dort sind die Menüeinträge vorhanden. :dizzy:
MacrosInstallationSpaceContextMenu (1863 Downloads )
using Eplan.EplApi.Scripting;
public class MacrosInstallationSpaceContextMenu
{
    [DeclareMenu]
    public void MenuFunction()
    {
        Eplan.EplApi.Gui.ContextMenu oMenu =
            new Eplan.EplApi.Gui.ContextMenu();
        Eplan.EplApi.Gui.ContextMenuLocation oLocation =
            new Eplan.EplApi.Gui.ContextMenuLocation(
                "Editor",
                "Cabinet3D"
                );
        oMenu.AddMenuItem(
            oLocation,
            "Fenstermakro erstellen",
            "StoreWindowMacro",
            true,
            false
            );
        oMenu.AddMenuItem(
            oLocation,
            "Symbolmakro erstellen",
            "StoreSymbolMacro",
            false,
            true
            );
    }
}








