HyperWorks Tools

::hwat::io::ReadMWF

::hwat::io::ReadMWF

Previous topic Next topic No expanding text in this topic  

::hwat::io::ReadMWF

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::hwat::io::ReadMWF - Read the MWF and create return formatted list for processing.

 

SYNTAX

::hwat::io::ReadMWF str_weldFileLocation

 

ARGUMENTS

str_weldFileLocation

The MWF file’s whole path.

 

RETURNS

Formatted data list on success -> {str_id {thickness n_thick x d_x y d_y z d_z i d_i j d_j k d_k pidList {str_pidList}}}

{} on failure

 

EXAMPLE

::hwat::utils:: ReadMWF /homes/software/weldFile.txt

 

COMMENTS

The format of the file being read is as follows –

#Point Id::    T::          X::          Y::          Z::        I::        J::        K::  PID1::  PID2::  PID3::  PID4::

Example:

{1 {thickness 2 x 99.3 y 234.23 z 456.0 i 0.0 j 1.0 k 0.0 pidList {6004 6005}} \

2 {thickness 0 x 99.3 y 234.23 z 456.0 i 0.0 j 1.0 k 0.0 pidList {}} \

3 {thickness 3 x 99.3 y 234.23 z 456.0 i 0.0 j 1.0 k 0.0 pidList {6004 6005 6007}}}

 

 

See also

::hwat::io::WriteMWF

I/O Functions