Application Class

HyperX scripting application.

This API is not guaranteed to be thread-safe. Calls into a single application instance or its descendents are not safe to be called concurrently.

However, it is safe enough for integration testing to have multiple application instances with a single process.

Definition

Namespace: HyperX.Scripting
Assembly: HyperX.Scripting (in HyperX.Scripting.dll) Version: 9.0.0.0 (9.0.0)
C#
public sealed class Application : IDisposable
Inheritance
Object    Application
Implements
IDisposable

Constructors

Application Application constructor using ApplicationUnitSystem enum.

Properties

ActiveProject The currently active project.
AnalysisProperties Analysis Properties for this database.
CompilationDate Date that this version of the API was compiled.
DatabasePathObsolete.
DesignProperties Design Properties for this database.
FailureModeCategories 
FailureModes 
Foams Contains all foam materials.
Honeycombs Contains all honeycomb materials.
Isotropics Contains all isotropic materials.
LaminateFamilies Contains all laminate families.
Laminates Contains all laminate materials.
LoadProperties Load Properties for this database.
Orthotropics Contains all orthotropic materials.
Packages 
ProjectInfos Contains all projects.
UiRunnerMode True while the API is being used through the HyperX UI. Otherwise false.
UnitSystem 
UserName 
Version Get the current HyperX version number.

Methods

CheckDatabaseIsUpToDate Returns true if the database version matches the version of this scripting API. Otherwise returns false.
CloseDatabase Close the currently open database if one exists.
CopyProject Copy a project
CreateDatabaseFromTemplate Create a new database.
CreateProject Create a Project.
DeleteProject 
Dispose Dispose of the application. Should be explicitly called after the application is no longer needed unless the application is wrapped with a using clause.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetAnalyses Get all Analysis Definitions in the database.
Obsolete.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Login Login to the Scripting API with a specified username and password.
Migrate Migrate the database to the latest version.
OpenDatabase Open a database to manipulate with the API.
SelectProject Select the active project. Activating a project will deactivate the current project (if present).
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

See Also