NodeMove#

class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.NodeMove#

Bases: object

Defines a NodeMove.

Overview#

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.

UndoAllNodeMoves

Undos all moves done to a node.

UndoLastNodeMove

Undos the last move done to a node.

MorphNodes

Morph all the nodes.

Delete

Run the Delete action.

GetChildren

Gets the list of children, filtered by type.

GetChildren

Gets the list of children, filtered by type.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

Activate

Activate the current object.

CopyTo

Copies all visible properties from this object to another.

Duplicate

Creates a copy of the current DataModelObject.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

PropertyByName

Get a property by its unique name.

PropertyByAPIName

Get a property by its API name.

CreateParameter

Creates a new parameter for a Property.

GetParameter

Gets the parameter corresponding to the given property.

RemoveParameter

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

InternalObject

Gets the internal object. For advanced usage only.

NumberOfMoves

Gets the NumberOfMoves.

NumberOfNodes

Gets the NumberOfNodes.

Information

Gets the Information.

DataModelObjectCategory

Gets the current DataModelObject’s category.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

Figures

Gets the list of associated figures.

Images

Gets the list of associated images.

ReadOnly

Gets or sets the ReadOnly.

InternalObject

Gets the internal object. For advanced usage only.

Properties

Gets the list of properties for this object.

VisibleProperties

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

Property detail#

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

Gets the internal object. For advanced usage only.

property NodeMove.NumberOfMoves: System.UInt32 | None

Gets the NumberOfMoves.

property NodeMove.NumberOfNodes: System.UInt32 | None

Gets the NumberOfNodes.

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

Gets the Information.

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

Gets the current DataModelObject’s category.

property NodeMove.Children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets the list of children.

property NodeMove.Comments: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Comment] | None

Gets the list of associated comments.

property NodeMove.Figures: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Figure] | None

Gets the list of associated figures.

property NodeMove.Images: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Image] | None

Gets the list of associated images.

property NodeMove.ReadOnly: System.Boolean | None

Gets or sets the ReadOnly.

property NodeMove.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

property NodeMove.Properties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties for this object.

property NodeMove.VisibleProperties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

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

Method detail#

NodeMove.MoveNode(nodeId: System.Int32, locX: Ansys.Core.Units.Quantity, locY: Ansys.Core.Units.Quantity, locZ: Ansys.Core.Units.Quantity) System.Void

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.UndoAllNodeMoves() System.Void

Undos all moves done to a node.

NodeMove.UndoLastNodeMove() System.Void

Undos the last move done to a node.

NodeMove.MorphNodes() System.Void

Morph all the nodes.

NodeMove.Delete() System.Void

Run the Delete action.

NodeMove.GetChildren(recurses: System.Boolean, children: System.Collections.Generic.IList[ChildrenType]) System.Collections.Generic.IList[ChildrenType]

Gets the list of children, filtered by type.

NodeMove.GetChildren(category: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory, recurses: System.Boolean, children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]) System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]

Gets the list of children, filtered by type.

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: System.String) 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.Activate() System.Void

Activate the current object.

NodeMove.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) System.Void

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

NodeMove.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

NodeMove.PropertyByName(name: System.String) Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

NodeMove.PropertyByAPIName(name: System.String) 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.CreateParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

NodeMove.GetParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

NodeMove.RemoveParameter(propName: System.String) System.Void

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