*updateinclude
Updates include file basic information.
Syntax
*updateinclude id shortname_flag shortname fullname_flag fullname parentid_flag parentid
Type
HyperMesh Tcl Modify Command
Description
Updates include file basic information.
Inputs
- id
- The ID of the include file to update. If 0, the shortname is used instead.
- shortname_flag
- 0 - Do not update the file short name
- shortname
- The new short name if shortname_flag is 1, or the short name to use to select the file if id is 0.
- fullname_flag
- 0 - Do not update the file full name
- fullname
- The new full name if fullname_flag is 1.
- parentid_flag
- 0 - Do not update the parent ID
- parent_id
- The new parent ID if parentid_flag is 1.
Example
To change the include file with ID 1, stored as C:/common_files/mats/mat1.dyn from mat1.dyn to mat2.dyn and change its parent from the main file to a file with ID 3:
*updateinclude 1 1 mat2.dyn 1 C:/common_files/mats/mat2.dyn 1 3
Errors
if { [ catch {command_name...} ] } {
# Handle error
}