*solid_prepare_entitylst
Used to read entities on mark ID 1 into an internal solidmap entity array.
Syntax
*solid_prepare_entitylst entity_type reserved
Type
HyperMesh Tcl Modify
Description
This command is used by the solid mapping algorithm to setup internal entity arrays. 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
- entity_type
- The type of entity contained on mark ID 1. Valid values are lines, surfaces or elements.
- reserved
- Reserved for future use. Must be set to 0.
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
Errors
if { [ catch {command_name...} ] } {
# Handle error
}