CondensedPart#

class ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.CondensedPart#

Bases: object

Defines a CondensedPart.

Overview#

ExportCondensedPart

Run the Export Condensed Part action.

DetectCondensedPartInterface

Run the DetectCondensedPartInterface action.

GenerateCondensedParts

Run the GenerateCondensedParts action.

AddCommandSnippet

Creates a new CommandSnippet

ClearGeneratedData

Run the ClearGeneratedData action.

Delete

Run the Delete action.

GetChildren

Gets the list of children, filtered by type.

GetChildren

Gets the list of children, filtered by type.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

Activate

Activate the current object.

CopyTo

Copies all visible properties from this object to another.

Duplicate

Creates a copy of the current DataModelObject.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

PropertyByName

Get a property by its unique name.

PropertyByAPIName

Get a property by its API name.

CreateParameter

Creates a new parameter for a Property.

GetParameter

Gets the parameter corresponding to the given property.

RemoveParameter

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

Interfaces

Returns the Interfaces of the condensed part

InternalObject

Gets the internal object. For advanced usage only.

NumberOfModes

Gets or sets the NumberOfModes.

MaximumFrequency

Gets or sets the MaximumFrequency.

MinimumFrequency

Gets or sets the MinimumFrequency.

AttachmentMethod

Gets or sets the AttachmentMethod.

FutureExpansion

Gets or sets the FutureExpansion.

FutureIntent

Gets or sets the FutureIntent.

GenerateDampingMatrix

Gets or sets the GenerateDampingMatrix.

InterfaceMethod

Gets or sets the InterfaceMethod.

KeepFilesFor

Gets or sets the KeepFilesFor.

LumpedMassFormulation

Gets or sets the LumpedMassFormulation.

PointMassTreatment

Gets or sets the PointMassTreatment.

ReductionMethod

Gets or sets the ReductionMethod.

SolverType

Gets or sets the SolverType.

StoreBasisResults

Gets or sets the StoreBasisResults.

RangeSearch

Gets or sets the RangeSearch.

DataModelObjectCategory

Gets the current DataModelObject’s category.

NumberInterfaceEntries

Gets the NumberInterfaceEntries.

NumberMasterNodes

Gets the NumberMasterNodes.

SolutionName

Gets or sets the SolutionName.

SolverFilesDirectory

Gets the SolverFilesDirectory.

TemperatureUnits

Gets the TemperatureUnits.

ReferenceTemperature

Gets or sets the ReferenceTemperature.

Physics

Gets the Physics.

SolverUnitSystem

Gets or sets the SolverUnitSystem.

SolutionNameMode

Gets or sets the SolutionNameMode.

SolverUnits

Gets or sets the SolverUnits.

Suppressed

Gets or sets the Suppressed.

GeometrySelection

Gets or sets the GeometrySelection.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

Figures

Gets the list of associated figures.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

Properties

Gets the list of properties for this object.

VisibleProperties

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

Property detail#

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.NumberOfModes: System.Int32 | None

Gets or sets the NumberOfModes.

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.AttachmentMethod: Ansys.Mechanical.DataModel.Enums.CondensedPartCMSAttachmentMethod | None

Gets or sets the AttachmentMethod.

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

Gets or sets the FutureExpansion.

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

Gets or sets the FutureIntent.

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

Gets or sets the GenerateDampingMatrix.

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

Gets or sets the InterfaceMethod.

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.PointMassTreatment: Ansys.Mechanical.DataModel.Enums.CondensedPartPointMassTreatment | None

Gets or sets the PointMassTreatment.

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

Gets or sets the ReductionMethod.

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

Gets or sets the SolverType.

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

Gets or sets the StoreBasisResults.

property CondensedPart.RangeSearch: System.Boolean | None

Gets or sets the RangeSearch.

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

Gets the current DataModelObject’s category.

property CondensedPart.NumberInterfaceEntries: System.Int32 | None

Gets the NumberInterfaceEntries.

property CondensedPart.NumberMasterNodes: System.Int32 | None

Gets the NumberMasterNodes.

property CondensedPart.SolutionName: System.String | None

Gets or sets the SolutionName.

property CondensedPart.SolverFilesDirectory: System.String | None

Gets the SolverFilesDirectory.

property CondensedPart.TemperatureUnits: System.String | None

Gets the TemperatureUnits.

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

Gets or sets the ReferenceTemperature.

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

Gets the Physics.

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

Gets or sets the SolverUnitSystem.

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

Gets or sets the SolutionNameMode.

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

Gets or sets the SolverUnits.

property CondensedPart.Suppressed: System.Boolean | None

Gets or sets the Suppressed.

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

Gets or sets the GeometrySelection.

property CondensedPart.Children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets the list of children.

property CondensedPart.Comments: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Comment] | None

Gets the list of associated comments.

property CondensedPart.Figures: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Figure] | None

Gets the list of associated figures.

property CondensedPart.Images: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Image] | None

Gets the list of associated images.

property CondensedPart.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

property CondensedPart.Properties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties for this object.

property CondensedPart.VisibleProperties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

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

Method detail#

CondensedPart.ExportCondensedPart(exportFileName: System.String) System.Void

Run the Export Condensed Part action.

CondensedPart.DetectCondensedPartInterface() System.Void

Run the DetectCondensedPartInterface action.

CondensedPart.GenerateCondensedParts() System.Void

Run the GenerateCondensedParts action.

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

Creates a new CommandSnippet

CondensedPart.ClearGeneratedData() System.Void

Run the ClearGeneratedData action.

CondensedPart.Delete() System.Void

Run the Delete action.

CondensedPart.GetChildren(recurses: System.Boolean, children: System.Collections.Generic.IList[ChildrenType]) System.Collections.Generic.IList[ChildrenType]

Gets the list of children, filtered by type.

CondensedPart.GetChildren(category: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory, recurses: System.Boolean, children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]) System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]

Gets the list of children, filtered by type.

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: System.String) 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.Activate() System.Void

Activate the current object.

CondensedPart.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) System.Void

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

CondensedPart.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

CondensedPart.PropertyByName(name: System.String) Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

CondensedPart.PropertyByAPIName(name: System.String) 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.CreateParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

CondensedPart.GetParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

CondensedPart.RemoveParameter(propName: System.String) System.Void

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