*entitybundleremoveid
Removes a single entity from a data item of a bundle.
Syntax
*entitybundleremoveid name data_item id
Type
HyperMesh Tcl Modify Command
Description
Removes a single entity from a data item of a 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.
- id
- The ID of the entity to remove. Note that the entity type is inferred from the bundle definition.
Examples
To remove entity ID 17 as the first data item of the bundle "compbundle":
*entitybundleremoveid "compbundle" 0 17
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