Class Project
- Namespace
- HyperX.Scripting
- Assembly
- HyperX.Scripting.dll
public sealed class Project : IDisposable
- Inheritance
-
Project
- Implements
-
- Inherited Members
-
Properties
AnalysisProperties
public AnalysisPropertyCol AnalysisProperties { get; }
Property Value
- AnalysisPropertyCol
Beams
public ZoneCol Beams { get; }
Property Value
- ZoneCol
DesignLoads
public DesignLoadCol DesignLoads { get; }
Property Value
- DesignLoadCol
DesignProperties
public DesignPropertyCol DesignProperties { get; }
Property Value
- DesignPropertyCol
DiscreteFieldTables
public DiscreteFieldCol DiscreteFieldTables { get; }
Property Value
- DiscreteFieldCol
FemDataSet
public FemDataSet FemDataSet { get; }
Property Value
- FemDataSet
public ProjectModelFormat FemFormat { get; }
Property Value
- ProjectModelFormat
HyperFea
public HyperFea HyperFea { get; }
Property Value
- HyperFea
Id
Property Value
- int
Joints
public JointCol Joints { get; }
Property Value
- JointCol
LoadProperties
public LoadPropertyCol LoadProperties { get; }
Property Value
- LoadPropertyCol
Name
public string Name { get; }
Property Value
- string
PanelSegments
public PanelSegmentCol PanelSegments { get; }
Property Value
- PanelSegmentCol
Panels
public ZoneCol Panels { get; }
Property Value
- ZoneCol
Rundecks
public RundeckCol Rundecks { get; }
Property Value
- RundeckCol
SectionCuts
public SectionCutCol SectionCuts { get; }
Property Value
- SectionCutCol
Sets
public SetCol Sets { get; }
Property Value
- SetCol
Structures
public StructureCol Structures { get; }
Property Value
- StructureCol
WorkingFolder
public string WorkingFolder { get; }
Property Value
- string
Zones
public ZoneCol Zones { get; }
Property Value
- ZoneCol
Methods
AnalyzeZones(IEnumerable<ZoneBase>)
public TernaryStatus AnalyzeZones(IEnumerable<ZoneBase> zones = null)
Parameters
zones
IEnumerable<ZoneBase>
Returns
- TernaryStatus
AnalyzeZones(IEnumerable<int>)
public TernaryStatus AnalyzeZones(IEnumerable<int> zoneIds)
Parameters
zoneIds
IEnumerable<int>
Returns
- TernaryStatus
CopyResultsToOverrides(bool, IEnumerable<ZoneBase>)
public SimpleStatus CopyResultsToOverrides(bool forceDeletePlies, IEnumerable<ZoneBase> zones)
Parameters
forceDeletePlies
bool
zones
IEnumerable<ZoneBase>
Returns
- SimpleStatus
CopyResultsToOverrides(bool, IEnumerable<int>)
public SimpleStatus CopyResultsToOverrides(bool forceDeletePlies, IEnumerable<int> zoneIds)
Parameters
forceDeletePlies
bool
zoneIds
IEnumerable<int>
Returns
- SimpleStatus
CreateHyperXpertPoints(HashSet<int>, DoePlotMode, DoePointType, bool, bool)
public List<HyperXpertPoint> CreateHyperXpertPoints(HashSet<int> runsets, DoePlotMode plotMode, DoePointType pointType, bool generateVariabilityForLinked, bool filterNonGeometry)
Parameters
runsets
HashSet<int>
plotMode
DoePlotMode
pointType
DoePointType
generateVariabilityForLinked
bool
filterNonGeometry
bool
Returns
- List<HyperXpertPoint>
CreateNonFeaZone(FamilyCategory, string)
public Zone CreateNonFeaZone(FamilyCategory category, string name = null)
Parameters
category
FamilyCategory
name
string
Returns
- Zone
Dispose()
ExportCad(IEnumerable<int>, string)
public void ExportCad(IEnumerable<int> cadIds, string filePath)
Parameters
cadIds
IEnumerable<int>
filePath
string
ExportCad(string)
public void ExportCad(string filePath)
Parameters
filePath
string
ExportFem(string)
public void ExportFem(string destinationFolder)
Parameters
destinationFolder
string
GetDashboardCompanies()
public string[] GetDashboardCompanies()
Returns
- string[]
GetDashboardPrograms(string)
public string[] GetDashboardPrograms(string companyName)
Parameters
companyName
string
Returns
- string[]
public string[] GetDashboardTags(string companyName)
Parameters
companyName
string
Returns
- string[]
GetJointsWithoutResults(IEnumerable<Joint>)
public HashSet<int> GetJointsWithoutResults(IEnumerable<Joint> joints)
Parameters
joints
IEnumerable<Joint>
Returns
- HashSet<int>
GetRunSets()
public List<RunSet> GetRunSets()
Returns
- List<RunSet>
ImportCad(string)
public void ImportCad(string filePath)
Parameters
filePath
string
ImportFeaResults(bool)
public string ImportFeaResults(bool alwaysImport = false)
Parameters
alwaysImport
bool
Returns
- string
PackageProject(string, bool, bool, bool, bool, bool, bool, bool, bool, IEnumerable<string>)
public SimpleStatus PackageProject(string 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, IEnumerable<string> additionalFiles = null)
Parameters
destinationFilePath
string
includeFemInputFiles
bool
includeFemOutputFiles
bool
includeWorkingFolder
bool
includeLoadFiles
bool
includePluginPackages
bool
removeAllOtherProjects
bool
deleteUnusedPropertiesAndMaterials
bool
mapFemFilesToRelativePaths
bool
additionalFiles
IEnumerable<string>
Returns
- SimpleStatus
RegeneratePfem()
public void RegeneratePfem()
ReturnToUnusedFem(IEnumerable<int>, IEnumerable<int>)
public void ReturnToUnusedFem(IEnumerable<int> zoneNumbers = null, IEnumerable<int> jointIds = null)
Parameters
zoneNumbers
IEnumerable<int>
jointIds
IEnumerable<int>
public void SetFemFormat(ProjectModelFormat femFormat)
Parameters
femFormat
ProjectModelFormat
SetFemUnits(DbForceUnit, DbLengthUnit, DbMassUnit, DbTemperatureUnit)
public SetUnitsStatus SetFemUnits(DbForceUnit femForceId, DbLengthUnit femLengthId, DbMassUnit femMassId, DbTemperatureUnit femTemperatureId)
Parameters
femForceId
DbForceUnit
femLengthId
DbLengthUnit
femMassId
DbMassUnit
femTemperatureId
DbTemperatureUnit
Returns
- SetUnitsStatus
SizeJoints(IEnumerable<Joint>)
public SimpleStatus SizeJoints(IEnumerable<Joint> joints = null)
Parameters
joints
IEnumerable<Joint>
Returns
- SimpleStatus
SizeZones(IEnumerable<ZoneBase>)
public TernaryStatus SizeZones(IEnumerable<ZoneBase> zones = null)
Parameters
zones
IEnumerable<ZoneBase>
Returns
- TernaryStatus
SizeZones(IEnumerable<int>)
public TernaryStatus SizeZones(IEnumerable<int> zoneIds)
Parameters
zoneIds
IEnumerable<int>
Returns
- TernaryStatus
UnimportFemAsync()
public Task UnimportFemAsync()
Returns
- Task
Upload(string, string, string, IEnumerable<string>, string, HashSet<int>, HashSet<int>)
public SimpleStatus Upload(string uploadSetName, string company, string program, IEnumerable<string> tags, string notes, HashSet<int> zoneIds, HashSet<int> jointIds)
Parameters
uploadSetName
string
company
string
program
string
tags
IEnumerable<string>
notes
string
zoneIds
HashSet<int>
jointIds
HashSet<int>
Returns
- SimpleStatus