sdelete#

CrossSections.sdelete(sfirst='', slast='', sinc='', knoclean='', lchk='', **kwargs)#

Deletes sections from the database.

Mechanical APDL Command: SDELETE

Parameters:
sfirststr

First section ID to be deleted; defaults to first available section in the database.

slaststr

Last section ID to be deleted; defaults to last available section in the database.

sincstr

Increment of the section ID; defaults to 1.

knocleanint or str

Pretension element cleanup key (pretension sections only).

  • 0 - Perform cleanup of PRETS179 pretension elements (delete pretension elements and reconnect elements split during psmesh ).

  • 1 - Do not perform cleanup.

lchkstr

Specifies the level of element-associativity checking:

  • NOCHECK - No element-associativity check occurs. This option is the default.

  • WARN - When a section, material, or real constant is associated with an element, the program issues a message warning that the necessary entity has been deleted.

  • CHECK - The command terminates, and no section, material, or real constant is deleted if it is associated with an element.

Notes

Deletes one or more specified sections and their associated data from the Mechanical APDL database.