hm_editcard
Launches the Card Editor to edit a specific entity or mark of entities.
Syntax
hm_editcard entity_type mark_id ?config? ?type? ?card_image?
Type
HyperMesh Tcl GUI Command
Description
This command launches the HyperMesh Card Editor to allow editing of a specific entity or mark of entities.
Inputs
- entity_type
- The type of entity to card edit.
- mark_id
- The ID of the mark containing the entity or entities. Valid values are 1 and 2.
- ?config?
- The entity's configuration number. This is only required for entities that have a configuration number.
- ?type?
- The entity's solver type number. This is only required for entities that have a type number.
- ?card_image?
- The name of the card image to load.
Example
To edit element 100:
*createmark elems 1 100
hm_editcard elems 1
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}