*surfacecreatetangentfromedges
Create surfaces extending in the tangent direction from the surfaces along selected edges.
Syntax
*surfacecreatetangentfromedges mark_id distance extend_mode component
Type
HyperMesh Tcl Modify Command
Description
Create surfaces extending in the tangent direction from the surfaces along selected edges. The new surfaces are created by dragging these surface edges along the tangent direction of the surfaces to which the main edges belong. The newly created surfaces and the original surfaces are tangent to each other along the input edges.
Inputs
- mark_id
- The ID of the mark containing the surface edges to use. Valid values are 1 and 2.
- distance
- The distance to extend the selected lines along the tangent direction.
- extend_mode
- 0 - At the end of a chain of edges, the extension is done in the normal direction from the end edge
- component
- 0 - New elements go to current component
Example
Create surfaces extending tangently from edges 75 and 68 by a distance of 12, with the new surfaces created in the same component as the input edges:
*createmark lines 1 75 68
*surfacecreatetangentfromedges 1 12.0 0 1
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.1