I tried the following and I still do not see the menu.
I am on version 10.03.00.43 OpenRoads Designer CONNECT Edition.
The View Control uses a custom macro that must be part of your active workspace. In thedefault installation, the macro is located at C:\ProgramData\Bentley\OpenRoads DesignerCE\Configuration\Organization-Civil\_Civil Default Standards -Imperial\Macros\ViewSet.mvba. You can copy that to your workspace and set theMS_VBAAUTOLOADPROJECTS configuration variable to load it automatically.
Created by Holly HerringWhen: Fri, Jul 27 2018 10:00 AMRevisions: 1Comments: 0
Let's say you were using the metric workspace then you would also need to make sure that you have the dgnlib for the menu:
C:\ProgramData\Bentley\OpenRoads Designer CE\Configuration\Organization-Civil\_Civil Default Standards - Metric\Dgnlib\GUI\Custom_Menu.dgnlib
and the following file
C:\ProgramData\Bentley\OpenRoads Designer CE\Configuration\Organization-Civil\_Civil Default Standards - Metric.cfg
would need this config variable set
MS_GUIDGNLIBLIST > $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/GUI/*.dgnlib
This is in addition to needing
MS_VBAAUTOLOADPROJECTS > $(CIVIL_ORGANIZATION_STANDARDS)Macros/ViewSet
where the latter file resides here
C:\ProgramData\Bentley\OpenRoads Designer CE\Configuration\Organization-Civil\_Civil Default Standards - Metric\Macros\ViewSet.MVBA
I am looking for a way to add a view setup that can be used by ViewSet.mvba. I would like this setup to be able to be used by multiple files/models. This would be particularly useful when working on 3D cells.
Specifically, I would like to open four views of the same model (Top, Right Isometric, Front, and Right) without having to open and set up the views manually. I would like the right iso view to be in Smooth or Transparent, and the other three views in Wireframe.
My problem is I’m not familiar with VBA programming. I think I could call on the “FourSquare” definition in the ViewControlConfigurations.xml to set up the layout of the views, but I don’t know what to do after that. I just want the ability to automatically get the four views in any model I open (with a right-click option).
As you are not familiar with VBA, have you thought about creating a View Group in the seed file, that would be available via the ViewGroup toolbar. See the MicroStation help file for details. https://docs.bentley.com/LiveContent/web/MicroStation%20Help-v17/en/GUID-E346EF04-9695-BD05-F3D0-973D948AA3B2.html
Your views would need to be applied to a 3D model as isometric view (for example) make no sense in a 2D world.
You can place this under a Function Key.
VIEW ON 1;VIEW ON 4;VIEW ON 3;VIEW ON 2;WINDOW TILE;VIEW TOP;SELVIEW 1;VIEW RIGHT;SELVIEW 4;VIEW RGHTISO;SELVIEW 2;VIEW FRONT;SELVIEW 3;fit all;SELVIEW 1;SELVIEW 4;SELVIEW 3;SELVIEW 2;CHANGE VIEW CUSTOM Smooth;selview 2
If you are in a 3d cel file and change to a new model then just use the Function Key that you place it under.
Perfect! I hadn't thought of trying the key-in method. Sure a lot easier than programming.
Josh M - your other post in the Programming forum has a reply
Duplicate posts in different forums lead to confusion.