EMTransducer#

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

Bases: object

Defines a EMTransducer.

Overview#

Activate

Activate the current object.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

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.

GetActivateAtLoadStep

Gets whether the EM transducer is active at the specified load step.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

GetComponentActivateAtLoadStep

GetComponentActivateAtLoadStep method.

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.

PromoteToNamedSelection

Run the PromoteToNamedSelection action.

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.

SetActivateAtLoadStep

Sets whether the EM transducer is active at the specified load step.

SetComponentActivateAtLoadStep

SetComponentActivateAtLoadStep method.

ToString

ToString method.

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

ClsId

ClsId property.

Comments

Gets the list of associated comments.

CoordinateSystem

Gets the CoordinateSystem.

DataModelObjectCategory

Gets the current DataModelObject's category.

Figures

Gets the list of associated figures.

GAPDirection

Gets or sets the GAPDirection.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

Images

Gets the list of associated images.

ImportableObjectSourceId

ImportableObjectSourceId property.

IndependentVariable

Gets or sets the IndependentVariable.

InitialGap

Gets or sets the InitialGap.

InternalObject

Gets the internal object. For advanced usage only.

Location

Gets or sets the Location.

MinimalGap

Gets or sets the MinimalGap.

Name

Name property.

NumberOfSegments

Gets or sets the NumberOfSegments.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Properties

Gets the list of properties for this object.

ReadOnly

Gets or sets the ReadOnly.

SharedRefBody

Gets or sets the SharedRefBody.

State

State property.

StiffnessMethod

Gets or sets the StiffnessMethod.

Suppressed

Gets or sets the Suppressed.

TransferableObjectId

TransferableObjectId property.

VisibleProperties

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

VoltageDifference

Gets the VoltageDifference.

ZCoordinate

Gets or sets the ZCoordinate.

Property detail#

property EMTransducer.AttachedRefs: List[int] | None#

AttachedRefs property.

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

Gets the list of children.

property EMTransducer.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

property EMTransducer.CoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#

Gets the CoordinateSystem.

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

Gets the current DataModelObject's category.

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

Gets the list of associated figures.

property EMTransducer.GAPDirection: Ansys.Mechanical.DataModel.Enums.GAPDirectionType | None#

Gets or sets the GAPDirection.

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

GroupingFolder property.

property EMTransducer.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property EMTransducer.ImportableObjectSourceId: str | None#

ImportableObjectSourceId property.

property EMTransducer.IndependentVariable: Ansys.Mechanical.DataModel.Enums.LoadVariableVariationType | None#

Gets or sets the IndependentVariable.

property EMTransducer.InitialGap: Ansys.Core.Units.Quantity | None#

Gets or sets the InitialGap.

property EMTransducer.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSLoadAuto | None#

Gets the internal object. For advanced usage only.

property EMTransducer.Location: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the Location.

property EMTransducer.MinimalGap: Ansys.Core.Units.Quantity | None#

Gets or sets the MinimalGap.

property EMTransducer.Name: str | None#

Name property.

property EMTransducer.NumberOfSegments: int | None#

Gets or sets the NumberOfSegments.

property EMTransducer.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

property EMTransducer.ReadOnly: bool | None#

Gets or sets the ReadOnly.

property EMTransducer.SharedRefBody: Ansys.ACT.Automation.Mechanical.Body | None#

Gets or sets the SharedRefBody.

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

State property.

property EMTransducer.StiffnessMethod: Ansys.Mechanical.DataModel.Enums.StiffnessMethodType | None#

Gets or sets the StiffnessMethod.

property EMTransducer.Suppressed: bool | None#

Gets or sets the Suppressed.

property EMTransducer.TransferableObjectId: str | None#

TransferableObjectId property.

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

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

property EMTransducer.VoltageDifference: Ansys.ACT.Mechanical.Fields.Field | None#

Gets the VoltageDifference.

property EMTransducer.ZCoordinate: Ansys.Core.Units.Quantity | None#

Gets or sets the ZCoordinate.

Method detail#

EMTransducer.Activate() None#

Activate the current object.

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

Creates a new child Comment.

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

Creates a new child Figure.

EMTransducer.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.
EMTransducer.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

EMTransducer.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

EMTransducer.GetAPIName(dispId: int) str#

Property name bound to dispId.

EMTransducer.GetActivateAtLoadStep(stepNumber: int) bool#

Gets whether the EM transducer is active at the specified load step.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

EMTransducer.GetComponentActivateAtLoadStep(component: str, stepNumber: int) bool#

GetComponentActivateAtLoadStep method.

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

GetDetailsView method.

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

Enum name bound to value

EMTransducer.GetHashCode() int#

GetHashCode method.

EMTransducer.GetIconFile() System.Byte#

GetIconFile method.

EMTransducer.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

EMTransducer.GetPath() str#

GetPath method.

EMTransducer.GetPropertyName(dispId: int) str#

GetPropertyName method.

EMTransducer.GetPropertyValue(name: str) Any#

GetPropertyValue method.

EMTransducer.GetType() type#

GetType method.

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

GetVisibleProperties method.

EMTransducer.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

EMTransducer.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

EMTransducer.InitializeLifetimeService() Any#

InitializeLifetimeService method.

EMTransducer.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

EMTransducer.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

EMTransducer.PromoteToNamedSelection() Iterable[Ansys.ACT.Automation.Mechanical.NamedSelection]#

Run the PromoteToNamedSelection action.

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

PropertyById method.

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

Get a property by its unique name.

EMTransducer.RemoveParameter(propName: str) None#

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

EMTransducer.SetActivateAtLoadStep(stepNumber: int, bActive: bool) None#

Sets whether the EM transducer is active at the specified load step.

EMTransducer.SetComponentActivateAtLoadStep(component: str, stepNumber: int, bActive: bool) None#

SetComponentActivateAtLoadStep method.

EMTransducer.ToString() str#

ToString method.