*EntityPreviewEmpty

Searches the entities specified and stores any empty entities in the outputmark.

Syntax

*EntityPreviewEmpty entity type outputmark

Type

HyperMesh Tcl Modify Command

Description

Searches the entities specified and stores any empty entities in the outputmark.

Inputs

entity type
The entity type to check.
outputmark
The empty entities IDs.

Example

To store all empty components in the mark:
*EntityPreviewEmpty(comps, mark)
The following elements can be used with *EntityPreviewEmpty():
Components
Empty when it does not contain any elements, lines, points, surfaces, or attributes.
Plots
Empty when there are no curves are in the plot.
Assemblies
Empty when it does not contain any components.
Outputblocks
Empty when it does not contain any entities.
Loadsteps
Empty when it does not contain any entities.
Groups
Empty when both the master and slave sections are empty.

If the master section does not exist for this interface type, then the master section is empty. If the master section does exist and it is set to components, elements, or sets, a check is done to see if it points to any entities. If it does not point to any entities, the master section is empty. Also, if the master section points to any other type (such as box or all), it is assumed that the master is not empty.

The same check is done for the slave section.
LoadCols
Empty when it does not contain any loads.
BeamSectCols
Empty when it does not contain any beamsects.
SystemCols
Empty when it does not contain any systems.
VectorCols
Empty when it does not contain any vectors.
Sets
Empty when it does not contain any entities.