Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Forum Mixing Managed and Network workspace
    • Sign In

    • Replies 2 replies
    • Subscribers 59 subscribers
    • Views 3762 views
    • Users 0 members are here
    • ProjectWise V8i
    • pw
    • ProjectWise

    Mixing Managed and Network workspace

    Finn Mejding
    Offline Finn Mejding over 11 years ago

    Hi,

    We are using ProjectWise V8i SS3 on CAD files in some of our projects but not in others.

    I want to mix the managed workspace with our network configuration in a way so I am reading the project configuration from the last project loaded in MicroStation outside PW (the active project) and then add on some PW specific variables.

    I have tried adding a PW configuration block at both discipline and user level but when I do that MicroStation starts without a project loaded.

    When I'm not using any managed configuration blocks in PW, MicroStation starts with the "active" project loaded.

    It looks to me that the only way I can re-use the project selection from outside PW is by having no managed configuration blocks n PW.

    Am I right or is there any way to solve this, and don't tell me to import the project configuration because that is not an option :-)

     

    Finn

    • Sign in to reply
    • Cancel
    • Finn Mejding
      Offline Finn Mejding Mon, Oct 1 2012 2:17 PM in reply to jrathkey

      Thanks Jeff

      I'll try your suggestion and hop I can achieve what I had in mind.

      Finn

      Regards,

       

      Finn Mejding

      CAD Manager

      Railway and Metro

      COWI

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Cancel
    • jrathkey
      Offline jrathkey Thu, Jul 19 2012 5:55 PM

      Hello Finn,

      When you run MicroStation locally and change the project MicroStation updates the variable, _USTN_PROJECTNAME, in the user configuration file.  With a Manage Workspace ProjectWise skips the user and project configuration. ProjectWise only uses a minimum configuration, just enough to compile the managed workspace and pass the workspace to the command line used to launch MicroStation.

      To load the last used local project in a Managed Workspace mode you will need to pass the local user configuration file to the managed Workspace.   You can create a Configuration Settings Block in ProjectWise (discipline or user level).  Add a Directive to include the local ucf file..

      %include $(_USTN_USER)$(_USTN_USERNAME).ucf

      This will pass the .ucf file to the MicroStation engine used to compile the workspace and set the _USTN_PROJECTNAME to the last used project.  However,  the project configuration will still be skipped. So you will need to add some logic to grab the local project, *.pcf, file.

      To load the local Project Configuration you can replicate the section from the, msconfig.cfg, in a Configuration Settings Block or add it to you local, *.ucf,  files.

      Example from, msconfig.cfg  (recreate in a discipline or user level CSB or copy and paste to the local, *.ucf, files).

      %ifdef _USTN_PROJECTNAME
      %   if exists ($(_USTN_PROJECT)$(_USTN_PROJECTNAME).pcf)
            _USTN_PROJECTCFG = ${_USTN_PROJECT}$(_USTN_PROJECTNAME).pcf
      %      include $(_USTN_PROJECTCFG) level 3
      %   endif
      %endif

      Once you’re in a Managed Workspace mode you can add ProjectWise specific variables.

      HTH,

      Jeff

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Cancel

    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies