tcl code to import .inp geometry


Hi,
I have a tcl code that modifies an .inp mesh. I want to incorporate an automatic import line to it, however can't seem to get it to work. What I have at the moment is:
*feinputpreserveincludefiles
*createstringarray 2 'Abaqus ' 'Standard3D '
*feinputwithdata2 '#abaqus\abaqus' 'D:/02_Scripting/HyperMesh/unit_cell_1.inp' 0 0 0 0 0 1 2 1 0
When I run this code, the following error message appears: 'The translator does not exist'.
Would anyone be able to assist me with this?
Thanks a lot!


I don't think this is a syntax issue because the files work when I manually open HM but I'd like to do this all through DOS.
Much thanks!


I am having the same issue as lowell. The tcl script works within the Hypermesh GUI, but fails with the same error using hmbatch. Would appreciate any help being offered!

I am having the same issue as lowell. The tcl script works within the Hypermesh GUI, but fails with the same error using hmbatch. Would appreciate any help being offered!
can anyone tell why hmbatch import is not working?
Ok, turns out that it was a silly mistake.
The third line of the code should be:
*feinputwithdata2 '#abaqus/abaqus' 'D:/02_Scripting/HyperMesh/unit_cell_1.inp' 0 0 0 0 0 1 2 1 0
(a forward slash is used before abaqus)