*surfmark_trim_by_elemmark

Trims the selected surfaces by selected elements using input lines or edges as reference.

Syntax

*surfmark_trim_by_elemmark input_surf_mark=<value> trim_elem_mark=<value> ?ref_line_mark=<value>?

Type

HyperMesh Tcl Modify Command

Description

Trims the selected surfaces by selected elements using input lines or edges as reference.

Inputs

input_surf_mark=<value>
The ID of the mark of surfaces to trim. Valid values are 1 and 2.
trim_elem_mark=<value>
The ID of the mark of elements to use as the trimmer. Valid values are 1 and 2.
ref_line_mark=<value>
The ID of the mark containing the lines or edges used as a reference to identify which part of the surfaces to trim out. Valid values are 1 and 2.

Examples

To trim surface 3425 by a selection of elements, and keeping the portion of the surface which has an edge overlapping (partially or fully) with line 255495:

*createmark lines 1 355495
*createmark surfaces 2 3425
*createmark elements 2 175323 175313 175309 175307 175304 175303 175301\ 175299 175298 175297 175296 175295 175293 175292 175291 175290 175289 175287
*surfmark_trim_by_elemmark input_surf_mark=2 ref_line_mark=1 trim_elem_mark=2

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

2021