Eplan Platform API
EPLAN API / User Guide / API DataModel / API Pro Panel / Component (part placement in GUI)
In This Topic
    Component (part placement in GUI)
    In This Topic

    The class represents various pro panel items, such as doors, frame profiles, accessories, etc. 

     

    Terminal:
    C#
    Copy Code
    InstallationSpace oInstallationSpace = new InstallationSpace();
    oInstallationSpace.Create(m_oTestProject, "Terminal installation space");
    
    Component oTerminal = new Component();
    oTerminal.Create(m_oTestProject, "PXC.3022276", "1");
    oTerminal.Parent = oInstallationSpace;
    

    Plug:
    C#
    Copy Code
    InstallationSpace oInstallationSpace = new InstallationSpace();
    oInstallationSpace.Create(m_oTestProject, "Plug installation space");
    
    Component oComponent = new Component();
    oComponent.Create(m_oTestProject, "Plug.3-pole+PE", "1");
    oComponent.Parent = oInstallationSpace;
    

     

    Power supply :
    C#
    Copy Code
    InstallationSpace oInstallationSpace = new InstallationSpace();
    oInstallationSpace.Create(m_oTestProject, "Power supply unit installation space");
    Component oComponent = new Component();
    oComponent.Create(m_oTestProject, @"PXC.2938581", "1");
    oComponent.Parent = oInstallationSpace;