Skip to main content

Mechanical scripting interface 2025

`CondensedPart`

Last update: 09.03.2026

class Ansys.ACT.Automation.Mechanical.CondensedPart

Bases: object

Defines a CondensedPart.

Overview

Methods

Name Description
Activate Activate the current object.
AddCommandSnippet Creates a new CommandSnippet
AddComment Creates a new child Comment.
AddFigure Creates a new child Figure.
AddImage Creates a new child Image.
ClearGeneratedData Run the ClearGeneratedData action.
CopyTo Copies all visible properties from this object to another.
CreateParameter Creates a new parameter for a Property.
Delete Run the Delete action.
DetectCondensedPartInterface Run the DetectCondensedPartInterface action.
Duplicate Creates a copy of the current DataModelObject.
Export Run the Export Condensed Part action.
GenerateCondensedParts Run the GenerateCondensedParts action.
GetChildren Gets the list of children, filtered by type.
GetParameter Gets the parameter corresponding to the given property.
GroupAllSimilarChildren Run the GroupAllSimilarChildren action.
GroupSimilarObjects Run the GroupSimilarObjects action.
PropertyByAPIName Get a property by its API name.
PropertyByName Get a property by its unique name.
RemoveParameter Removes the parameter from the parameter set corresponding to the given property.

Properties

Name Description
AttachmentMethod Gets or sets the AttachmentMethod.
Children Gets the list of children.
Comments Gets the list of associated comments.
DataModelObjectCategory Gets the current DataModelObject’s category.
Figures Gets the list of associated figures.
FutureExpansion Gets or sets the FutureExpansion.
FutureIntent “FutureIntent” property defines the type of solver supported to perform a use pass with the condensed part.
GenerateDampingMatrix Gets or sets the GenerateDampingMatrix.
GeometrySelection Gets or sets the GeometrySelection.
Images Gets the list of associated images.
InterfaceMethod Gets or sets the InterfaceMethod.
Interfaces Returns the Interfaces of the condensed part
InternalObject Gets the internal object. For advanced usage only.
KeepFilesFor Gets or sets the KeepFilesFor.
LumpedMassFormulation Gets or sets the LumpedMassFormulation.
MaximumFrequency Gets or sets the MaximumFrequency.
MinimumFrequency Gets or sets the MinimumFrequency.
NumberInterfaceEntries Gets the NumberInterfaceEntries.
NumberMasterNodes Gets the NumberMasterNodes.
NumberOfModes Gets or sets the NumberOfModes.
Physics Gets the Physics.
PointMassTreatment Gets or sets the PointMassTreatment.
Properties Gets the list of properties for this object.
RangeSearch Gets or sets the RangeSearch.
ReductionMethod Gets or sets the ReductionMethod.
ReferenceTemperature Gets or sets the ReferenceTemperature.
SolutionName Gets or sets the SolutionName.
SolutionNameMode Gets or sets the SolutionNameMode.
SolverFilesDirectory Gets the SolverFilesDirectory.
SolverType Gets or sets the SolverType.
SolverUnitSystem Gets or sets the SolverUnitSystem.
SolverUnits Gets or sets the SolverUnits.
StoreBasisResults Gets or sets the StoreBasisResults.
Suppressed Gets or sets the Suppressed.
TemperatureUnits Gets the TemperatureUnits.
VisibleProperties Gets the list of properties that are visible for this object.

Property detail

property CondensedPart.AttachmentMethod : Ansys.Mechanical.DataModel.Enums.CondensedPartCMSAttachmentMethod | None

Gets or sets the AttachmentMethod.

property CondensedPart.Children : List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets the list of children.

property CondensedPart.Comments : Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None

Gets the list of associated comments.

property CondensedPart.DataModelObjectCategory : Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None

Gets the current DataModelObject’s category.

property CondensedPart.Figures : Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None

Gets the list of associated figures.

property CondensedPart.FutureExpansion : Ansys.Mechanical.DataModel.Enums.YesNoProgrammedControlled | None

Gets or sets the FutureExpansion.

property CondensedPart.FutureIntent : Ansys.Mechanical.DataModel.Enums.FutureIntentType | None

“FutureIntent” property defines the type of solver supported to perform a use pass with the condensed part.

property CondensedPart.GenerateDampingMatrix : Ansys.Mechanical.DataModel.Enums.YesNoProgrammedControlled | None

Gets or sets the GenerateDampingMatrix.

property CondensedPart.GeometrySelection : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the GeometrySelection.

property CondensedPart.Images : Iterable[Ansys.ACT.Automation.Mechanical.Image] | None

Gets the list of associated images.

property CondensedPart.InterfaceMethod : Ansys.Mechanical.DataModel.Enums.CondensedPartInterfaceMethod | None

Gets or sets the InterfaceMethod.

property CondensedPart.Interfaces : Ansys.ACT.Automation.Mechanical.CondensedPartInterfaces | None

Returns the Interfaces of the condensed part

property CondensedPart.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSCondensedPartAuto | None

Gets the internal object. For advanced usage only.

property CondensedPart.KeepFilesFor : Ansys.Mechanical.DataModel.Enums.CondensedPartKeepFilesFor | None

Gets or sets the KeepFilesFor.

