Skip to main content

Mechanical scripting interface

CommandElement

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.FE.CDB.CommandElement

Bases: object

Represents an element associated to an EBLOCK command.

Overview

Properties

Name Description
Csys Gets the coordinate system number.
ElementShapeFlag Gets the element shape flag used for contact element types.
Id Gets the element number.
Mat Gets the material number.
NodeCount Gets the number of nodes.
Nodes Gets the nodes.
Real Gets the real constant set number.
Section Gets the section number.
Type Gets the element type number.

Property detail

property CommandElement.Csys : int | None

Gets the coordinate system number.

property CommandElement.ElementShapeFlag : int | None

Gets the element shape flag used for contact element types.

property CommandElement.Id : int | None

Gets the element number.

property CommandElement.Mat : int | None

Gets the material number.

property CommandElement.NodeCount : int | None

Gets the number of nodes.

property CommandElement.Nodes : tuple[int] | None

Gets the nodes.

property CommandElement.Real : int | None

Gets the real constant set number.

property CommandElement.Section : int | None

Gets the section number.

property CommandElement.Type : int | None

Gets the element type number.