by Daniel MacNeil <dan_dot__42@[EMAIL PROTECTED]
>
Dec 9, 2006 at 05:39 PM
Well, with your experience it shouldn't be to difficult. (Hmmm..., that
may be a bit of a loaded sentence :)) I would start by looking at some
of the example programs and getting them to compile.
For this program you need to look at the mdlScan_... functions or the
mdlScanCriteria_... functions. The mdlScanCriteria_... functions were
introduced in V8. With these functions you set up your search criteria
and the scanner reads through the entire file and returns matching
elements or elements addresses (Addresses are preferred).
I have no experience with tags so I can't help you there.
For writing elements out to another file look at the mdlWorkDgn_...
functions.
This newsgroup is not used much anymore because of spam issues. Bentley
have there own newsgroups where you will find a ton of information. A
lot of knowledgeable people hang out there. From your browser go to
http://discussion.bentley.com/
You can also access the groups with a news reader. The server name is
discussion.bentley.com
Personally I don't care for the browser interface.
HTH
Dan
gtissington@[EMAIL PROTECTED]
wrote:
> I'm a complete Newbie with MDL etc. What I've been asked to do is as
> follows
>
> Write a utility to split a single Microstation DGN file into multiple
> output fles based on the assigned Microstation Tag elements.
>
> It is a bit like extracting levels into separate files.
>
> Each element has a set of microstation tags indicating which circuit(s)
> it belongs to.
>
> What I need is a batch process to scan the input DGN and produce
> 1.DGN,2.DGN,3.DGN, etc based on the tags assiged
>
>
>
> 2 Questions...
>
> 1) is this too complicated for a first MDL project? I have 20 years
> with C/C++/VB/C# etc. I'm just new to MDL.
> 2) I's really appreciate an advice on which api's, objects or tools I
> could use to get this done a simpley as possible.
>
> Thanks in adavance.
>