Harness proD API Help
EPLAN.Harness.API Namespace / Library Class
Properties Methods

In This Topic
    Library Class Members
    In This Topic

    The following tables list the members exposed by Library.

    Public Properties
     NameDescription
    Public Propertystatic (Shared in Visual Basic)Compatibility version of this HpdApi with version of Harness proD.  
    Public Property Currently connected library. Null if no library is connected. Only one library can be connected at once.  
    Public PropertyHpD version which is loaded by API.  
    Public PropertyHarness proD Library application settings.  
    Public Property List of recently connected libraries.  
    Public PropertyHarness proD application's skin colors.  
    Public PropertyGet state of the Library API. To initialize the API, call Init(String,String[]) Failed API cannot be initialized nor used.  
    Top
    Public Methods
     NameDescription
    Public MethodAdd an existing connection to a library.  
    Public MethodClose HpD Library API. You should call this when you are done with the HpD Library API. It sets API Status to ApiState.Closed. Call Init(String,String[]) to initialize and use the HpD API again. Make sure you have all your documents and project properly saved and closed before this call. When used from plugin, this call has no effect.  
    Public MethodOverloaded.  Connect to library.  
    Public MethodOverloaded. Create new EPLAN Platform Master Data (SQL Server) library using windows authentication.  
    Public MethodOverloaded. Create new MS SQL Server library using windows authentication.  
    Public MethodCreate new file-system-based library.  
    Public Methodstatic (Shared in Visual Basic) Get instance of HpD Library API.  
    Public Method Loads HpD and initializes the Library API. Must be called from the Main Thread of an application.  
    Public MethodOverloaded. Upgrade library specified by the connection to the current version.  
    Top
    See Also