*reorderinclude

Changes the order of the include files in a model.

Syntax

*reorderinclude id_to_move id_of predecessor reparent_flag

Type

HyperMesh Tcl Modify Command

Description

Changes the order of the include files in a model.

Inputs

id_to_move
The ID of the include file that should move.
id_of_predecessor
The ID of an include file after which the id_to_move include file should be placed in the database.
reparent_flag
Determines whether the predecessor file also becomes the parent of the include file that moves:
  • 1 the predecessor file becomes the parent
  • 0 the predecessor file and moved include file are at the same level in hierarchy

Example

HyperMesh writes out include files in ID-order. This means that reordering include files is equivalent to renumbering some include files, with the added possibility of a change in the hierarchy.

Errors

None.