*createentity
Create a new entity with specified data.
Syntax
*createentity entity_type ?modelname=<name_of_model>? ?name1=value1? ?name2=value2? ... ?name3=valueN?
Type
HyperMesh Tcl Modify Command
Description
Create a new entity with specified data. Data names only are allowed to be set.
- Attributes are not supported.
- STATUS is not supported.
Inputs
- entity_type
- Entity type to create.
- <name>=<value>
- The name=value data name and/or attribute pairs that define the relevant data for the entity. For attributes, this can be either the attribute name or ID.
- modelname=<name_of_model>
- This is the optional model name to update when there are multiple models in the database. If not specified, the current model is used.
Examples
*createentity sets
*createentity sets type=nodes ids={1 2 3 4}
*createentity sets name=set1 cardimage=GRNOD
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
13.0
2020.1 - Added new option modelname.