My company has recently changed from MicroStation to Power InRoads. Both SS2 and SS4 varieties have been installed. Is it possible to use the MicroStation SDK to access the MicroStation functions of Power InRoads? Is it as simple as just changing the Install path for the SDK? It doesn't seem correct to install it twice to use on both SS2 and SS4. I am not sure if I can switch between the versions even if I do install the SDK twice or just once for that matter. I would think that the environment settings would reflect the second install only.
Thanks,
Jason
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Hi Jason,
Unknown said:I will be using C#.NET.
In such case I guess you don't need MicroStation SDK at all ... with some exceptions:
As far as I know there is no difference between different versions of MicroStation V8i from C# API perspective, because it's COM VBA API and it's pretty stabilized. I don't know if it's also true for Power InRoads API.
I guess you can reference assemblies from SS2 and they will (with a high probabilty) also work in SS4. If you want to be more professional, you can define assembly references using WIndows variable (csproj has to be edited manually), so the workflow can be (of course automated by a batch file similarly to SDK devenv.bat): Start a dev shell > Define variable > Start Visual Studio from the shell > it will reference assemblies from defined InRoads version.
With regards,
Jan
Bentley uses the same core MicroStation engine across their products. The same core objects and functions will be available within the V8i family. Only the reference needs to be changed to reflect your current product. For .Net projects the MicroStation SDK is only used to validate the command table. FYI: Although not asked, there is a slight difference in the main addin to implement the InRoads SDK (Power InRoads SS2) and the Bentley Civil SDK (Power InRoads SS4) in their respective products.