::hwat::io::LoadFilesFromDir

Load files under a directory in HyperMesh.

Syntax

::hwat::io::LoadFilesFromDir str_DirName str_FileType n_OverwriteFlag n_OffsetFlag

Arguments

str_DirName
The name/path of directory to look for files.
str_importTransFullPath
FE Import Translator Full Path.
Default is {}. That means it reads the .hm file.
Optional.
n_OverwriteFlag
0 means no overwrite, 1 means overwrite on while importing.
Default is 1, overwrite.
Optional.
str_offsetList
hmentity and its offset value list.
Default is {}. For example, the list could be [list lines 1000 nodes 20000 curves 130]
Optional.

Returns

Success
1
Failure
{}

Example

::hwat::utils::LoadFilesFromDir /homes /deck_files/ /homes/translator/nastran.exe

Comments

Recursively calls ImportModel for files in the given directory.