CondensedPart#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.CondensedPart(internalObject: Any)#

Bases: object

Defines a CondensedPart.

Overview#

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.

CreateObjRef

CreateObjRef method.

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.

Equals

Equals method.

Export

Run the Export Condensed Part action.

ExportCondensedPart

ExportCondensedPart method.

GenerateCondensedGeometry

GenerateCondensedGeometry method.

GenerateCondensedParts

Run the GenerateCondensedParts action.

GetAPIName

Property name bound to dispId.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

GetDetailsView

GetDetailsView method.

GetEnumName

Enum name bound to value

GetHashCode

GetHashCode method.

GetIconFile

GetIconFile method.

GetLifetimeService

GetLifetimeService method.

GetObjectData

GetObjectData method.

GetParameter

Gets the parameter corresponding to the given property.

GetPath

GetPath method.

GetPropertyName

GetPropertyName method.

GetPropertyValue

GetPropertyValue method.

GetType

GetType method.

GetVisibleProperties

GetVisibleProperties method.

GetVisiblePropertyNames

GetVisiblePropertyNames method.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

InitializeLifetimeService

InitializeLifetimeService method.

IsPropertyEditable

IsPropertyEditable method.

IsPropertyVisible

IsPropertyVisible method.

PropertyByAPIName

Get a property by its API name.

PropertyById

PropertyById method.

PropertyByName

Get a property by its unique name.

RemoveParameter

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

ToString

ToString method.

AttachedRefs

AttachedRefs property.

AttachmentMethod

Gets or sets the AttachmentMethod.

Children

Gets the list of children.

ClsId

ClsId property.

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.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

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.

Name

Name property.

NumberInterfaceEntries

Gets the NumberInterfaceEntries.

NumberMasterNodes

Gets the NumberMasterNodes.

NumberOfModes

Gets or sets the NumberOfModes.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

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.

State

State property.

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.AttachedRefs: List[int] | None#

AttachedRefs property.

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.ClsId: int | None#

ClsId property.

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.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

property CondensedPart.IconName: str | None#

IconName property.

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.Name: str | None#

Name property.

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.ObjectId: int | None#

ObjectId property.

property CondensedPart.ObjectState: Ansys.Mechanical.DataModel.Enums.ObjectState | None#

ObjectState property.

property CondensedPart.ObjectTags: Iterable[Ansys.Mechanical.DataModel.Interfaces.IObjectTag] | None#

ObjectTags property.

property CondensedPart.Parent: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

Parent property.

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.State: Ansys.Mechanical.DataModel.Enums.Legacy.State | None#

State property.

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.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

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.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

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.ExportCondensedPart(exportFileName: str) None#

ExportCondensedPart method.

CondensedPart.GenerateCondensedGeometry() None#

GenerateCondensedGeometry method.

CondensedPart.GenerateCondensedParts() None#

Run the GenerateCondensedParts action.

CondensedPart.GetAPIName(dispId: int) str#

Property name bound to dispId.

CondensedPart.GetAllProperties() List[Ansys.ACT.Automation.Mechanical.AutomationPropertyWrapper]#

GetAllProperties method.

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

Gets the list of children, filtered by type.

CondensedPart.GetDetailsView() Ansys.ACT.Automation.Mechanical.DetailsViewData#

GetDetailsView method.

CondensedPart.GetEnumName(enumType: type, value: int, dispId: int) str#

Enum name bound to value

CondensedPart.GetHashCode() int#

GetHashCode method.

CondensedPart.GetIconFile() System.Byte#

GetIconFile method.

CondensedPart.GetLifetimeService() Any#

GetLifetimeService method.

CondensedPart.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#

GetObjectData method.

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

Gets the parameter corresponding to the given property.

CondensedPart.GetPath() str#

GetPath method.

CondensedPart.GetPropertyName(dispId: int) str#

GetPropertyName method.

CondensedPart.GetPropertyValue(name: str) Any#

GetPropertyValue method.

CondensedPart.GetType() type#

GetType method.

CondensedPart.GetVisibleProperties() List[System.Reflection.PropertyInfo]#

GetVisibleProperties method.

CondensedPart.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

CondensedPart.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

CondensedPart.InitializeLifetimeService() Any#

InitializeLifetimeService method.

CondensedPart.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

CondensedPart.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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.PropertyById(dispId: int) Ansys.ACT.Automation.Mechanical.Property#

PropertyById method.

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.

CondensedPart.ToString() str#

ToString method.