NodeMove#

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

Bases: object

Defines a NodeMove.

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.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

GetDetailsView

GetDetailsView method.

GetEnumName

Enum name bound to value

GetEnumerator

GetEnumerator method.

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.

MorphNodes

Morph all the nodes.

MoveNode

Moves a node to a new specified location. The given locX, locY, and locZ values will be converted to the unit system the mesh is stored in, and the given node will be moved to that absolute location.

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.

UndoAllNodeMoves

Undos all moves done to a node.

UndoLastNodeMove

Undos the last move done to a node.

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

ClsId

ClsId property.

Comments

Gets the list of associated comments.

Count

Gets the number of nodes moved.

DataModelObjectCategory

Gets the current DataModelObject's category.

Figures

Gets the list of associated figures.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

Images

Gets the list of associated images.

ImportableObjectSourceId

ImportableObjectSourceId property.

Information

Gets the Information.

InternalObject

Gets the internal object. For advanced usage only.

Item

Item property.

Name

Name property.

NumberOfMoves

Gets the NumberOfMoves.

NumberOfNodes

Gets the NumberOfNodes.

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.

State

State property.

TransferableObjectId

TransferableObjectId property.

VisibleProperties

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

Property detail#

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

AttachedRefs property.

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

Gets the list of children.

property NodeMove.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

property NodeMove.Count: int | None#

Gets the number of nodes moved.

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

Gets the current DataModelObject's category.

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

Gets the list of associated figures.

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

GroupingFolder property.

property NodeMove.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property NodeMove.ImportableObjectSourceId: str | None#

ImportableObjectSourceId property.

property NodeMove.Information: Ansys.Mechanical.DataModel.Enums.NodeMoveInformationType | None#

Gets the Information.

property NodeMove.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSNodeMoveAuto | None#

Gets the internal object. For advanced usage only.

property NodeMove.Item: Ansys.ACT.Automation.Mechanical.NodeMoveEntry | None#

Item property.

property NodeMove.Name: str | None#

Name property.

property NodeMove.NumberOfMoves: int | None#

Gets the NumberOfMoves.

property NodeMove.NumberOfNodes: int | None#

Gets the NumberOfNodes.

property NodeMove.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

property NodeMove.ReadOnly: bool | None#

Gets or sets the ReadOnly.

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

State property.

property NodeMove.TransferableObjectId: str | None#

TransferableObjectId property.

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

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

Method detail#

NodeMove.Activate() None#

Activate the current object.

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

NodeMove.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

NodeMove.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

NodeMove.GetEnumerator() Ansys.ACT.Automation.Mechanical.NodeMoveEnumerator#

GetEnumerator method.

NodeMove.GetHashCode() int#

GetHashCode method.

NodeMove.GetIconFile() System.Byte#

GetIconFile method.

NodeMove.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

NodeMove.GetPath() str#

GetPath method.

NodeMove.GetPropertyName(dispId: int) str#

GetPropertyName method.

NodeMove.GetPropertyValue(name: str) Any#

GetPropertyValue method.

NodeMove.GetType() type#

GetType method.

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

GetVisibleProperties method.

NodeMove.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

NodeMove.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

NodeMove.InitializeLifetimeService() Any#

InitializeLifetimeService method.

NodeMove.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

NodeMove.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

NodeMove.MorphNodes() None#

Morph all the nodes.

NodeMove.MoveNode(nodeId: int, locX: Ansys.Core.Units.Quantity, locY: Ansys.Core.Units.Quantity, locZ: Ansys.Core.Units.Quantity) None#

Moves a node to a new specified location. The given locX, locY, and locZ values will be converted to the unit system the mesh is stored in, and the given node will be moved to that absolute location.

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

PropertyById method.

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

Get a property by its unique name.

NodeMove.RemoveParameter(propName: str) None#

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

NodeMove.ToString() str#

ToString method.

NodeMove.UndoAllNodeMoves() None#

Undos all moves done to a node.

NodeMove.UndoLastNodeMove() None#

Undos the last move done to a node.