Good day all.
I have access to MicroStation v8i SS3 at work, but at home I use XM edition
In SS3, the Fence object has a .GetFenceNames member, which allows you to get an array of the names of the NamedFences in your design file.
My problem is that in XM Edition, this method does not exist, as Intellisense does not pick it up.
If i run it anyway, it gives me an error. Is there a way around this, can i reference the SS3 dll from XM?
Is there an MDL function that i can invoke to give me the list of named fences in the design file?
Thanks in advance
I would highly recommend not mixing or copying any .dll (.ma or any other binary) files from one product version (Bentley or otherwise) to another. Specific to this example MicroStation V8 XM edition was built using Microsoft Visual C runtime 7.1 and the current release of MicroStation V8i is built with Microsoft Visual C runtime 8.0. When Microsoft changes runtime versions they often change data structures and memory management operations that will potentially cause very high instability or immediate (unexplained?) crashes/exceptions. Please do not consider this option even if you do verify that old and new products use the same runtime - reason being that Products libraries theirselves undergo very similar changes where the function name remains the same, but the parameters, structures, or memory allocation techniques change causing previously mentioned instabilities.
Is there a reason that you cannot update your older version of MicroStation at home to keep things safe and simple?