Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

mdimpex utility - export and import with Pro/INTRALINK

  • Thread starter Thread starter gar
  • Start date Start date
Status
Not open for further replies.
G

gar

Guest
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!
 
Gar,

in TAN ID 116447 (It Is Not Possible to Export Data To Hard Drive, Which Has Been Checked Out From Commonspace With the Dependency set to None.) there is an subscription about export problems, mayby the Alternate Technique (Check out the object with the Dependency Required or All. The Export will then be successful.) will help.

this problem slould be resolved in Pro/INTRALINK 3.2 2002270



Ren
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top