HyperX.Scripting.Python.Api
The HyperX Scripting Library for Python
Loading...
Searching...
No Matches
hyperx.api.HyperFea Class Reference

Public Member Functions

 __init__ (self, _api.HyperFea hyperFea)
None Cancel (self)
types.HyperFeaSolver GetSolverSetup (self)
 Get the current FEA solver setup.
bool HasHistory (self)
types.SimpleStatus Reset (self)
None RunIterations (self, int numberOfIterations, bool startWithSizing, types.StressReportFormat stressReportFormat=None, bool useHyperXSolver=False)
 Run HyperFEA.
types.SimpleStatus SetupSolver (self, item1=None, item2=None, item3=None)
types.SimpleStatus SetupSolver (self, str solverPath, str arguments)
 Setup FEA solver.
types.SimpleStatus SetupSolver (self, str solverPath, str arguments, bool isBatchRun)
 Setup the solver command for running FEA.
types.SimpleStatus TestSolver (self)
 Test FEA solver setup.

Protected Attributes

 _Entity = hyperFea

Properties

 AutomatedConstraints = property
 The Automated Constraints for the project.
 ManualConstraints = property
 The Manual Constraints for the project.

Constructor & Destructor Documentation

◆ __init__()

hyperx.api.HyperFea.__init__ ( self,
_api.HyperFea hyperFea )

Member Function Documentation

◆ Cancel()

None hyperx.api.HyperFea.Cancel ( self)

◆ GetSolverSetup()

types.HyperFeaSolver hyperx.api.HyperFea.GetSolverSetup ( self)

Get the current FEA solver setup.

◆ HasHistory()

bool hyperx.api.HyperFea.HasHistory ( self)

◆ Reset()

types.SimpleStatus hyperx.api.HyperFea.Reset ( self)

◆ RunIterations()

None hyperx.api.HyperFea.RunIterations ( self,
int numberOfIterations,
bool startWithSizing,
types.StressReportFormat stressReportFormat = None,
bool useHyperXSolver = False )

Run HyperFEA.

Parameters
stressReportFormatIn the case where it is None, no reports will be generated.
useHyperXSolverUser HyperX Solver if true
Exceptions
InvalidOperationException

◆ SetupSolver() [1/3]

types.SimpleStatus hyperx.api.HyperFea.SetupSolver ( self,
item1 = None,
item2 = None,
item3 = None )
   Setup FEA solver.



   Setup the solver command for running FEA.
Parameters
isBatchRunFlag that indicates whether to run a custom batch file or the standard solver exectuable.

◆ SetupSolver() [2/3]

types.SimpleStatus hyperx.api.HyperFea.SetupSolver ( self,
str solverPath,
str arguments )

Setup FEA solver.

◆ SetupSolver() [3/3]

types.SimpleStatus hyperx.api.HyperFea.SetupSolver ( self,
str solverPath,
str arguments,
bool isBatchRun )

Setup the solver command for running FEA.

Parameters
isBatchRunFlag that indicates whether to run a custom batch file or the standard solver exectuable.

◆ TestSolver()

types.SimpleStatus hyperx.api.HyperFea.TestSolver ( self)

Test FEA solver setup.

Member Data Documentation

◆ _Entity

hyperx.api.HyperFea._Entity = hyperFea
protected

Property Documentation

◆ AutomatedConstraints

hyperx.api.HyperFea.AutomatedConstraints = property
static

The Automated Constraints for the project.

◆ ManualConstraints

hyperx.api.HyperFea.ManualConstraints = property
static

The Manual Constraints for the project.


The documentation for this class was generated from the following file:
  • C:/Dev/HyperX/HyperX/HyperX.Scripting.Wrapper/hyperx/api/__init__.py