*entitybundleremovemark

Removes the entities on a mark from a data item of an entity bundle.

Syntax

*entitybundleremovemark name data_item entity_type mark_id

Type

HyperMesh Tcl Modify Command

Description

Removes the entities on a mark from a data item of an entity bundle.

Inputs

name
The name of the entity bundle to be modified.
data_item
The data item of the entity bundle to be modified. Note that these indices start with 0.
entity_type
The entity type of the mark to be used. Currently, this must match the entity type for the data item as was specified in the definition of the entity bundle.
mark_id
The ID of the mark containing the entities to remove from the bundle. Valid values are 1 and 2.

Examples

To remove all comps in the model from the first data item of the bundle "compbundle":

*createmark components 1 all
*entitybundleremovemark "compbundle" 0 components 1

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

14.0.130