Skip to main content

Mechanical scripting interface

ImportedCondensedPart

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.ImportedCondensedPart

Bases: object

Defines a ImportedCondensedPart.

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.
CreateJointFromNodeIds CreateJointFromNodeIds method.
CreateJoints CreateJoints method.
CreateNodalNamedSelectionFromNodeIds CreateNodalNamedSelectionFromNodeIds method.
CreateNodalNamedSelections CreateNodalNamedSelections method.
CreateParameter Creates a new parameter for a Property.
CreateRemotePointFromNodeIds CreateRemotePointFromNodeIds method.
CreateRemotePoints CreateRemotePoints method.
Delete Run the Delete action.
Duplicate Creates a copy of the current DataModelObject.
GetChildren Gets the list of children, filtered by type.
GetOriginalNodeCoordinates Get all the Node Locations of the Original Interfaces Data table.
GetParameter Gets the parameter corresponding to the given property.
GetTransformedNodeCoordinates Get all the Node Locations of the Transformed Interfaces Data table.
GroupAllSimilarChildren Run the GroupAllSimilarChildren action.
GroupSimilarObjects Run the GroupSimilarObjects action.
ImportCondensedPart Run the Import Condensed Part action.
PropertyByAPIName Get a property by its API name.
PropertyByName Get a property by its unique name.
ReadInterfaceData Run the Read Interface Data action.
RemoveParameter Removes the parameter from the parameter set corresponding to the given property.
UpdateNodeLocation Update Node Location of Original Interfaces Data view table.

Properties

Name Description
ActualNodeOffset Gets the ActualNodeOffset.
Children Gets the list of children.
Comments Gets the list of associated comments.
CondensedPartFileName Gets or sets the CondensedPartFileName.
CondensedPartUnitSystem Gets or sets the CondensedPartUnitSystem.
CoordinateSystem Gets or sets the CoordinateSystem.
DataModelObjectCategory Gets the current DataModelObject’s category.
ExpansionStatus “ExpansionStatus” property defines if results can be expanded of the imported condensed part or not.
Figures Gets the list of associated figures.
FutureIntent “FutureIntent” property defines the type of solver supported to perform a use pass with the imported condensed part.
GeometrySelection Gets or sets the GeometrySelection.
Images Gets the list of associated images.
ImportFileFormat Gets or sets the ImportFileFormat.
ImportStatus Gets the ImportStatus.
InternalObject Gets the internal object. For advanced usage only.
NodeOffset Gets or sets the NodeOffset.
NumberInterfaceEntries Gets the NumberInterfaceEntries.
NumberMasterNodes Gets the NumberMasterNodes.
Physics Gets the Physics.
Properties Gets the list of properties for this object.
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 ImportedCondensedPart.ActualNodeOffset : int | None

Gets the ActualNodeOffset.

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

Gets the list of children.

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

Gets the list of associated comments.

property ImportedCondensedPart.CondensedPartFileName : str | None

Gets or sets the CondensedPartFileName.

property ImportedCondensedPart.CondensedPartUnitSystem : Ansys.Mechanical.DataModel.Enums.WBUnitSystemType | None

Gets or sets the CondensedPartUnitSystem.

property ImportedCondensedPart.CoordinateSystem : Ansys.ACT.Automation.Mechanical.CoordinateSystem | None

Gets or sets the CoordinateSystem.

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

Gets the current DataModelObject’s category.

property ImportedCondensedPart.ExpansionStatus : Ansys.Mechanical.DataModel.Enums.ExpansionStatus | None

“ExpansionStatus” property defines if results can be expanded of the imported condensed part or not.

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

Gets the list of associated figures.

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

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

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

Gets or sets the GeometrySelection.

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

Gets the list of associated images.

property ImportedCondensedPart.ImportFileFormat : Ansys.Mechanical.DataModel.Enums.CondensedPartFileFormat | None

Gets or sets the ImportFileFormat.

property ImportedCondensedPart.ImportStatus : Ansys.Mechanical.DataModel.Enums.ImportedCondensedPartStatus | None

Gets the ImportStatus.

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

