*reflectmarkwithoption
Reflects a selection of entities about a plane with an option to specify how to handle bar elements.
Syntax
*reflectmarkwithoption entity_type mark_id plane_id option
Type
HyperMesh Tcl Modify Command
Description
This command reflects a selection of entities about a plane.
Inputs
- entity_type
- The type of entity to reflect.
- mark_id
- The ID of the mark containing the entities. Valid values are 1 and 2.
- plane_id
- The ID of the plane to use for the reflection. This is defined using the *createplane command.
- option
- 0 - Maintain the z-axis of bar elements during reflection.
Example
To reflect element 15 about a plane normal to the x-axis with its base at the origin by maintaining the z-axis:
*createplane 1 1.0 0.0 0.0 0.0 0.0 0.0
*createmark elems 1 15
*reflectmarkwithoption elems 1 1 0
To reflect element 15 about a plane normal to the x-axis with its base at the origin by maintaining the element connectivity:
*createplane 1 1.0 0.0 0.0 0.0 0.0 0.0
*createmark elems 1 15
*reflectmarkwithoption elems 1 1 1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}