*entitybundleclear
Removes all entities either from a single data item of an or from all the data items of an entitybundle.
Syntax
*entitybundleclear name data_item
Type
HyperMesh Tcl Modify
Description
Removes all entities either from a single data item of an or from all the data items of an entitybundle.
Inputs
- name
- The name of the entity bundle to be modified.
- data_item
- The data item of the entity bundle to be cleared. Note that these indices start with 0. If set to -1, all data items are cleared.
Examples
To clear all the data stored in the first data item of the entity bundle "compbundle":
*entitybundleclear "compbundle" 0
*entitybundleclear "compbundle" -1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0.130