After I tried some TPI's...
I'm searching for a possibility to export (and later to re-import) Pro/E objects from Pro/I. The suggested technic to do this in a Batch mode is mdimpex. Some helpfull hints are at PTC/USER and the PTC database. But there seems to be some non-described problems?
TPI 114696
TPI 107933 (! wrong description for arguments -i and -e! they are permuted...)
TPI 117559
TPI 110601
My batch file to export an object Test.prt from a Workspace Workspace is start.bat:
path=%path%;D:\proI_32\proiclient3.2\i486_nt\illib;
path=%path%;D:\proI_32\proitkenv\pro_intlnk_tk\i486_nt\lib
path=%path%;D:\proI_32\proe2001\i486_nt\mdimpex
call D:\proI_32\proitkenv\bin\proilinktk3.2.bat
D:\proI_32\proe2001\bin\mdimpex -c -wWorkspace -- -dall -e D:\proI_32\.proi\Workspace\Test.prt
The result is
D:\proI_32>call D:\proI_32\proitkenv\bin\proilinktk3.2.bat
Exporting 1 objects:
D:\proI_32\.proi\Workspace\Test.prt
D:\proI_32>
No error, no problems -> but I want to export the part to C:\.
So I use argument -t C:\ at the end of the line.
The result is a Visual C++ Runtime Error with a message MDIMPEX ERROR : wrong usage......
Is there anybody (with experience in) using this tool?
I'll post a summary.
Thanks in advance
Detlef Garte
Two hints:
1) If an undesignated attribut is used, an error happens:
MDIMPEX WARNING: apdmPDMLDBAttrDefGetByName : Can not get attrdef.
2) Avoid blanks in your folder names!
I'm searching for a possibility to export (and later to re-import) Pro/E objects from Pro/I. The suggested technic to do this in a Batch mode is mdimpex. Some helpfull hints are at PTC/USER and the PTC database. But there seems to be some non-described problems?
TPI 114696
TPI 107933 (! wrong description for arguments -i and -e! they are permuted...)
TPI 117559
TPI 110601
My batch file to export an object Test.prt from a Workspace Workspace is start.bat:
path=%path%;D:\proI_32\proiclient3.2\i486_nt\illib;
path=%path%;D:\proI_32\proitkenv\pro_intlnk_tk\i486_nt\lib
path=%path%;D:\proI_32\proe2001\i486_nt\mdimpex
call D:\proI_32\proitkenv\bin\proilinktk3.2.bat
D:\proI_32\proe2001\bin\mdimpex -c -wWorkspace -- -dall -e D:\proI_32\.proi\Workspace\Test.prt
The result is
D:\proI_32>call D:\proI_32\proitkenv\bin\proilinktk3.2.bat
Exporting 1 objects:
D:\proI_32\.proi\Workspace\Test.prt
D:\proI_32>
No error, no problems -> but I want to export the part to C:\.
So I use argument -t C:\ at the end of the line.
The result is a Visual C++ Runtime Error with a message MDIMPEX ERROR : wrong usage......
Is there anybody (with experience in) using this tool?
I'll post a summary.
Thanks in advance
Detlef Garte
Two hints:
1) If an undesignated attribut is used, an error happens:
MDIMPEX WARNING: apdmPDMLDBAttrDefGetByName : Can not get attrdef.
2) Avoid blanks in your folder names!