*nodemarkclear

Deletes temporary nodes and preserved nodes.

Syntax

*nodemarkclear node_mark=<mark_id> clearTempNodes=<value> clearPreservedNodes=<value>

Type

HyperMesh Tcl Modify Command

Description

The command removes temporary nodes if clearTempNodes is set to 1 and converts preserved nodes to regular nodes if clearPreservedNodes is set to 1. The preserved nodes which are not element nodes will simply be removed.

Inputs

node_mark=<mark_id>
The ID of the mark containing the input nodes. Valid values are 1 and 2.
clearTempNodes=<value>
Option to remove temporary nodes. Valid values are 0 (off) and 1 (on).
clearPreservedNodes=<value>
Option to convert/remove preserved nodes. Valid values are 0 (off) and 1 (on).

Examples

To remove temporary nodes and convert/remove preserved nodes from ID range 1-67:
*createmark nodes 1 1-67
*nodemarkclear node_mark=1 clearTempNodes=1 clearPreservedNodes=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

2022.3