*solid_prepare_nodeline

Used to read nodes on list ID 2 into an internal solidmap node array.

Syntax

*solid_prepare_nodeline start

Type

HyperMesh Tcl Modify

Description

This command is used by the solid mapping algorithm to setup an internal node array. It must be used within a *solidmap_prepare_usrdataptr data input block. A data input block begins with *solidmap_prepare_usrdataptr and ends with either a call to *solidmap_end or the start of another data input sub-block.

Inputs

start
A flag that indicates how to handle the nodes on the node list2. A value of 0 indicates to start a new internal node array. Otherwise, the list is appended to the previous internal node array. The later case is required when the node count is more than 2000 as this is the current upper limit allowed by a single call to *createlist.

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

Invalid or inconsistent input parameters in *solidmap_prepare_nodeline result in a Tcl error. To detect errors, you can use the catch command:

if { [ catch {*solidmap_prepare_nodeline 0} ] } {
# Handle error
}