*linemarkremovepinholes

Removes 2D holes in the geometry, that has single boundary line, by filling it with surface. Optionally, one can create a vertex point at the center of the hole.

Syntax

*linemarkremovepinholes mark_id exclude_point

Type

HyperMesh Tcl Modify

Description

Removes 2D holes in the geometry. The holes are supposed to have only one boundary line. The command removes these holes by filling it with surface. When possible, the new surface is created without any boundary, thus the surrounding surface just extends to fill the hole. Otherwise, the boundary of the new surface is suppressed so that it becomes a single surface together with its surrounding surface.

Inputs

mark_id
The ID of the mark containing the input lines defining the hole perimiters. Valid values are 1 and 2.
exclude_point
0 - Create a point at the center of the hole.
1 - Do not create a point at the center of the hole.

Examples

To remove the holes that are bounded by lines 20 and 21, creating a vertex point at their center:

*createmark lines 2 20 21
*linemarkremovepinholes 2 0

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

2019