property CondensedPart.LumpedMassFormulation : Ansys.Mechanical.DataModel.Enums.CondensedPartLumpedMassFormulation | None

Gets or sets the LumpedMassFormulation.

property CondensedPart.MaximumFrequency : Ansys.Core.Units.Quantity | None

Gets or sets the MaximumFrequency.

property CondensedPart.MinimumFrequency : Ansys.Core.Units.Quantity | None

Gets or sets the MinimumFrequency.

property CondensedPart.NumberInterfaceEntries : int | None

Gets the NumberInterfaceEntries.

property CondensedPart.NumberMasterNodes : int | None

Gets the NumberMasterNodes.

property CondensedPart.NumberOfModes : int | None

Gets or sets the NumberOfModes.

property CondensedPart.Physics : Ansys.Mechanical.DataModel.Enums.CondensedPartPhysics | None

Gets the Physics.

property CondensedPart.PointMassTreatment : Ansys.Mechanical.DataModel.Enums.CondensedPartPointMassTreatment | None

Gets or sets the PointMassTreatment.

property CondensedPart.Properties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties for this object.

property CondensedPart.RangeSearch : bool | None

Gets or sets the RangeSearch.

property CondensedPart.ReductionMethod : Ansys.Mechanical.DataModel.Enums.CondensedPartReductionMethod | None

Gets or sets the ReductionMethod.

property CondensedPart.ReferenceTemperature : Ansys.Core.Units.Quantity | None

Gets or sets the ReferenceTemperature.

property CondensedPart.SolutionName : str | None

Gets or sets the SolutionName.

property CondensedPart.SolutionNameMode : Ansys.Mechanical.DataModel.Enums.AutomaticOrManual | None

Gets or sets the SolutionNameMode.

property CondensedPart.SolverFilesDirectory : str | None

Gets the SolverFilesDirectory.

property CondensedPart.SolverType : Ansys.Mechanical.DataModel.Enums.SolverType | None

Gets or sets the SolverType.

property CondensedPart.SolverUnitSystem : Ansys.Mechanical.DataModel.Enums.WBUnitSystemType | None

Gets or sets the SolverUnitSystem.

property CondensedPart.SolverUnits : Ansys.Mechanical.DataModel.Enums.SolverUnitsControlType | None

Gets or sets the SolverUnits.

property CondensedPart.StoreBasisResults : Ansys.Mechanical.DataModel.Enums.YesNoProgrammedControlled | None

Gets or sets the StoreBasisResults.

property CondensedPart.Suppressed : bool | None

Gets or sets the Suppressed.

property CondensedPart.TemperatureUnits : str | None

Gets the TemperatureUnits.

property CondensedPart.VisibleProperties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties that are visible for this object.

Method detail

CondensedPart.Activate() → None

Activate the current object.

CondensedPart.AddCommandSnippet() → Ansys.ACT.Automation.Mechanical.CommandSnippet

Creates a new CommandSnippet

CondensedPart.AddComment() → Ansys.ACT.Automation.Mechanical.Comment

Creates a new child Comment.

CondensedPart.AddFigure() → Ansys.ACT.Automation.Mechanical.Figure

Creates a new child Figure.

CondensedPart.AddImage(filePath: str) → Ansys.ACT.Automation.Mechanical.Image

Creates a new child Image.
If a filePath is provided, the image will be loaded from that file,
if not, the image will be a screen capture of the Geometry window.

CondensedPart.ClearGeneratedData() → None

Run the ClearGeneratedData action.

CondensedPart.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) → None

Copies all visible properties from this object to another.

CondensedPart.CreateParameter(propName: str) → Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

CondensedPart.Delete() → None

Run the Delete action.

CondensedPart.DetectCondensedPartInterface() → None

Run the DetectCondensedPartInterface action.

CondensedPart.Duplicate() → Ansys.Mechanical.DataModel.Interfaces.IDataModelObject

Creates a copy of the current DataModelObject.

CondensedPart.Export(exportFileName: str, exportFormat: Ansys.Mechanical.DataModel.MechanicalEnums.CondensedParts.ExportFormat, exportSettings: Ansys.ACT.Automation.Mechanical.CondensedParts.ExportSettings) → None

Run the Export Condensed Part action.

CondensedPart.GenerateCondensedParts() → None

Run the GenerateCondensedParts action.

CondensedPart.GetChildren(recurses: bool, children: List[ChildrenType]) → List[ChildrenType]

Gets the list of children, filtered by type.

CondensedPart.GetParameter(propName: str) → Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

CondensedPart.GroupAllSimilarChildren() → None

Run the GroupAllSimilarChildren action.

CondensedPart.GroupSimilarObjects() → Ansys.ACT.Automation.Mechanical.TreeGroupingFolder

Run the GroupSimilarObjects action.

CondensedPart.PropertyByAPIName(name: str) → Ansys.ACT.Automation.Mechanical.Property

Get a property by its API name.
If multiple properties have the same API Name, only the first property with that name will be returned.

CondensedPart.PropertyByName(name: str) → Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

CondensedPart.RemoveParameter(propName: str) → None

Removes the parameter from the parameter set corresponding to the given property.

Connect with Ansys