Hello,
I have different models and like to create automatically boundaries around the models. In MX is a tool for creating automatic boundaries around models, but for a lot of models, it is a waist of time... Is it possible to run a script (VBA/INP/...) for automatically creating boundaries around models?
With regards
Gunther Groenestein
Gunther,
There's no option for automatic the interactive tool at present. However you should be able to write somthing suitable using SDK and accessing the "MXTriangleString" object provided by MXModelLib, it has a method which called "GetBoundary" which returns an array of points. Once you have the points you can then use either EDIT, GENIO or MXModelLib functions to create the boundary string:
1. Use the MXModelLib to list all string models 2. Loop thru the list, triangulate and trim each selected string model and use "GetBoundary" to get the points
Regards
Ian
Ian Rosam: Gunther, There's no option for automatic the interactive tool at present. However you should be able to write somthing suitable using SDK and accessing the "MXTriangleString" object provided by MXModelLib, it has a method which called "GetBoundary" which returns an array of points. Once you have the points you can then use either EDIT, GENIO or MXModelLib functions to create the boundary string: 1. Use the MXModelLib to list all string models 2. Loop thru the list, triangulate and trim each selected string model and use "GetBoundary" to get the points Regards Ian
Ian,
Where we can get hold of MX SDK? Is documentation available?
Best Regards
B
I have theSDK of MX V8 2004 with some examples to start working with. The Boundary option is in the discription, but a little example of extracting one boundary could be usefull to start with.
Where can the SDK of MX V8 XM being found?
With regards.
The SDK for MX has not been updated to XM yet, so in the first instance you'd need to download the 2004 version (Bentley MX and Arenium 2004 Edition SDK from Select - version 08.05.00.80 posted 6/17/2004) from Select using the following filters Category - Bentley Developer Network Discipline - Civil Date Range All
Once downloaded as it's not been updated to run on XM you will need to modify the installation and I'd ask that you log a support call so an analyst can assist you in setting this up. It might be worth some onsite training to get you up and running and this can be organized through your account manager & Professional Services.
The MX SDK is builtin XM & V8i, there are some limitations though. It is also possible to use VB .NET 2005 or 2008, there are some problems, for example MfWInitForm method doesn't work (and it's quite useful), but there are workarounds.
What you will need definitely is the help file. What you can do, is to install MX 2004 and SDK in a Virtual Machine, copy the required file(s) and do the developement in .NET or do all the developement in the Virtual MAchine.
Ask the support guys and will help you.
Good luck,
v.