Represents a HyperX project within a database. More...
Public Member Functions | |
| __init__ (self, _api.Project project) | |
| types.TernaryStatus | AnalyzeZones (self) |
| Analyze a list of zones by ID. | |
| types.TernaryStatus | AnalyzeZones (self, item1=None) |
| types.TernaryStatus | AnalyzeZones (self, tuple[int] zoneIds) |
| Analyze a list of zones by ID. | |
| types.TernaryStatus | AnalyzeZones (self, tuple[ZoneBase] zones) |
| Analyze a list of zones. | |
| None | CancelAnalysis (self) |
| types.SimpleStatus | CopyResultsToOverrides (self, bool forceDeletePlies, tuple[int] zoneIds) |
| types.SimpleStatus | CopyResultsToOverrides (self, bool forceDeletePlies, tuple[ZoneBase] zones) |
| types.SimpleStatus | CopyResultsToOverrides (self, item1=None, item2=None) |
| list[HyperXpertPoint] | CreateHyperXpertPoints (self, set[int] runsets, types.DoePlotMode plotMode, types.DoePointType pointType, bool generateVariabilityForLinked, bool filterNonGeometry) |
| Create HyperXpert points based on specific run sets. | |
| Zone | CreateNonFeaZone (self, types.FamilyCategory category, str name=None) |
| Create a non-FEA zone by name and category. | |
| None | Dispose (self) |
| None | ExportCad (self, item1=None, item2=None) |
| None | ExportCad (self, str filePath) |
| Export all CAD for this project to a file. | |
| None | ExportCad (self, tuple[int] cadIds, str filePath) |
| Export CAD by Id. | |
| None | ExportFem (self, str destinationFolder) |
| types.SimpleStatus | FullRunSolverAnalysis (self, str inputFile=None, str outputFile=None, set[int] zones=None, set[int] joints=None, set[int] sectionCuts=None, set[int] panelSegments=None, int nThreads=None) |
| Run solver in analysis mode with the specified items targeted. | |
| types.SimpleStatus | FullRunSolverSizing (self, str inputFile=None, str outputFile=None, set[int] zones=None, set[int] joints=None, set[int] sectionCuts=None, set[int] panelSegments=None, int nThreads=None) |
| Run solver in sizing mode with the specified items targeted. | |
| types.SimpleStatus | GenerateCae (self, str outputFile, int designPropertyId, int analysisPropertyId, int loadPropertyId, float zoneSpanX, float zoneSpanY, bool isCurved=False, float curvatureRadius=None, types.ZoneBucklingMode zoneBucklingMode=types.ZoneBucklingMode.InternalY) |
| Generates a CAE file for the given parameters. | |
| None | GeneratePeakLoadFiles (self, set[int] zones) |
| str | GenerateSolverAnalysisInputFile (self, str inputFile=None, set[int] zones=None, set[int] joints=None, set[int] sectionCuts=None, set[int] panelSegments=None) |
| Generate analysis input file for solver with the specified items targeted. | |
| str | GenerateSolverSizingInputFile (self, str inputFile=None, set[int] zones=None, set[int] joints=None, set[int] sectionCuts=None, set[int] panelSegments=None) |
| Generate sizing input file for solver with the specified items targeted. | |
| dict[int, AnalysisResultCol] | GetControllingResultsPerCriterion (self) |
| list[str] | GetDashboardCompanies (self) |
| This method fetches an array of Dashboard company names that are available to the user who is currently logged in. | |
| list[str] | GetDashboardPrograms (self, str companyName) |
| This method fetches an array of Dashboard program names that are available to the user who is currently logged in. | |
| list[str] | GetDashboardTags (self, str companyName) |
| This method fetches an array of Dashboard tags that are available to the user who is currently logged in. | |
| set[int] | GetExcludedElements (self) |
| Get the elements that are excluded from sizing/analysis. | |
| set[int] | GetJointsWithoutResults (self, tuple[Joint] joints) |
| Given a list of joints, returns the ids of the joints that were passed in but did not have results. | |
| list[RunSet] | GetRunSets (self) |
| None | ImportCad (self, str filePath) |
| Import CAD from a file. | |
| str | ImportFeaResults (self, bool alwaysImport=False) |
| Manually import design loads. | |
| types.SimpleStatus | PackageProject (self, str destinationFilePath, bool includeFemInputFiles=True, bool includeFemOutputFiles=True, bool includeWorkingFolder=True, bool includeLoadFiles=True, bool includePluginPackages=False, bool removeAllOtherProjects=False, bool deleteUnusedPropertiesAndMaterials=False, bool mapFemFilesToRelativePaths=True, tuple[str] additionalFiles=None, types.BundlePackageInclusionMode bundlePackageInclusionMode=types.BundlePackageInclusionMode.Used) |
| Create a .hxp project package from the ActiveProject. | |
| types.SimpleStatus | ReadSolverResultFile (self, bool isSizing, str outputFile) |
| Read results from output file, given approach, design properties lookup, and global design variable lookup. | |
| None | RegeneratePfem (self) |
| Regenerates and displays the preview FEM. | |
| types.SimpleStatus | ReimportFem (self, bool updateFemInStructures, bool archiveProject, types.FemMappingType femMappingType) |
| Run reimport FEM process. | |
| None | ReturnToUnusedFem (self, tuple[int] zoneNumbers=None, tuple[int] jointIds=None) |
| Return zones to unused FEM or delete non-FEA zones. | |
| types.SimpleStatus | RunSolver (self, str inputFile, str outputFile=None, int nThreads=None) |
| Run solver with pre-generated input file. | |
| None | SetExcludedElements (self, set[int] excludedElements) |
| Set the elements that are excluded from sizing/analysis. | |
| None | SetFemFormat (self, types.ProjectModelFormat femFormat) |
| SetUnitsStatus | SetFemUnits (self, DbForceUnit femForceId, DbLengthUnit femLengthId, DbMassUnit femMassId, DbTemperatureUnit femTemperatureId) |
| types.SimpleStatus | SizeJoints (self, tuple[Joint] joints=None) |
| Size a list of joints. | |
| types.TernaryStatus | SizeZones (self) |
| Size a list of zones. | |
| types.TernaryStatus | SizeZones (self, item1=None) |
| types.TernaryStatus | SizeZones (self, tuple[int] zoneIds) |
| Size a list of zones by ID. | |
| types.TernaryStatus | SizeZones (self, tuple[ZoneBase] zones) |
| Size a list of zones. | |
| Task | UnimportFemAsync (self) |
| types.SimpleStatus | Upload (self, str uploadSetName, str company, str program, tuple[str] tags, str notes, set[int] zoneIds, set[int] jointIds) |
| Does some checks to make sure the given parameters are valid, then uploads the given zones and joints to the Dashboard. | |
Protected Attributes | |
| _Entity = project | |
Static Protected Attributes | |
| _FemDataSet | |
| _HyperFea | |
| _SolverSettings | |
Properties | |
| AnalysisProperties = property | |
| Analysis Properties for this project. | |
| Beams = property | |
| DesignLoads = property | |
| DesignLoadSubcases = property | |
| All available subcases for the project. | |
| DesignLoadTemperatureProfiles = property | |
| DesignProperties = property | |
| Design properties for this project. | |
| DiscreteFieldTables = property | |
| FemDataSet = property | |
| FemFormat = property | |
| HyperFea = property | |
| Id = property | |
| Joints = property | |
| LoadProperties = property | |
| Load Properties for this project. | |
| Name = property | |
| Panels = property | |
| PanelSegments = property | |
| Rundecks = property | |
| SectionCuts = property | |
| Sets = property | |
| SolverSettings = property | |
| Structures = property | |
| WorkingFolder = property | |
| Zones = property | |
Represents a HyperX project within a database.
| hyperx.api.Project.__init__ | ( | self, | |
| _api.Project | project ) |
| types.TernaryStatus hyperx.api.Project.AnalyzeZones | ( | self | ) |
Analyze a list of zones by ID.
Marked as success if sizing completes normally or with warnings.
| types.TernaryStatus hyperx.api.Project.AnalyzeZones | ( | self, | |
| item1 = None ) |
Analyze a list of zones. Marked as success if sizing completes normally or with warnings.
Analyze a list of zones by ID. Marked as success if sizing completes normally or with warnings.
Analyze a list of zones by ID. Marked as success if sizing completes normally or with warnings.
| types.TernaryStatus hyperx.api.Project.AnalyzeZones | ( | self, | |
| tuple[int] | zoneIds ) |
Analyze a list of zones by ID.
Marked as success if sizing completes normally or with warnings.
| types.TernaryStatus hyperx.api.Project.AnalyzeZones | ( | self, | |
| tuple[ZoneBase] | zones ) |
Analyze a list of zones.
Marked as success if sizing completes normally or with warnings.
| None hyperx.api.Project.CancelAnalysis | ( | self | ) |
| types.SimpleStatus hyperx.api.Project.CopyResultsToOverrides | ( | self, | |
| bool | forceDeletePlies, | ||
| tuple[int] | zoneIds ) |
| types.SimpleStatus hyperx.api.Project.CopyResultsToOverrides | ( | self, | |
| bool | forceDeletePlies, | ||
| tuple[ZoneBase] | zones ) |
| types.SimpleStatus hyperx.api.Project.CopyResultsToOverrides | ( | self, | |
| item1 = None, | |||
| item2 = None ) |
| list[HyperXpertPoint] hyperx.api.Project.CreateHyperXpertPoints | ( | self, | |
| set[int] | runsets, | ||
| types.DoePlotMode | plotMode, | ||
| types.DoePointType | pointType, | ||
| bool | generateVariabilityForLinked, | ||
| bool | filterNonGeometry ) |
Create HyperXpert points based on specific run sets.
| Zone hyperx.api.Project.CreateNonFeaZone | ( | self, | |
| types.FamilyCategory | category, | ||
| str | name = None ) |
Create a non-FEA zone by name and category.
| None hyperx.api.Project.Dispose | ( | self | ) |
| None hyperx.api.Project.ExportCad | ( | self, | |
| item1 = None, | |||
| item2 = None ) |
Export all CAD for this project to a file.
Export CAD by Id.
| None hyperx.api.Project.ExportCad | ( | self, | |
| str | filePath ) |
Export all CAD for this project to a file.
| None hyperx.api.Project.ExportCad | ( | self, | |
| tuple[int] | cadIds, | ||
| str | filePath ) |
Export CAD by Id.
| None hyperx.api.Project.ExportFem | ( | self, | |
| str | destinationFolder ) |
| types.SimpleStatus hyperx.api.Project.FullRunSolverAnalysis | ( | self, | |
| str | inputFile = None, | ||
| str | outputFile = None, | ||
| set[int] | zones = None, | ||
| set[int] | joints = None, | ||
| set[int] | sectionCuts = None, | ||
| set[int] | panelSegments = None, | ||
| int | nThreads = None ) |
Run solver in analysis mode with the specified items targeted.
Generates input file, runs solver, reads output. Returns true on success.
| types.SimpleStatus hyperx.api.Project.FullRunSolverSizing | ( | self, | |
| str | inputFile = None, | ||
| str | outputFile = None, | ||
| set[int] | zones = None, | ||
| set[int] | joints = None, | ||
| set[int] | sectionCuts = None, | ||
| set[int] | panelSegments = None, | ||
| int | nThreads = None ) |
Run solver in sizing mode with the specified items targeted.
Generates input file, runs solver, reads output. Returns true on success.
| types.SimpleStatus hyperx.api.Project.GenerateCae | ( | self, | |
| str | outputFile, | ||
| int | designPropertyId, | ||
| int | analysisPropertyId, | ||
| int | loadPropertyId, | ||
| float | zoneSpanX, | ||
| float | zoneSpanY, | ||
| bool | isCurved = False, | ||
| float | curvatureRadius = None, | ||
| types.ZoneBucklingMode | zoneBucklingMode = types.ZoneBucklingMode.InternalY ) |
Generates a CAE file for the given parameters.
| outputFile | Where the sdb will saved |
| designPropertyId | Design property to use |
| analysisPropertyId | Analysis property use |
| loadPropertyId | Load property to use |
| zoneSpanX | The X span of the temporary zone to use for sizing |
| zoneSpanY | The Y span of the temporary zone to use for sizing |
| isCurved | Whether the temporary zone to use for sizing is curved |
| curvatureRadius | The curvature of the temporary zone to use for sizing |
| zoneBucklingMode | The buckling mode (direction of the curvature) of the temporary zone to use for sizing |
| None hyperx.api.Project.GeneratePeakLoadFiles | ( | self, | |
| set[int] | zones ) |
| str hyperx.api.Project.GenerateSolverAnalysisInputFile | ( | self, | |
| str | inputFile = None, | ||
| set[int] | zones = None, | ||
| set[int] | joints = None, | ||
| set[int] | sectionCuts = None, | ||
| set[int] | panelSegments = None ) |
Generate analysis input file for solver with the specified items targeted.
Returns filepath.
| str hyperx.api.Project.GenerateSolverSizingInputFile | ( | self, | |
| str | inputFile = None, | ||
| set[int] | zones = None, | ||
| set[int] | joints = None, | ||
| set[int] | sectionCuts = None, | ||
| set[int] | panelSegments = None ) |
Generate sizing input file for solver with the specified items targeted.
Returns filepath.
| dict[int, AnalysisResultCol] hyperx.api.Project.GetControllingResultsPerCriterion | ( | self | ) |
| list[str] hyperx.api.Project.GetDashboardCompanies | ( | self | ) |
This method fetches an array of Dashboard company names that are available to the user who is currently logged in.
The URL and authentication token are taken from the last Dashboard login made through HyperX.
| list[str] hyperx.api.Project.GetDashboardPrograms | ( | self, | |
| str | companyName ) |
This method fetches an array of Dashboard program names that are available to the user who is currently logged in.
The URL and authentication token are taken from the last Dashboard login made through HyperX.
| list[str] hyperx.api.Project.GetDashboardTags | ( | self, | |
| str | companyName ) |
This method fetches an array of Dashboard tags that are available to the user who is currently logged in.
The URL and authentication token are taken from the last Dashboard login made through HyperX.
| set[int] hyperx.api.Project.GetExcludedElements | ( | self | ) |
Get the elements that are excluded from sizing/analysis.
| set[int] hyperx.api.Project.GetJointsWithoutResults | ( | self, | |
| tuple[Joint] | joints ) |
Given a list of joints, returns the ids of the joints that were passed in but did not have results.
If the list of joints is not a subset of the joints passed into the previous joint sizing operation, a new sizing operation will be kicked off.
| list[RunSet] hyperx.api.Project.GetRunSets | ( | self | ) |
| None hyperx.api.Project.ImportCad | ( | self, | |
| str | filePath ) |
Import CAD from a file.
| str hyperx.api.Project.ImportFeaResults | ( | self, | |
| bool | alwaysImport = False ) |
Manually import design loads.
| alwaysImport | If true, loads are imported even if loads have already previously been imported. |
| InvalidOperationException | Throws on failure. |
| types.SimpleStatus hyperx.api.Project.PackageProject | ( | self, | |
| str | destinationFilePath, | ||
| bool | includeFemInputFiles = True, | ||
| bool | includeFemOutputFiles = True, | ||
| bool | includeWorkingFolder = True, | ||
| bool | includeLoadFiles = True, | ||
| bool | includePluginPackages = False, | ||
| bool | removeAllOtherProjects = False, | ||
| bool | deleteUnusedPropertiesAndMaterials = False, | ||
| bool | mapFemFilesToRelativePaths = True, | ||
| tuple[str] | additionalFiles = None, | ||
| types.BundlePackageInclusionMode | bundlePackageInclusionMode = types.BundlePackageInclusionMode.Used ) |
Create a .hxp project package from the ActiveProject.
| types.SimpleStatus hyperx.api.Project.ReadSolverResultFile | ( | self, | |
| bool | isSizing, | ||
| str | outputFile ) |
Read results from output file, given approach, design properties lookup, and global design variable lookup.
| None hyperx.api.Project.RegeneratePfem | ( | self | ) |
Regenerates and displays the preview FEM.
If running a script outside of the Script Runner, do not call this method
| types.SimpleStatus hyperx.api.Project.ReimportFem | ( | self, | |
| bool | updateFemInStructures, | ||
| bool | archiveProject, | ||
| types.FemMappingType | femMappingType ) |
Run reimport FEM process.
| archiveProject | Create a copy of the project before reimporting. |
| None hyperx.api.Project.ReturnToUnusedFem | ( | self, | |
| tuple[int] | zoneNumbers = None, | ||
| tuple[int] | jointIds = None ) |
Return zones to unused FEM or delete non-FEA zones.
| InvalidOperationException | Throws if run sets exist in this project. |
| types.SimpleStatus hyperx.api.Project.RunSolver | ( | self, | |
| str | inputFile, | ||
| str | outputFile = None, | ||
| int | nThreads = None ) |
Run solver with pre-generated input file.
Returns true on success.
| None hyperx.api.Project.SetExcludedElements | ( | self, | |
| set[int] | excludedElements ) |
Set the elements that are excluded from sizing/analysis.
| None hyperx.api.Project.SetFemFormat | ( | self, | |
| types.ProjectModelFormat | femFormat ) |
| SetUnitsStatus hyperx.api.Project.SetFemUnits | ( | self, | |
| DbForceUnit | femForceId, | ||
| DbLengthUnit | femLengthId, | ||
| DbMassUnit | femMassId, | ||
| DbTemperatureUnit | femTemperatureId ) |
| types.SimpleStatus hyperx.api.Project.SizeJoints | ( | self, | |
| tuple[Joint] | joints = None ) |
Size a list of joints.
| types.TernaryStatus hyperx.api.Project.SizeZones | ( | self | ) |
Size a list of zones.
Marked as success if sizing completes normally or with warnings.
| types.TernaryStatus hyperx.api.Project.SizeZones | ( | self, | |
| item1 = None ) |
Size a list of zones. Marked as success if sizing completes normally or with warnings.
| zones | The zones to be sized. |
| <br> | Size a list of zones. Marked as success if sizing completes normally or with warnings. |
| <br> | Size a list of zones by ID. Marked as success if sizing completes normally or with warnings. |
| types.TernaryStatus hyperx.api.Project.SizeZones | ( | self, | |
| tuple[int] | zoneIds ) |
Size a list of zones by ID.
Marked as success if sizing completes normally or with warnings.
| types.TernaryStatus hyperx.api.Project.SizeZones | ( | self, | |
| tuple[ZoneBase] | zones ) |
Size a list of zones.
Marked as success if sizing completes normally or with warnings.
| zones | The zones to be sized. |
| Task hyperx.api.Project.UnimportFemAsync | ( | self | ) |
| types.SimpleStatus hyperx.api.Project.Upload | ( | self, | |
| str | uploadSetName, | ||
| str | company, | ||
| str | program, | ||
| tuple[str] | tags, | ||
| str | notes, | ||
| set[int] | zoneIds, | ||
| set[int] | jointIds ) |
Does some checks to make sure the given parameters are valid, then uploads the given zones and joints to the Dashboard.
The URL and authentication token are taken from the last Dashboard login made through HyperX.
| uploadSetName | The name of the set of data uploaded to the Dashboard. |
| company | The name of the company to associate with the upload set. This company object must be made through the Dashboard UI. |
| program | The name of the program to associated with the upload set. A new program will be created if the program name does not already exist. |
| tags | The list of tags to be associated with the upload set. Any tags that do not exist will be created automatically on upload. |
| notes | The notes to be associated with the upload set. |
| zoneIds | The zone IDs to include in the upload set. |
| jointIds | The joint IDs to include in the upload set. |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
static |
Analysis Properties for this project.
|
static |
|
static |
|
static |
All available subcases for the project.
|
static |
|
static |
Design properties for this project.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Load Properties for this project.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |