ProjectWise paths in GEOPAK

Why do ProjectWise paths in GEOPAK seem to omit the server and datasource from the path?

When setting a variable such as GPK_PROJMGR_PROJECTDIR in a Managed Workspace CSB as a ProjectWise Directory type, it resolves to the path with the server name and datasource in it, and GEOPAK isn't able to navigate the path. I end up having to use a string type and the syntax without the server name and datasource to get GEOPAK to recognize the path.

pw:\\[ServerName]:[Datasource]\Documents\[TopLevelFolder]\...

vs.

pw:\[TopLevelFolder]\...

Is there any way to have the paths resolve to the syntax that GEOPAK wants without having to hard code the path? Why the difference?

  • It appears that $(dev([ProjectWisePath])) resolves to pw:\\[ServerName]:[Datasource]\Documents\, so $(dir([ProjectWisePath])) provides exactly what we need to construct a version of the ProjectWise path that will satisfy GEOPAK. I was able to use pw:$(dir($(DMS_PROJECT(_DGNDIR)))) to construct a path to the root of the ProjectWise Project in the format that GEOPAK can use.

    Answer Verified By: Mike Dillner