ansys.mapdl.core.Mapdl.knode#
- Mapdl.knode(npt='', node='', **kwargs)#
Defines a keypoint at an existing node location.
Mechanical APDL Command: KNODE
- Parameters:
- npt
str Arbitrary reference number for keypoint. If zero, the lowest available number is assigned ( numstr ).
- node
str Node number defining global X, Y, Z keypoint location. If
NODE= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forNODE.
- npt
- Returns:
intKeypoint number of the generated keypoint.
Examples
Create a keypoint at a node at (1, 2, 3)
>>> nnum = mapdl.n('', 1, 2, 3) >>> knum1 = mapdl.knode('', nnum) >>> knum1 1