Skip to main content

Mechanical scripting interface

SolutionCombinationDefinition

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.SolutionCombinationDefinition

Bases: object

SolutionCombinationDefinition class.

Overview

Methods

Name Description
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

Properties

Name Description
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)

Add a BaseCase to the SolutionCombinationDefinition

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

Add a LoadCombination to the SolutionCombination Definition

SolutionCombinationDefinition.DeleteBaseCase(index: int)

Delete a BaseCase from the SolutionCombinationDefinition

SolutionCombinationDefinition.DeleteLoadCombination(index: int)

Delete a LoadCombination from the SolutionCombination Definition

SolutionCombinationDefinition.Export(filepath: str)

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

SolutionCombinationDefinition.GetBaseCaseAnalysis(index: int)

Gets the BaseCase Analysis property at given index.

SolutionCombinationDefinition.GetBaseCaseFrequency(index: int)

Gets the Frequency property from the Base Case at given index

SolutionCombinationDefinition.GetBaseCaseName(index: int)

Gets the BaseCase Name property at given index

SolutionCombinationDefinition.GetBaseCasePhaseAngle(index: int)

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

SolutionCombinationDefinition.GetBaseCaseTime(index: int)

Gets the Time property from the Base Case at given index

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

Gets the Coefficient property at given LoadCombination index and BaseCase index

SolutionCombinationDefinition.GetLoadCombinationName(index: int)

Gets the LoadCombination Name property at given index

SolutionCombinationDefinition.GetLoadCombinationType(index: int)

Gets the Load Combination Type property at given index

SolutionCombinationDefinition.Import(filepath: str)

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

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

Sets the BaseCase Analysis property to given index.

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

Sets the Frequency property to the Base Case at given index

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

Sets the BaseCase Name property at given index

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

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

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

Sets the Time property to the Base Case at given index

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

Sets the Coefficient property at given LoadCombination index and BaseCase index

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

Sets the LoadCombination Name property at given index

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

Sets the Load Combination Type property at given index