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

In This Topic
    Studio Class Members
    In This Topic

    The following tables list the members exposed by Studio.

    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 PropertyHpD version which is loaded by API.  
    Public PropertyHarness proD application's skin colors.  
    Public PropertyGet state of the Studio 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 Studio API. You should call this when you are done with the HpD Studio 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 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 Studio API. Must be called from the Main Thread of an application.  
    Public MethodOverloaded.  Open a HpD project.  
    Public MethodResets all Harness proD Studio settings to the default values.  
    Public Method Restore a HpD project.  
    Top
    See Also