I have several VBA feature macros developed in InRoads SS4 based on the SmartObjects.mvba macros.
I would like to move these forward to ORD. I see the VBA Feature Macro configuration setting is still there in the Survey Properties, but when I open the VBA editor the reference to the Bentley.Civil.Applications.Survey.COM library (or replacement) is not there. I can find the Reference installed by InRoads, but was looking for one installed and compatible with ORD.
Is there a Survey COM library available for ORD?
Hi RodWing,
No, there is no Survey COM library available for ORD. Please see similar question
https://communities.bentley.com/products/programming/civil_programming/f/civil_programming_forum/168526/openroadsdesigner-sdk---vba-access-to-functionality.
You need to rewrite the mvba to C# or VB .NET for OpenRoads.
Best Regards,
Marty Robbins
I saw that, but also see the ability to still be able to configure a VBA Feature macro in the Survey Properties.
The Bentley.Civil.Applications.Survey.COM library is limited primarily to working with features from a survey fieldbook, and is different from the one discussed in the thread you referenced.
If there is not to be any VBA/COM library for ORD, then the VBA Feature macro configuration should be removed from the Survey Properties.
Rod WingSenior Systems Analyst
I will take a look. I know you can implement MicroStation CONNECT objects in vba via the COM in ORD but unaware that you can implement ORD commands including Survey commands via a COM.
I did take a look at this and I stand corrected. Please take a look at the library Bentley_SurveyToolsNET_COM_4_0 located in C:\Program Files\Bentley\OpenRoads Designer CONNECT Edition\OpenRoadsDesigner\OpenRoads\Bentley.SurveyToolsNET.COM.4.0.tlb (for my install ORD U4).
Answer Verified By: Rod Wing
Thank you for finding that library. Now I can move my SS4 feature macros to ORD.