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

In This Topic
    HpdApi Class Members
    In This Topic

    The following tables list the members exposed by HpdApi.

    Public Properties
     NameDescription
    Public Propertystatic (Shared in Visual Basic)Compatibility version of this HpdApi with version of Harness proD.  
    Public Property Currently opened project. Null if no project is opened. Only one project can be opened at once.  
    Public PropertyGet state of the API. To initialize the API, call Init(String,String[]) Failed API cannot be initialized nor used.  
    Public PropertyHarness proD Studio application settings.  
    Top
    Public Methods
     NameDescription
    Public MethodClose HpD API. You should call this when you are done with the HpD API. It sets API Status to HpdApi.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 Method Create a new HpD project.  
    Public Method Create a new HpD project from template.  
    Public Methodstatic (Shared in Visual Basic) Get instance of HpD API.  
    Public Method Loads HpD and initializes the API. Must be called from the Main Thread of an application.  
    Public Method Open a HpD project.  
    Public MethodResets all Harness proD Studio settings to the default values.  
    Public Method Restore a HpD project.  
    Top
    See Also