*entitybundleaddmark
Adds the entities on a mark to a data item of an entity bundle.
Syntax
*entitybundleaddmark name data_item entity_type mark_id
Type
HyperMesh Tcl Modify Command
Description
Adds the entities on a mark to 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. This, currently, 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 add to the bundle. Valid values are 1 and 2.
Example
To add all comps in the model to the first data item of the bundle "compbundle":
*createmark components 1 all
*entitybundleaddmark "compbundle" 0 components 1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0.130