I understand this will depend on the type of program, but in general for element placement and manipulation tools, is it better to port SS3 MDL code to CONNECT, or rewrite them with VBA. Is there any criteria I can use to inform me of what path to go down?
Hi Ken,
Ken Adams said:is it better to port SS3 MDL code to CONNECT, or rewrite them with VBA.
in my opinion to go from MDL (C) to VBA is always bad decisions.
Generally, VBA is limited end user tool, not suitable for any more advanced professional development. It is quite simple to reach VBA limits (because plenty of CE features are not supported), or to find a bug.
Ken Adams said:I understand this will depend on the type of program, but in general for element placement and manipulation tools
It is good you mentioned placement and manipulation tools, because it makes the decision simpler: VBA offers only a fraction of functionality. Both C++ and NET APIs offer complex classes, with rich already implemented functionality (where a problem can be the classes are complex and not simple to understand), supporting plenty of scenarios and options.
Ken Adams said:Is there any criteria I can use to inform me of what path to go down?
Go down? Maybe "go further"? But I am not English native speaker, so I am not qualified to discuss language issues ;-)
Different way, how to migrate existing code from V8 to CE API. In general, two are main - to migrate and to rewrite, but "the rewrite" can be split into using C++, NET (C#) or the discussed VBA. Also "the migrate" path can vary a lot, depending whether it is as-straightforward-as-possible migration, or code is sanitized and upgraded.
To make any more qualified decisions, it is crucial to know:
Often the best option is to reimplement old functionality using C# It offers equal functionality to C++ API (not exactly the same, but good enough) and it is simpler/faster/cheaper to write C# code.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point