Applies To Product(s): OpenPlant ModelServer & OpenPlant Modeler Version(s): 08.11.11.395 & 08.11.09.568 Environment: Windows 7/8 (64 bit) Area: Projectwise Subarea: Original Author: Harpreet Singh, Bentley Technical Support Group Background When we open a file from Projectwise in managed workspace environment program automatically tries to login to Model Server and asks to select the project. But in some cases user may have some projects which don't require model server connection and some projects which needs Model Server connection then it becomes essential to disable the Model Server connection for Non-OPMS projects only. Steps to Follow Launch projectwise administrator. Login to the datasource. Go to Workspaces>Managed>Project and select the project CSB where model server connection has to be disabled. Open the properties dialog and switch to Configuration tab. Add new variable OPMS_DEFAULT_CONNECTION_MODE and set its value to 2. Add another variable CORE_OPMS_ADAPTER and Undefine it as shown below. Similarly, add three more variables as highlighted below and Undefine them. Save the changes in projectwise administrator and close the dialogs. Go to C:\Program Files (x86)\Bentley\OpenPlantModeler V8i\OpenPlantModeler\config\appl folder and open opms.cfg file. Select below highlighted content from the file and remove it. Add below content in the file. #---------------------------------------------------------------------- # To show/Hide OPMS tasks #---------------------------------------------------------------------- OPMS_UI_TASKS = 1 #---------------------------------------------------------------------- # Load OPMS Addin (Do not modify) #---------------------------------------------------------------------- CORE_OPMS_ADAPTER = Bentley.OPMS.Client.DgnOPMSAdapter _USTN_FIRSTDGNFILE > $(CORE_OPMS_ADAPTER) #---------------------------------------------------------------------------- # User Interface Resources #---------------------------------------------------------------------------- #MS_GUIDGNLIBLIST > $$(MSDIR)SampleOPMSDgnLibIfAny.dgnlib #---------------------------------------------------------------------- # Register Configuration DLL (Do not modify) #---------------------------------------------------------------------- CORE_OPMS_PLUGIN = Bentley.OPMS.Client.ECPlugin.dll EC_EXTENSION_ASSEMBLIES > $(OPMSDIR)$(CORE_OPMS_PLUGIN) EC_EXTENSION_ASSEMBLIES > $(OPMSDIR)$(CORE_OPMS_ADAPTER).dll #---------------------------------------------------------------------- # Now register your extension *** (Must Set) #---------------------------------------------------------------------- OPM_OPMS_ADAPTER=Bentley.OPM.OPMS.Adapter.dll EC_EXTENSION_ASSEMBLIES < $(OPMSDIR)$(OPM_OPMS_ADAPTER) Save the file and close it. Now when you open the file in non-opms project it will not connect to model server. Comments or Corrections? Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!
↧