HyperWorks Tools

::hwat::io::WriteMWF

::hwat::io::WriteMWF

Previous topic Next topic No expanding text in this topic  

::hwat::io::WriteMWF

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

NAME

::hwat::io::WriteMWF - Write the MWF

 

SYNTAX

::hwat::io::WriteMWF str_weldFileLocation str_weldList

 

ARGUMENTS

str_weldFileLocation

The MWF file’s whole path.

str_weldList

The formatted weld data string.

 

RETURNS

1 on success, {} on failure.

 

EXAMPLE

::hwat::utils::WriteMWF /homes/software/weldFile.txt $mywelddata

 

COMMENTS

The format of the file being written is as follows –

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

The str_weldList format is as follows:

{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::ReadMWF

I/O Functions