Luiz Fernando De Oliveira Silva
Usenet Archive
- Joined
- Dec 3, 2001
- Messages
- 6
- Reaction score
- 0
I have a mslink number e want to find the correspondent graphic element? I use MicroStation Basic and I don't want scan de design file to find the element.
I have a mslink number e want to find the correspondent graphic element? I use MicroStation Basic and I don't want scan de design file to find the element.
I have a mslink number e want to find the correspondent graphic element? I use MicroStation Basic and I don't want scan de design file to find the element.
Hi Liuz,
The scanner is MDL is faster, but searching through each element in a design file (even really big ones) using MicroStation Basic is no slouch either. I have a macro that scans through all elements 5 times, and this only takes 15 seconds in a 3mb file (39,000 graphic elements). HTH, Simon
Luiz Fernando De Oliveira Silva wrote:
>
> I have a mslink number e want to find the correspondent graphic element?
> I use MicroStation Basic and I don't want scan de design file to find the ...
element?Oops, that should be: "15 seconds in a 3mb file on a Pentium II 450."
Simon Wurster wrote:
>
> Hi Liuz,
> The scanner is MDL is faster, but searching through each element in a
> design file (even really big ones) using MicroStation Basic is no slouch
> either. I have a macro that scans through all elements 5 times, and this
> only takes 15 seconds in a 3mb file (39,000 graphic elements).
> HTH,
> Simon
>
...
the> > I use MicroStation Basic and I don't want scan de design file to find
> > element.
> >
> > --
> > Posted from [200.178.243.14]
> > via Mailgate.ORG Server - http://www.Mailgate.ORG
I have a mslink number e want to find the correspondent graphic element? I use MicroStation Basic and I don't want scan de design file to find the element.
If someone knows other actions as comprimation, which have influence to the filepos, please inform me!
Hi Luiz!
Create a long-field in each databasetable which is filled with the filepos of the linked element. You can do this with a macro. If you create linkages by using macros yet, try to expand the functions in that way, that they also write the actual filepos into this special database field. Then you can directly refer to the searched element by using the value in this field.
Problems:
When you delete elements for example, the filepos does not change until you comprimate the file. The search works fine ...
Create a long-field in each databasetable which is filled with the filepos of the linked element.
association ID (in V7, you must use MDL to create this 32-bit ID; in V8 each element has a unique 64-bit ID assigned automatically)
V81 For each element that you want to quick-find, create a unique
> association ID (in V7, you must use MDL to create this 32-bit ID; in
> each element has a unique 64-bit ID assigned automatically)
I utilize MicroStation SE, there is some solution?
V81 For each element that you want to quick-find, create a unique
> association ID (in V7, you must use MDL to create this 32-bit ID; in
> each element has a unique 64-bit ID assigned automatically)
I utilize MicroStation SE, there is some solution?
Thanks...
I use this scan to find an element wich MSLINK i Know.
It's very fast.
/* Resalto el elemento cuyo MSLINK estoy pasando */
void MUESTRA_ELEMENTO (int MSlink, char *tabla, int color) { int status3; Scanlist scanList; ULong currAddr[100],filepos; int scanWords,numAddr; int status,i; MSElement elem; ...