::hwat::io::ImportModel - Loads a model into the current session and optionally creates a HyperMesh entity set and assembly for the newly read components.
ImportModel model_name assem_name [overwrite] [offset]
model_name |
The full URL of the model to load. The file type should be one that HWAT supports. In case of no extension, HWAT will try to import it as a dyna key file. |
assem_name |
HyperMesh assembly to apply to newly loaded data (default is {} ). |
importTransFullPath |
Full name with path to the FE import translator. |
overwrite |
Optional argument to indicate overwrite (1) vs no overwrite (0) (overwrite is default). |
offset |
Optional argument, which is a list of offsets to apply to the loaded model (“no offset” is default). e.g. [list comps 0 plots 0...] |
1 if the model is loaded successfully and a "{}" otherwise.
::hwat::io::ImportModel “D:\Hwat\barriers\208barrier.key” “HWATBarrier” 1 {comps 0 plots 0…….}
The URL can be of type “file://” or “http://”. If no prefix is given, type “file://” is assumed.
Support extensions include:
.hm -> load as binary HM database
All file types for DYNA, RADIOSS and MADYMO are supported.