Skip to main content

Mechanical scripting interface 2025

`SubstructureGenerationCondensedPart`

Last update: 16.07.2025

class Ansys.ACT.Automation.Mechanical.SubstructureGenerationCondensedPart

Bases: object

Defines a SubstructureGenerationCondensedPart.

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.
Duplicate Creates a copy of the current DataModelObject.
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.
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.
LumpedMassFormulation Gets or sets the LumpedMassFormulation.
NumberInterfaceEntries Gets the NumberInterfaceEntries.
NumberMasterNodes Gets the NumberMasterNodes.
Physics Gets the Physics.
PointMassTreatment Gets or sets the PointMassTreatment.
Properties Gets the list of properties for this object.
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.
SolverUnitSystem Gets or sets the SolverUnitSystem.
SolverUnits Gets or sets the SolverUnits.
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 SubstructureGenerationCondensedPart.AttachmentMethod : Ansys.Mechanical.DataModel.Enums.CondensedPartCMSAttachmentMethod | None

Gets or sets the AttachmentMethod.

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

Gets the list of children.

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

Gets the list of associated comments.

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

Gets the current DataModelObject’s category.

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

Gets the list of associated figures.

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

Gets or sets the GenerateDampingMatrix.

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

Gets or sets the GeometrySelection.

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

Gets the list of associated images.

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

Gets or sets the InterfaceMethod.

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

Returns the Interfaces of the condensed part

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

Gets the internal object. For advanced usage only.

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

Gets or sets the LumpedMassFormulation.

property SubstructureGenerationCondensedPart.NumberInterfaceEntries : int | None

Gets the NumberInterfaceEntries.

property SubstructureGenerationCondensedPart.NumberMasterNodes : int | None

Gets the NumberMasterNodes.

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

Gets the Physics.

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

Gets or sets the PointMassTreatment.

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

Gets the list of properties for this object.

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

Gets or sets the ReductionMethod.

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

Gets or sets the ReferenceTemperature.

property SubstructureGenerationCondensedPart.SolutionName : str | None

Gets or sets the SolutionName.

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

Gets or sets the SolutionNameMode.

property SubstructureGenerationCondensedPart.SolverFilesDirectory : str | None

Gets the SolverFilesDirectory.

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

Gets or sets the SolverUnitSystem.

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

Gets or sets the SolverUnits.

property SubstructureGenerationCondensedPart.Suppressed : bool | None

Gets or sets the Suppressed.

property SubstructureGenerationCondensedPart.TemperatureUnits : str | None

Gets the TemperatureUnits.

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

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

Method detail

SubstructureGenerationCondensedPart.Activate() → None

Activate the current object.

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

Creates a new CommandSnippet

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

Creates a new child Comment.

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

Creates a new child Figure.

SubstructureGenerationCondensedPart.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.

SubstructureGenerationCondensedPart.ClearGeneratedData() → None

Run the ClearGeneratedData action.

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

Copies all visible properties from this object to another.

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

Creates a new parameter for a Property.

SubstructureGenerationCondensedPart.Delete() → None

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Gets the list of children, filtered by type.

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

Gets the parameter corresponding to the given property.

SubstructureGenerationCondensedPart.GroupAllSimilarChildren() → None

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

SubstructureGenerationCondensedPart.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.

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

Get a property by its unique name.

SubstructureGenerationCondensedPart.RemoveParameter(propName: str) → None

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

Connect with Ansys