*appendmark
Appends entities on a mark based on user supplied options.
Syntax
*appendmark entity_type mark_id ?"by model" <model_name>? ?"option"? list
Type
HyperMesh Tcl Modify Command
Description
Appends entities on a mark based on user supplied options.
In addition to the options below, all of the options for *createmark are also supported. See that topic for more details on those options, and general behaviors of both commands.
Inputs
- entity_type
- Entity type to use. Depending on the options specified, the supported entity types will change.
- mark_id
- The ID of the mark. Valid values are 1 and 2.
- "by model" <model_name>
- The optional model to append the mark from. If not specified, the current model is used.
- ?"options"?
Supported Options
- "by adjacent"
- Starting with entities already on the mark, find entities adjacent to them. The search is performed once.
- "by attached"
- Starting with entities already on the mark, find entities adjacent to them. This search is repeated until all adjacent entities are found.
- "by face"
- Starting with entities already on the mark, find entities on the same face.
- "by face across t junctions"
- Starting with entities already on the mark, find entities on the same face, including those across t-junctions.
- "by opposite"
- Starting with surfaces already on the mark, find entities on the opposite side of thin solids.
Examples
*createmark elems 1 "by comp name" FRONT SIDE
*createmark elems 2 "[hm_getmark elems 1]"
*appendmark elems 1 "by adjacent"
*markdifference elems 1 elems 2
*deletemark elems 1
*createmark elems 1 40404
*appendmark elems 1 "by attached"
*createvector 1 1.0 0.0 0.0
*translatemark elements 1 1 5
*createmark elems 1 50 100
*appendmark elems 1 "by face"
*createmark elems 1 "by model" model-2 50 100
*appendmark elems 1 "by model" model-2 "by face"
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2017.1 - Added new "by topology" method.
2020 - Added new methods "by list", "by list id", "by list name" and "by opposite". Added new option "by model".
2020.1 - Added new methods "by subsystem", "by subsystem id" and "by subsystem name".