CondensedPartBase#

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

Bases: object

Defines a CondensedPartBase.

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.

Duplicate

Creates a copy of the current DataModelObject.

Equals

Equals method.

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.

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.

GeometrySelection

Gets or sets the GeometrySelection.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

Name

Name property.

NumberInterfaceEntries

Gets the NumberInterfaceEntries.

NumberMasterNodes

Gets the NumberMasterNodes.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

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.

State

State property.

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

AttachedRefs property.

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

Gets the list of children.

property CondensedPartBase.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

property CondensedPartBase.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#

Gets the current DataModelObject's category.

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

Gets the list of associated figures.

property CondensedPartBase.GeometrySelection: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the GeometrySelection.

property CondensedPartBase.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

property CondensedPartBase.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property CondensedPartBase.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSCondensedPartAuto | None#

Gets the internal object. For advanced usage only.

property CondensedPartBase.Name: str | None#

Name property.

property CondensedPartBase.NumberInterfaceEntries: int | None#

Gets the NumberInterfaceEntries.

property CondensedPartBase.NumberMasterNodes: int | None#

Gets the NumberMasterNodes.

property CondensedPartBase.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

property CondensedPartBase.Physics: Ansys.Mechanical.DataModel.Enums.CondensedPartPhysics | None#

Gets the Physics.

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

Gets the list of properties for this object.

property CondensedPartBase.ReferenceTemperature: Ansys.Core.Units.Quantity | None#

Gets or sets the ReferenceTemperature.

property CondensedPartBase.SolutionName: str | None#

Gets or sets the SolutionName.

property CondensedPartBase.SolutionNameMode: Ansys.Mechanical.DataModel.Enums.AutomaticOrManual | None#

Gets or sets the SolutionNameMode.

property CondensedPartBase.SolverFilesDirectory: str | None#

Gets the SolverFilesDirectory.

property CondensedPartBase.SolverUnitSystem: Ansys.Mechanical.DataModel.Enums.WBUnitSystemType | None#

Gets or sets the SolverUnitSystem.

property CondensedPartBase.SolverUnits: Ansys.Mechanical.DataModel.Enums.SolverUnitsControlType | None#

Gets or sets the SolverUnits.

property CondensedPartBase.State: Ansys.Mechanical.DataModel.Enums.Legacy.State | None#

State property.

property CondensedPartBase.Suppressed: bool | None#

Gets or sets the Suppressed.

property CondensedPartBase.TemperatureUnits: str | None#

Gets the TemperatureUnits.

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

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

Method detail#

CondensedPartBase.Activate() None#

Activate the current object.

CondensedPartBase.AddCommandSnippet() Ansys.ACT.Automation.Mechanical.CommandSnippet#

Creates a new CommandSnippet

CondensedPartBase.AddComment() Ansys.ACT.Automation.Mechanical.Comment#

Creates a new child Comment.

CondensedPartBase.AddFigure() Ansys.ACT.Automation.Mechanical.Figure#

Creates a new child Figure.

CondensedPartBase.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.
CondensedPartBase.ClearGeneratedData() None#

Run the ClearGeneratedData action.

CondensedPartBase.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

CondensedPartBase.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

CondensedPartBase.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Creates a new parameter for a Property.

CondensedPartBase.Delete() None#

Run the Delete action.

CondensedPartBase.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#

Creates a copy of the current DataModelObject.

CondensedPartBase.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

CondensedPartBase.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

CondensedPartBase.GetHashCode() int#

GetHashCode method.

CondensedPartBase.GetIconFile() System.Byte#

GetIconFile method.

CondensedPartBase.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

CondensedPartBase.GetPath() str#

GetPath method.

CondensedPartBase.GetPropertyName(dispId: int) str#

GetPropertyName method.

CondensedPartBase.GetPropertyValue(name: str) Any#

GetPropertyValue method.

CondensedPartBase.GetType() type#

GetType method.

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

GetVisibleProperties method.

CondensedPartBase.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

CondensedPartBase.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

CondensedPartBase.InitializeLifetimeService() Any#

InitializeLifetimeService method.

CondensedPartBase.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

CondensedPartBase.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

CondensedPartBase.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

CondensedPartBase.RemoveParameter(propName: str) None#

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

CondensedPartBase.ToString() str#

ToString method.