🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

import error

evsm1982User: "evsm1982"
Altair Community Member
Updated by evsm1982

Hello all,

 

I have tried to create a simple script that import a file from a specified folder.

 

*feinputpreserveincludefiles
*createstringarray 3  'HyperMesh ' ' ' 'ASSIGNPROP_BYHMCOMMENTS'
*feinputwithdata2 '#nastran\nastran' 'D:/work/test/test.bdf' 0 0 0 0 0 1 3 1 0

 

I found this in 'command.cmf'. After removing the parentheses and commas still got an error.

 

0
0
    while executing
'*feinputwithdata2 '#nastran\nastran' 'D:/work/test/test.bdf' 0 0 0 0 0 1 3 1 0 '
    (file 'D:/work/test/import.tcl' line 3)
    invoked from within
'source {D:/work/test/import.tcl}'
    ('uplevel' body line 1)
    invoked from within
'uplevel #0 'source {$file}''
    (procedure '::HM_Framework:image/emoticons/default_tongue.png' alt=':P' srcset='/emoticons/tongue@2x.png 2x' width='20' height='20'>_FileLoad' line 60)
    invoked from within
'::HM_Framework:image/emoticons/default_tongue.png' alt=':P' srcset='/emoticons/tongue@2x.png 2x' width='20' height='20'>_FileLoad 24'
    (menu invoke)

 

What is wrong or missing?

Thank you for your time.

Find more posts tagged with

Sort by:
1 - 2 of 21