Gets the internal object. For advanced usage only.

property ImportedCondensedPart.NodeOffset : int | None

Gets or sets the NodeOffset.

property ImportedCondensedPart.NumberInterfaceEntries : int | None

Gets the NumberInterfaceEntries.

property ImportedCondensedPart.NumberMasterNodes : int | None

Gets the NumberMasterNodes.

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

Gets the Physics.

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

Gets the list of properties for this object.

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

Gets or sets the ReferenceTemperature.

property ImportedCondensedPart.SolutionName : str | None

Gets or sets the SolutionName.

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

Gets or sets the SolutionNameMode.

property ImportedCondensedPart.SolverFilesDirectory : str | None

Gets the SolverFilesDirectory.

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

Gets or sets the SolverUnitSystem.

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

Gets or sets the SolverUnits.

property ImportedCondensedPart.Suppressed : bool | None

Gets or sets the Suppressed.

property ImportedCondensedPart.TemperatureUnits : str | None

Gets the TemperatureUnits.

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

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

Method detail

ImportedCondensedPart.Activate()

Activate the current object.

ImportedCondensedPart.AddCommandSnippet()

Creates a new CommandSnippet

ImportedCondensedPart.AddComment()

Creates a new child Comment.

ImportedCondensedPart.AddFigure()

Creates a new child Figure.

ImportedCondensedPart.AddImage(filePath: str)

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.

ImportedCondensedPart.ClearGeneratedData()

Run the ClearGeneratedData action.

ImportedCondensedPart.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject)

Copies all visible properties from this object to another.

ImportedCondensedPart.CreateJointFromNodeIds(selectedNodeIds: Iterable[int])

CreateJointFromNodeIds method.

ImportedCondensedPart.CreateJoints(selectedInterfaceIDNumbers: Iterable[int])

CreateJoints method.

ImportedCondensedPart.CreateNodalNamedSelectionFromNodeIds(selectedNodeIds: Iterable[int])

CreateNodalNamedSelectionFromNodeIds method.

ImportedCondensedPart.CreateNodalNamedSelections(selectedInterfaceIDNumbers: Iterable[int])

CreateNodalNamedSelections method.

ImportedCondensedPart.CreateParameter(propName: str)

Creates a new parameter for a Property.

ImportedCondensedPart.CreateRemotePointFromNodeIds(selectedNodeIds: Iterable[int])

CreateRemotePointFromNodeIds method.

ImportedCondensedPart.CreateRemotePoints(selectedInterfaceIDNumbers: Iterable[int])

CreateRemotePoints method.

ImportedCondensedPart.Delete()

Run the Delete action.

ImportedCondensedPart.Duplicate()

Creates a copy of the current DataModelObject.

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

Gets the list of children, filtered by type.

ImportedCondensedPart.GetOriginalNodeCoordinates()

Get all the Node Locations of the Original Interfaces Data table.

ImportedCondensedPart.GetParameter(propName: str)

Gets the parameter corresponding to the given property.

ImportedCondensedPart.GetTransformedNodeCoordinates()

Get all the Node Locations of the Transformed Interfaces Data table.

ImportedCondensedPart.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

ImportedCondensedPart.GroupSimilarObjects()

Run the GroupSimilarObjects action.

ImportedCondensedPart.ImportCondensedPart()

Run the Import Condensed Part action.

ImportedCondensedPart.PropertyByAPIName(name: str)

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.

ImportedCondensedPart.PropertyByName(name: str)

Get a property by its unique name.

ImportedCondensedPart.ReadInterfaceData()

Run the Read Interface Data action.

ImportedCondensedPart.RemoveParameter(propName: str)

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

ImportedCondensedPart.UpdateNodeLocation(iNodeID: int, locX: Ansys.Core.Units.Quantity, locY: Ansys.Core.Units.Quantity, locZ: Ansys.Core.Units.Quantity, rotX: Ansys.Core.Units.Quantity, rotY: Ansys.Core.Units.Quantity, rotZ: Ansys.Core.Units.Quantity)

Update Node Location of Original Interfaces Data view table.