.. _eleForce: eleForce Command **************** This command returns the forces at the nodes of an element, in the global coordinate system, i.e. the forces the element applies to its nodes. .. tabs:: .. tab:: Tcl .. function:: eleForce $eleTag <$dof> .. tab:: Python .. code-block:: python forces = ops.eleForce(eleTag, dof) .. csv-table:: :header: "Argument", "Type", "Description" :widths: 10, 10, 40 $eleTag, |integer|, tag of the element $dof, |integer|, "position of the value in the list of element forces, starting at 1 (optional: default = all)" .. note:: #. Without **$dof**, the command returns a list of the forces at every degree-of-freedom of the element, node by node: the forces at the first node, then at the second node, and so on. #. For forces in the local coordinate system, or other element responses, use :ref:`eleResponse`. .. admonition:: Example: The following example sets the variable **forces** to the global end forces of element **1**. .. tabs:: .. tab:: Tcl .. code-block:: tcl set forces [eleForce 1] .. tab:: Python .. code-block:: python forces = ops.eleForce(1) Code Developed by: |fmk|