*solidmap_begin

Marks the beginning of a solid mapping command block.

Syntax

*solidmap_begin ordered

Type

HyperMesh Tcl Modify Command

Description

This command is used by the solid mapping algorithm to indicate the beginning of a solid mapping command block. It must be paired with a *solidmap_end command. A single solidmap mesh is a result of the block of commands.

In a solidmap command block, all of the commands before *solidmap_end are for preparing input data. *solidmap_end is the command that actually performs the solid mapping.

Inputs

ordered
A flag indicating whether the input nodes will be reordered or not. This is meaningful only if nodes will be used as input. Valid values are:
  • 0 - Nodes will be reordered in solidmap.
  • 1 - Nodes will not be reordered in solidmap.

Example

For a solidmap using the following inputs:

Source geometry - lines 73 and 51;

Destination geometry - lines 32 and 41;

Along geometry - lines 74 and 75, surfaces 100 and 95, nodes 80 and 101-105;

Element size - 10

*solidmap_begin 1

*solidmap_prepare_userdataptr "SOURCE" 10
*createmark lines 1 73 51
*solid_prepare_entitylst lines 0

*solildmap_prepare_userdataptr "DEST" 2
*createmark lines 1 32 41
*solid_prepare_entitylst lines 0

*solidmap_prepare_userdataptr "ALONG" 7
*createmark lines 1 74 75
*solid_prepare_entitylst lines 0
*createmark surfs 1 100 95
*solid_prepare_entitylst surfs 0
*createlist nodes 2 80 101 102 103 104 105
*solid_prepare_nodeline 0

*solidmap_end 0 10 0 0

Errors

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