def ldele(self, nl1="", nl2="", ninc="", kswp="", **kwargs):
    """Deletes unmeshed lines.

    APDL Command: LDELE

    Parameters
    ----------
    nl1, nl2, ninc
        Delete lines from NL1 to NL2 (defaults to NL1) in steps of NINC
        (defaults to 1).  If NL1 = ALL, NL2 and NINC are ignored and all
        selected lines [LSEL] are deleted.  If NL1 = P, graphical picking
        is enabled and all remaining command fields are ignored (valid only
        in the GUI).  A component name may also be substituted for NL1 (NL2
        and NINC are ignored).

    kswp
        Specifies whether keypoints are also to be deleted:

        0 - Delete lines only.

        1 - Delete lines, as well as keypoints attached to lines but not attached to other
            lines.

    Notes
    -----
    A line attached to an area cannot be deleted unless the area is first
    deleted.
    """
    command = f"LDELE,{nl1},{nl2},{ninc},{kswp}"
    return self.run(command, **kwargs)