cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to retrieve remote ProE Objects using UNC-Names

ptc-5830787
1-Newbie

How to retrieve remote ProE Objects using UNC-Names

Hello,

Migrating toolkit appls from the Unix-world to Windows i had to open
remote ProE objects via ProMdlRetrieve().

The technique is:
1) Get the current ProeDirectory
2) Change to the directory where the model is located
3) Invoke ProMdlRetrieve()
4) Change back to the directory saved at 1)

In the Unix-World in Step 2) I use a pathname to the mounted server, where
the
remote model is located.
On Windows i had to use a UNC-name like \\cax\proe\data\more_sub_dirs
<file: \\cax\proe\data\more_sub_dirs=">
ProDirectroyChange() does not accept an UNC name and returns -22
(PRO_TK_INVALID_NAME)

Its important for hundreds of ProE-PCs to use the UNC-name rather than the
Drive:pathname syntax.

Thanks in advance....




Mit freundlichen Grüßen / Kind regards

Norbert Schultheis

AUDI AG
I/FP-372
85045 Ingolstadt
Tel. +49 (0)8 41 89-9 03 89
Fax. +49 (0)8 41 89-3 81 15
mailto:norbert.schultheis@audi.de
http://www.audi.com <http: www.audi.com="/>



This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1

Mit,
The Windows version of ProEngineer cannot change to a directory that is not
assigned a drive letter ie a UNC path. You might want to try ProMdlLoad. If
that doesn't work then you will have to programmatically map the UNC path to a
drive letter and change to that directory. If you need help mapping a drive I
can help.



Patrick Williams
Applications Engineer
Steelcase Inc.
Announcements
Attention: Creo 7.0 Customers
Please consider upgrading
End of Life announcement here.

NEW Creo+ Topics:
PTC Control Center
Creo+ Portal
Real-time Collaboration