Skip to main content

class Ansys.ACT.Automation.Mechanical.ImportedMpcs

Bases: object Defines an Imported Multi Point Constaints (MPC) object.

Overview

Methods

Properties

Property detail

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

Gets the list of children.

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

Gets the list of associated comments.

property ImportedMpcs.Count : int | None

Gets the NumberOfRows.

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

Gets the current DataModelObject’s category.

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

Gets the list of associated figures.

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

Gets the list of associated images.

property ImportedMpcs.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSExternalModelDataCollAuto | None

Gets the internal object. For advanced usage only.

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

Gets the list of properties for this object.

property ImportedMpcs.ReadOnly : bool | None

Gets or sets the ReadOnly.

property ImportedMpcs.Suppressed : bool | None

Gets or sets the Suppressed.

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

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

Method detail

ImportedMpcs.Activate() → None

Activate the current object.

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

Creates a new child Comment.

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

Creates a new child Figure.

ImportedMpcs.AddImage(filePath: str) → Ansys.ACT.Automation.Mechanical.Image

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

Copies all visible properties from this object to another.

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

Creates a new parameter for a Property.

ImportedMpcs.Delete() → None

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Gets the list of children, filtered by type.

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

Gets the parameter corresponding to the given property.

ImportedMpcs.GroupAllSimilarChildren() → None

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

ImportedMpcs.PropertyByAPIName(name: str) → Ansys.ACT.Automation.Mechanical.Property

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

Get a property by its unique name.

ImportedMpcs.RemoveParameter(propName: str) → None

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