Open Plant Model Server reference out piping with VBA

I don't know if this is in the correct spot or not so if it needs to be moved le me know.

What I am trying to see if it is possible, is within open plant model server inside of Microstation you can right click on pipe lines and reference out pipe lines from the server. I am looking to do this via VBA to create system master files for a project. Any help is greatly appreciated!!

 

Thanks

Mark

  • Hello Mark,

    Could you please explain a bit more on what is it exactly you would try to do. Do you want to have some easy/automated way to reference out all of the pipelines in the server to a model? Or would you like be able to choose which pipelines/units are to be copied out? Would this be done without any user interaction or with some?

    Looking forward for more details so that I could try to guide you further.

    Regards,

    Justinas



  • Justinas,

    What I am looking to do would to have it reference out all piping related to one system. Then we can make master reference files for each of the systems that can be shared with other disciplines. I less the user interaction the better, but some user interaction is fine.

    Thank you so much

    Mark

  • Hmm, and just using higher level of relationship to reference everything from some Unit/Service by just right click on it in the same manner as with pipelines would not accomplish the same goal? You can also select multiple items in the items tree by holding CTRL or SHIFT keys and reference it out in one go as well:

    As for the VBA approach, I believe that would not be easily done. There is no direct key-in to copy out OPMS components by some relationship as the operation is quite complicated.

    Regards,
    Justinas



  • Is there way to get just the piping on a particular system currently we have everything that is related to the system? It won’t allow me to right click on the pipeline group under system.
     

     
    I can drill down to a single line or select multiple lines and reference out but we have yet to find a way to grab all of the system piping at once. That way as new lines are added to the system they are brought across and refreshed into the reference file when gets opened.
     
     
    From: JustinasL [mailto:bounce-JustinasL@communities.bentley.com]
    Sent: Monday, August 04, 2014 7:44 AM
    To: PlantDesignandEngineering@communities.bentley.com
    Subject: RE: [Plant Design and Engineering Forum] Open Plant Model Server reference out piping with VBA
     
    View and reply online
    Replying to this email posts your reply in the thread.

     

    Hmm, and just using higher level of relationship to reference everything from some Unit/Service by just right click on it in the same manner as with pipelines would not accomplish the same goal? You can also select multiple items in the items tree by holding CTRL or SHIFT keys and reference it out in one go as well:

    As for the VBA approach, I believe that would not be easily done. There is no direct key-in to copy out OPMS components by some relationship as the operation is quite complicated.

    Regards,
    Justinas

  • Im also interesting in knowing how one should do this...

    Had an idea that maybe I could create a local/global "Query" on all pipelines....unfortunatly when referencing out a complete query I didnt get any graphical objects. Only the pipelines. Im abit puzzeled why thou?

    Making a query on all pipecomponents works thou but then u will go missing on for example supports and probably some other objects I think.