Eplan Platform API
Eplan.EplApi.MasterData Namespace / MDPartsManagement Class
Members Example

In This Topic
    MDPartsManagement Class
    In This Topic
    To open or create a parts database there is the management class MDPartsManagement.
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.MasterData.MDPartsManagement

    Syntax
    public class MDPartsManagement 
    public ref class MDPartsManagement 
    Example
    MDPartsManagement pm = new MDPartsManagement();
    MDPartsDatabase db = pm.OpenDatabase();
    Public Constructors
     NameDescription
    Public Constructorconstructor of MDPartsManagement  
    Top
    Public Properties
     NameDescription
    Public PropertyValue of state connection to database that is currently used.  
    Public PropertyThe parts database that is currently used.  
    Public Propertystatic (Shared in Visual Basic)The parts database that is currently used as a connection string or a file.  
    Top
    Public Methods
     NameDescription
    Public MethodCreate a new parts database.  
    Public MethodExports parts and other parts management items like addresses, constructions, terminals, accessory lists and accessory placements from the system's parts database.  
    Public MethodGets the selected PartItem(s) in the parts management (or parts navigator)  
    Public MethodOverloaded. Imports parts to the system database.  
    Public MethodOverloaded. Opens the given parts database.  
    Public MethodRefreshes the parts management dialog. That is useful after making changes on the parts database items.  
    Public MethodRegisters an add-in for the parts management. The given action will be called for several 'actions'.  
    Public MethodRegisters a new item type into the parts management. That item type will be shown in the tree view (while calling the 'actions' GetRootLevel and GetNextLevel).  
    Public MethodRegisters an additional tab sheet for the given item type.  
    Public MethodRemoves the given parts database.  
    Public MethodSelects the given item in the parts management dialog.  
    Public MethodSet the parts management dialog modified.  
    Public Method  
    Public MethodUnregisters an add-in that was registered with RegisterAddin.  
    Public MethodThe given item type will be unregisterd.  
    Public MethodUnregisters a tab sheet that was registerd with RegisterTabsheet().  
    Public MethodOverloaded. Upgrades parts database.  
    Top
    See Also