hm_ce_getsolverprojectionbymark

Returns the solver projection data.

Syntax

hm_ce_getsolverprojectionbymark entity_type1 mark_id1 entity_type2 mark_id2 option solver_id

Type

HyperMesh Tcl Query Command

Description

Returns the solver projection data. The data is returned as a list of lists containing:

{node_id, {x, y, z}, elem_id}

where {x, y, z} is the coordinates of the projection point.

Inputs

entity_type1
The first entity type. Valid values are nodes and elems.
mark_id1
The ID of the first mark of entities. Valid values are 1 and 2.
entity_type2
The second entity type. Valid values are comps and elems.
mark_id2
The ID of the second mark of entities. Valid values are 1 and 2.
option
0 - use_RBE_only=0
1 - use_RBE_only=1
2 - use_RBE_only=2
3 - use_RBE_only=3
solver_id
Must be set as 12 for OptiStruct.

Examples

To query the projections for nodes 1-10 and comps 3 and 4:

*createmark nodes 1 1-10;
*createmark comps 2 3 4;
set node_prj_pairs [hm_ce_getsolverprojectionbymark nodes 1 comps 2 0 12];

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

2019