*deletesolidswithelems

Deletes solids. Includes the option to keep boundary surfaces, and an option to keep attached elements.

Syntax

*deletesolidswithelems mark keep_shell keep_elems

Type

HyperMesh Tcl Modify

Description

Deletes solids. Includes the option to keep boundary surfaces, and an option to keep attached elements.

Inputs

mark
The mark containing the solids that you want to delete.
keep_shell
If zero, solids are deleted along with their connected boundary surfaces (except any surfaces connected to other solids that are not being deleted).
If set to any nonzero value, the surfaces that make the boundary of each solid are not deleted.
keep_elems
Overrides the auto delete elements setting in the options panel.
If set to zero, elements associated with solids will be deleted along with the solids.
If set to any nonzero value, such elements will not be deleted.

Examples

To delete solid with ID 5 and keep its boundary surfaces, but delete elements:
*createmark(solids, 1) 5
*deletesolidswithelems(1,1,0)