*sketchproject
Projects line and surface entities into the sketch work plane along the normal direction.
Syntax
*sketchproject sketch_id entity_type mark_id ?create_entities? ?only_displayed?
Type
HyperMesh Tcl Modify Command
Description
Projects the line and surface entities into the sketch work plane along the normal direction.
Inputs
- sketch_id
- The ID of the sketch entity.
- entity_type
- The type of selected entities. Valid values are lines, points, surfaces, topolines, and topopoints.
- mark_id
- The ID of the mark containing the entities. Valid values are 1 and 2.
- create_entities
- 0 - Projected curves are added as guide curves in the sketch.
- only_displayed
- 0 - All entities in the input mark are considered.
Examples
To project surface ID 8 onto sketch ID 1 and add it as a sketch
geometry:
*createmark surfaces 1 8
*sketchproject 1 surfaces 1 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
2021.2