# e¶

Mapdl.e(i='', j='', k='', l='', m='', n='', o='', p='', **kwargs)

Defines an element by node connectivity.

APDL Command: E

Parameters
• i (`Union`[`str`, `int`]) – Number of node assigned to first nodal position (node `i`).

• j (`Union`[`str`, `int`]) – Number assigned to second (node `j`) through eighth (node `p`) nodal position, if any.

• k (`Union`[`str`, `int`]) – Number assigned to second (node `j`) through eighth (node `p`) nodal position, if any.

• l (`Union`[`str`, `int`]) – Number assigned to second (node `j`) through eighth (node `p`) nodal position, if any.

• m (`Union`[`str`, `int`]) – Number assigned to second (node `j`) through eighth (node `p`) nodal position, if any.

• n (`Union`[`str`, `int`]) – Number assigned to second (node `j`) through eighth (node `p`) nodal position, if any.

• o (`Union`[`str`, `int`]) – Number assigned to second (node `j`) through eighth (node `p`) nodal position, if any.

• p (`Union`[`str`, `int`]) – Number assigned to second (node `j`) through eighth (node `p`) nodal position, if any.

Examples

Create a single SURF154 element.

```>>> mapdl.prep7()
>>> mapdl.et(1, 'SURF154')
>>> mapdl.n(1, 0, 0, 0)
>>> mapdl.n(2, 1, 0, 0)
>>> mapdl.n(3, 1, 1, 0)
>>> mapdl.n(4, 0, 1, 0)
>>> mapdl.e(1, 2, 3, 4)
1
```

Create a single hexahedral SOLID185 element

```>>> mapdl.et(2, 'SOLID185')
>>> mapdl.type(2)
>>> mapdl.n(5, 0, 0, 0)
>>> mapdl.n(6, 1, 0, 0)
>>> mapdl.n(7, 1, 1, 0)
>>> mapdl.n(8, 0, 1, 0)
>>> mapdl.n(9, 0, 0, 1)
>>> mapdl.n(10, 1, 0, 1)
>>> mapdl.n(11, 1, 1, 1)
>>> mapdl.n(12, 0, 1, 1)
>>> mapdl.e(5, 6, 7, 8, 9, 10, 11, 12)
2
```

Notes

Defines an element by its nodes and attribute values. Up to 8 nodes may be specified with the `e()` command. If more nodes are needed for the element, use the `emore()` command. The number of nodes required and the order in which they should be specified are described in Chapter 4 of the Element Reference for each element type. Elements are automatically assigned a number [NUMSTR] as generated. The current (or default) MAT, TYPE, REAL, SECNUM and ESYS attribute values are also assigned to the element.

When creating elements with more than 8 nodes using this command and the EMORE command, it may be necessary to turn off shape checking using the SHPP command before issuing this command. If a valid element type can be created without using the additional nodes on the `emore()` command, this command will create that element. The `emore()` command will then modify the element to include the additional nodes. If shape checking is active, it will be performed before the `emore()` command is issued. Therefore, if the shape checking limits are exceeded, element creation may fail before the `emore()` command modifies the element into an acceptable shape.

Return type

`Optional`[`int`]