| Author |
Message |
Mark Dubbelaar
Guest
|
Posted:
Wed Jan 12, 2005 10:03 am Post subject:
AutoCAD dvb to Microstation |
|
|
hi
i was wondering if anyone has tried converting their autocad dvb file for
use in microstation... is a conversion necessary??? is it possible to have
exactly the same code or does microstation use different objects /
properties / methods etc???
any help would be great
cheers
mark
|
|
| Back to top |
|
 |
Laurie Comerford
Guest
|
Posted:
Wed Jan 12, 2005 10:03 am Post subject:
Re: AutoCAD dvb to Microstation |
|
|
Hi Mark,
If Microstation has a VBA capability, then it is likely that the logic of
your code will be applicable.
It is quite likely you will have to clipboard the code. You will also need
to see if MS can import your forms.
As MS is fundamentally different from AutoCAD, you would be faced with quite
a bit of code conversion.
--
Regards,
Laurie Comerford
www.cadapps.com.au
"Mark Dubbelaar" <MarkDubbelaar@hotmail.com> wrote in message
news:41e4b8ef_1@newsprd01...
| Quote: | hi
i was wondering if anyone has tried converting their autocad dvb file for
use in microstation... is a conversion necessary??? is it possible to have
exactly the same code or does microstation use different objects /
properties / methods etc???
any help would be great
cheers
mark
|
|
|
| Back to top |
|
 |
LochDhu
Guest
|
Posted:
Wed Jan 12, 2005 6:50 pm Post subject:
Re: AutoCAD dvb to Microstation |
|
|
Just to re-ieterate what Laurie has already stated. I believe starting at
V8 of MS offered VBA support. The logic may apply but there will be
complete re-write of the code. This link can get you started, as Bentley
has a VBA newsgroup like this one...
http://discussion.bentley.com/
Scott
"Mark Dubbelaar" <MarkDubbelaar@hotmail.com> wrote in message
news:41e4b8ef_1@newsprd01...
| Quote: | hi
i was wondering if anyone has tried converting their autocad dvb file for
use in microstation... is a conversion necessary??? is it possible to have
exactly the same code or does microstation use different objects /
properties / methods etc???
any help would be great
cheers
mark
|
|
|
| Back to top |
|
 |
Matt W
Guest
|
Posted:
Wed Jan 12, 2005 8:19 pm Post subject:
Re: AutoCAD dvb to Microstation |
|
|
It helps if you know VBA for Microstation.
As Laurie stated, there will be quite a bit of conversion because the
objects are different.
For example, if you have a line of code that is something like this: If
TypeOf objEnt is AcadExternalReference Then...
Obviously, Microstation doesn't have AcadExternalReference objects.
It's not easy, but it can be done. I've taken a Microstation program and
"ported" it over to AutoCAD. It took a while, but it's done and everyone
here is happy.
--
I support two teams: The Red Sox and whoever beats the Yankees.
"Laurie Comerford" <laurie.comerford at I hate Spam.com.au> wrote in message
news:41e4ba81_3@newsprd01...
| Quote: | Hi Mark,
If Microstation has a VBA capability, then it is likely that the logic of
your code will be applicable.
It is quite likely you will have to clipboard the code. You will also
need to see if MS can import your forms.
As MS is fundamentally different from AutoCAD, you would be faced with
quite a bit of code conversion.
--
Regards,
Laurie Comerford
www.cadapps.com.au
"Mark Dubbelaar" <MarkDubbelaar@hotmail.com> wrote in message
news:41e4b8ef_1@newsprd01...
hi
i was wondering if anyone has tried converting their autocad dvb file for
use in microstation... is a conversion necessary??? is it possible to
have
exactly the same code or does microstation use different objects /
properties / methods etc???
any help would be great
cheers
mark
|
|
|
| Back to top |
|
 |
Terry W. Dotson
Guest
|
Posted:
Thu Jan 13, 2005 2:55 am Post subject:
Re: AutoCAD dvb to Microstation |
|
|
Mark Dubbelaar wrote:
| Quote: | i was wondering if anyone has tried converting their autocad dvb file for
use in microstation... is a conversion necessary???
is it possible to have
exactly the same code or does microstation use different objects /
properties / methods etc???
|
Seems to work well, but don't expect it to read your dvb file directly.
While in your DVB, right click on each module/form and export it.
Create a new .MVBA in Microstation, them import.
Don't expect a ThisDrawing. or your AutoCAD specific code to work. You
will need different drawing interaction methods.
It ain't hard, but it ain't easy.
Terry |
|
| Back to top |
|
 |
Mark Dubbelaar
Guest
|
Posted:
Thu Jan 13, 2005 10:04 am Post subject:
Re: AutoCAD dvb to Microstation |
|
|
thanks for you help
cheers
mark
"Mark Dubbelaar" <MarkDubbelaar@hotmail.com> wrote in message
news:41e4b8ef_1@newsprd01...
| Quote: | hi
i was wondering if anyone has tried converting their autocad dvb file for
use in microstation... is a conversion necessary??? is it possible to have
exactly the same code or does microstation use different objects /
properties / methods etc???
any help would be great
cheers
mark
|
|
|
| Back to top |
|
 |
|
|
|
|