SolutionCombinationDefinition#

class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.SolutionCombinationDefinition#

Bases: object

SolutionCombinationDefinition class.

Overview#

AddBaseCase

Add a BaseCase to the SolutionCombinationDefinition

AddLoadCombination

Add a LoadCombination to the SolutionCombination Definition

DeleteBaseCase

Delete a BaseCase from the SolutionCombinationDefinition

DeleteLoadCombination

Delete a LoadCombination from the SolutionCombination Definition

Export

Export Load Combination Definition data to Comma Separated Value (CSV) files

GetBaseCaseAnalysis

Gets the BaseCase Analysis property at given index.

GetBaseCaseFrequency

Gets the Frequency property from the Base Case at given index

GetBaseCaseName

Gets the BaseCase Name property at given index

GetBaseCasePhaseAngle

Gets the Phase Angle property from the Base Case at given index

GetBaseCaseTime

Gets the Time property from the Base Case at given index

GetCoefficient

Gets the Coefficient property at given LoadCombination index and BaseCase index

GetLoadCombinationName

Gets the LoadCombination Name property at given index

GetLoadCombinationType

Gets the Load Combination Type property at given index

Import

Import Load Combination Definition data from Comma Separated Value (CSV) files

SetBaseCaseAnalysis

Sets the BaseCase Analysis property to given index.

SetBaseCaseFrequency

Sets the Frequency property to the Base Case at given index

SetBaseCaseName

Sets the BaseCase Name property at given index

SetBaseCasePhaseAngle

Sets the Phase Angle property to the Base Case at given index

SetBaseCaseTime

Sets the Time property to the Base Case at given index

SetCoefficient

Sets the Coefficient property at given LoadCombination index and BaseCase index

SetLoadCombinationName

Sets the LoadCombination Name property at given index

SetLoadCombinationType

Sets the Load Combination Type property at given index

BaseCaseCount

Gets the number of bases cases

LoadCombinationCount

Gets the number of load combinations

Property detail#

property SolutionCombinationDefinition.BaseCaseCount: int | None#

Gets the number of bases cases

property SolutionCombinationDefinition.LoadCombinationCount: int | None#

Gets the number of load combinations

Method detail#

SolutionCombinationDefinition.AddBaseCase(name: str, analysis: Ansys.ACT.Automation.Mechanical.Analysis, time: float) None#

Add a BaseCase to the SolutionCombinationDefinition

SolutionCombinationDefinition.AddLoadCombination(name: str, type: int) None#

Add a LoadCombination to the SolutionCombination Definition

SolutionCombinationDefinition.DeleteBaseCase(index: int) None#

Delete a BaseCase from the SolutionCombinationDefinition

SolutionCombinationDefinition.DeleteLoadCombination(index: int) None#

Delete a LoadCombination from the SolutionCombination Definition

SolutionCombinationDefinition.Export(filepath: str) None#

Export Load Combination Definition data to Comma Separated Value (CSV) files

SolutionCombinationDefinition.GetBaseCaseAnalysis(index: int) Ansys.ACT.Automation.Mechanical.Analysis#

Gets the BaseCase Analysis property at given index.

SolutionCombinationDefinition.GetBaseCaseFrequency(index: int) float#

Gets the Frequency property from the Base Case at given index

SolutionCombinationDefinition.GetBaseCaseName(index: int) str#

Gets the BaseCase Name property at given index

SolutionCombinationDefinition.GetBaseCasePhaseAngle(index: int) float#

Gets the Phase Angle property from the Base Case at given index

SolutionCombinationDefinition.GetBaseCaseTime(index: int) float#

Gets the Time property from the Base Case at given index

SolutionCombinationDefinition.GetCoefficient(LCindex: int, BCindex: int) float#

Gets the Coefficient property at given LoadCombination index and BaseCase index

SolutionCombinationDefinition.GetLoadCombinationName(index: int) str#

Gets the LoadCombination Name property at given index

SolutionCombinationDefinition.GetLoadCombinationType(index: int) Ansys.Mechanical.DataModel.Enums.LoadCombinationType#

Gets the Load Combination Type property at given index

SolutionCombinationDefinition.Import(filepath: str) None#

Import Load Combination Definition data from Comma Separated Value (CSV) files

SolutionCombinationDefinition.SetBaseCaseAnalysis(index: int, analysis: Ansys.ACT.Automation.Mechanical.Analysis) None#

Sets the BaseCase Analysis property to given index.

SolutionCombinationDefinition.SetBaseCaseFrequency(index: int, value: float) None#

Sets the Frequency property to the Base Case at given index

SolutionCombinationDefinition.SetBaseCaseName(index: int, name: str) None#

Sets the BaseCase Name property at given index

SolutionCombinationDefinition.SetBaseCasePhaseAngle(index: int, value: float) None#

Sets the Phase Angle property to the Base Case at given index

SolutionCombinationDefinition.SetBaseCaseTime(index: int, value: float) None#

Sets the Time property to the Base Case at given index

SolutionCombinationDefinition.SetCoefficient(LCindex: int, BCindex: int, value: float) None#

Sets the Coefficient property at given LoadCombination index and BaseCase index

SolutionCombinationDefinition.SetLoadCombinationName(index: int, name: str) None#

Sets the LoadCombination Name property at given index

SolutionCombinationDefinition.SetLoadCombinationType(index: int, value: Ansys.Mechanical.DataModel.Enums.LoadCombinationType) None#

Sets the Load Combination Type property at given index