*readnodepositionsfromh3dfile

Modes nodes in the current model to positions given in an H3D file.

Syntax

*readnodepositionsfromh3dfile path ?animation_number? ?create_initial_xref_cards? ?comps_mark?

Type

HyperMesh Tcl Modify Command

Description

Modes nodes in the current model to positions given in an H3D file.

A valid Radioss model must be loaded.

Inputs

path
The full path and file name of the H3D file.
animation_number
The animation frame used to load the positions. Default is 0 which corresponds to the last frame.
create_initial_xref_cards
The flag to create /XREF cards.
0 - /XREF cards are not created. (default)
1 - /XREF cards for nodes positioned are created.
comps_mark
The ID of the mark containing the components for creating the reference geometry. Valid values are 1 and 2. For LS-Dyna models, this option is mandatory.

Example

To read node positions from C:/Users/default/result.h3d:

*readnodepositionsfromh3dfile "C:/Users/default/result.h3d"

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

2017.1

2021 - Added optional arguments animation_number and create_initial_xref_cards.

2021.2 - Added an optional argument comps_mark.