5/28/2023 0 Comments Microstation powerselect![]() ![]() We can discuss if it's old, (un)supported etc, but at the end it's the best tool we have now for MicroStation macros and scripting. VBA: Great for macros or as a tool to create proof of concept that will be later reimplemented using C++ or in some managed language. To write C code for MicroStation today sounds very strange to me. Probably every time C++ code is combined with calling MDL C API, because C++ MicroStationAPI does not provide full functionality. If talking about MicroStation V8i, if there are no other conditions or requirements, you can use several different languages and related APIs: Native C++: In my opinion the best option, but also the most complex. Usually there are more required features to be implemented, so it's about to discuss what API is the best suited, or there are existing code already, so the choice was already done and new functionality is implemented using the same environment / tool / language. ![]() It's weird to discuss so different langauges as C and VBA just in terms of one functionality. Depending on what you need to work with the best tool will differ. What do you mean by "configuration variables"? In the context of the used forum I suppose you mean MicroStation configuration variables, but in such case I don't know why registry and WMI are mentioned. I have to admit I am not quite sure how to asnwer your main question: Jon provided some details about VBA and C and for me it sounds a bit strange to be afraid about VBA age and at the same time to request C that is probably twice older. I need to be able to get the value of configuration variables. I recommend to split them into separate post for easier further discussion. Hi, there are more different topics mentioned in your post. ![]()
0 Comments
Leave a Reply. |