Hot News:

Unser Angebot:

  Foren auf CAD.de
  Excel
  Point3D in Excel VBA --> MicrostationVBA

Antwort erstellen  Neues Thema erstellen
CAD.de Login | Logout | Profil | Profil bearbeiten | Registrieren | Voreinstellungen | Hilfe | Suchen

Anzeige:

Darstellung des Themas zum Ausdrucken. Bitte dann die Druckfunktion des Browsers verwenden. | Suche nach Beiträgen nächster neuer Beitrag | nächster älterer Beitrag
  
Online-Kurs: Grundlagen des 3D-Druck-Designs für Industrieingenieure , ein Kurs
Autor Thema:  Point3D in Excel VBA --> MicrostationVBA (2677 mal gelesen)
tasnimi
Mitglied
Student


Sehen Sie sich das Profil von tasnimi an!   Senden Sie eine Private Message an tasnimi  Schreiben Sie einen Gästebucheintrag für tasnimi

Beiträge: 12
Registriert: 28.10.2004

erstellt am: 28. Okt. 2004 10:51    Editieren oder löschen Sie diesen Beitrag!  <-- editieren / zitieren -->   Antwort mit Zitat in Fett Antwort mit kursivem Zitat    Unities abgeben: 1 Unity (wenig hilfreich, aber dennoch)2 Unities3 Unities4 Unities5 Unities6 Unities7 Unities8 Unities9 Unities10 Unities

VBA and Microstation point3d in excel
Dear Friend!
I was able to use every class in VBA under Excel from Microstation 2004(v8) and change some attribute as well but unfortunately not any POINT3D.
It is amazing because most importatnt thing is Point3D, which is easy to instantiate in VBA under Microstation but it is not possible in VBA under Excel.

My question is, who it couls be possible that you would be able to use a lot of other objects of Microstation CAD under Excel-VBA but not Point3D!!  Point3D is first thing for every geometry

Thank you for the help.

Best regards,
F. Tasnimi

Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP

BloodyMess
Mitglied
Applicationingenieur


Sehen Sie sich das Profil von BloodyMess an!   Senden Sie eine Private Message an BloodyMess  Schreiben Sie einen Gästebucheintrag für BloodyMess

Beiträge: 604
Registriert: 06.06.2002

AutoCAD Map 3D 2005
Win XP pro

erstellt am: 28. Okt. 2004 23:41    Editieren oder löschen Sie diesen Beitrag!  <-- editieren / zitieren -->   Antwort mit Zitat in Fett Antwort mit kursivem Zitat    Unities abgeben: 1 Unity (wenig hilfreich, aber dennoch)2 Unities3 Unities4 Unities5 Unities6 Unities7 Unities8 Unities9 Unities10 Unities Nur für tasnimi 10 Unities + Antwort hilfreich

hello tasnimi,

i will try to help you, but you should tell me the version of your microstation and what you want especially do with an point3d in excel?
you only want to create an object of point3d in excel?
have you set your queries in excel to the libraries of microstation?

... and don´t ask one question in four forums. that´s no good idea!

with nice greets TP

------------------

Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP

tasnimi
Mitglied
Student


Sehen Sie sich das Profil von tasnimi an!   Senden Sie eine Private Message an tasnimi  Schreiben Sie einen Gästebucheintrag für tasnimi

Beiträge: 12
Registriert: 28.10.2004

erstellt am: 29. Okt. 2004 18:08    Editieren oder löschen Sie diesen Beitrag!  <-- editieren / zitieren -->   Antwort mit Zitat in Fett Antwort mit kursivem Zitat    Unities abgeben: 1 Unity (wenig hilfreich, aber dennoch)2 Unities3 Unities4 Unities5 Unities6 Unities7 Unities8 Unities9 Unities10 Unities


Point3D.gif


Bentleyreferenced.gif

 
Thank you for Help,

It is really so1 exactly as you mentioned.
Microstation is version 2004 as well as V8.
I added the reference of microstation in Excel and no problem.
I want only to make an object of Point3D like other objects. It is really stange because All other objects have b enn instantiated by me and were working very well except Point3d.

Only Point3D dosn't exist in excel. I have Excel 97.
In excel I have made a new Application of Microstation and opened an existing Designfile and change some elements. All thing is excelent.
But no Point3D is possible. It is but really stange.

Option Explicit

Dim MYMicros As MicroStationDGN.Application
Dim myDesignFile As MicroStationDGN.DesignFile

Dim MyPoint3D As ????????????????

Sub test()


Set MYMicros = New MicroStationDGN.Application
    MYMicros.OpenDesignFile ("C:\Tasnimi\Project4_Electric\Objects\Carbody.dgn")


End Sub

My targhet is to declare and than instantiale MicroStationDGN.Point3d  but this is not existing in Excel, while it is working in Microstation very well.

Thank for Help.
yours,
Farshid


Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP

startrek
Moderator
Architekt


Sehen Sie sich das Profil von startrek an!   Senden Sie eine Private Message an startrek  Schreiben Sie einen Gästebucheintrag für startrek

Beiträge: 1361
Registriert: 13.02.2003

.

erstellt am: 29. Okt. 2004 18:45    Editieren oder löschen Sie diesen Beitrag!  <-- editieren / zitieren -->   Antwort mit Zitat in Fett Antwort mit kursivem Zitat    Unities abgeben: 1 Unity (wenig hilfreich, aber dennoch)2 Unities3 Unities4 Unities5 Unities6 Unities7 Unities8 Unities9 Unities10 Unities Nur für tasnimi 10 Unities + Antwort hilfreich

Hi Farshid,

are there other [extended] Libraries for Microstation or is this reference the only possible for it?
What's the 3DPoint-Object in Microstation VBA, properties??
An array like point(0)=x1 : point(1)=y1 : point(2)=z1 : point(3)=x2 : point(4)=y2 ... etc ?

Sorry, but i've no Microstation and no Excel97, Excel97 use vba5 for instance, however, that's just by the way and sure, maybe not the problem;-)

CUSee you = Wir sehen uns Nancy
    

Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP

BloodyMess
Mitglied
Applicationingenieur


Sehen Sie sich das Profil von BloodyMess an!   Senden Sie eine Private Message an BloodyMess  Schreiben Sie einen Gästebucheintrag für BloodyMess

Beiträge: 604
Registriert: 06.06.2002

AutoCAD Map 3D 2005
Win XP pro

erstellt am: 30. Okt. 2004 22:40    Editieren oder löschen Sie diesen Beitrag!  <-- editieren / zitieren -->   Antwort mit Zitat in Fett Antwort mit kursivem Zitat    Unities abgeben: 1 Unity (wenig hilfreich, aber dennoch)2 Unities3 Unities4 Unities5 Unities6 Unities7 Unities8 Unities9 Unities10 Unities Nur für tasnimi 10 Unities + Antwort hilfreich


point3d_object.jpg


references.jpg

 
Hello Farshid,

i have no problems with point3d and excel. you can see it in my attachments. the difference is, that i´m using office 2003. i will try it with your version of excel, but not today. Sorry, that i have no better news for you.

with nice greets TP

------------------

Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP

BloodyMess
Mitglied
Applicationingenieur


Sehen Sie sich das Profil von BloodyMess an!   Senden Sie eine Private Message an BloodyMess  Schreiben Sie einen Gästebucheintrag für BloodyMess

Beiträge: 604
Registriert: 06.06.2002

AutoCAD Map 3D 2005
Win XP pro

erstellt am: 01. Nov. 2004 19:35    Editieren oder löschen Sie diesen Beitrag!  <-- editieren / zitieren -->   Antwort mit Zitat in Fett Antwort mit kursivem Zitat    Unities abgeben: 1 Unity (wenig hilfreich, aber dennoch)2 Unities3 Unities4 Unities5 Unities6 Unities7 Unities8 Unities9 Unities10 Unities Nur für tasnimi 10 Unities + Antwort hilfreich

Hello Farshid,

sorry, I can´t find an old version of excel. I´m sure that it is running in excel 97 too. There are no differences between referencing libraries of Microstation in Excel 97 or 2003. The objects are the same and are defined in Microstation.
You can try it from an other application with a VBA interface. So you can figure out, whether it is a problem in Excel or Microstation.
Do a new installation of Microstation with all features, hoping it will help.

cheers TP

------------------

Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP

tasnimi
Mitglied
Student


Sehen Sie sich das Profil von tasnimi an!   Senden Sie eine Private Message an tasnimi  Schreiben Sie einen Gästebucheintrag für tasnimi

Beiträge: 12
Registriert: 28.10.2004

erstellt am: 04. Nov. 2004 10:05    Editieren oder löschen Sie diesen Beitrag!  <-- editieren / zitieren -->   Antwort mit Zitat in Fett Antwort mit kursivem Zitat    Unities abgeben: 1 Unity (wenig hilfreich, aber dennoch)2 Unities3 Unities4 Unities5 Unities6 Unities7 Unities8 Unities9 Unities10 Unities

Hello All friends,
Thank you very much fpr all of your efforts. It was relly big help for me.
We will try them in new instalation or meybe in newer Excel version.


I wish you all. Best life

till soon
Farshid

Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP

tasnimi
Mitglied
Student


Sehen Sie sich das Profil von tasnimi an!   Senden Sie eine Private Message an tasnimi  Schreiben Sie einen Gästebucheintrag für tasnimi

Beiträge: 12
Registriert: 28.10.2004

erstellt am: 04. Nov. 2004 10:37    Editieren oder löschen Sie diesen Beitrag!  <-- editieren / zitieren -->   Antwort mit Zitat in Fett Antwort mit kursivem Zitat    Unities abgeben: 1 Unity (wenig hilfreich, aber dennoch)2 Unities3 Unities4 Unities5 Unities6 Unities7 Unities8 Unities9 Unities10 Unities

Hi again,
I tested it in other Computer with the same application and prpblem is still there. It means no Point3d in the Library of microstation is declareable.
there is only one Library and is the same as for you written above "Bentley Microstation V8 DGN 8.0 Object Library"

But as I see it was possible in your computer and xyour Excel but not in my Excel.97

I'm getting slowly headach.

Than you very much till now


Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP

Anzeige.:

Anzeige: (Infos zum Werbeplatz >>)

Darstellung des Themas zum Ausdrucken. Bitte dann die Druckfunktion des Browsers verwenden. | Suche nach Beiträgen

nächster neuerer Beitrag | nächster älterer Beitrag
Antwort erstellen


Diesen Beitrag mit Lesezeichen versehen ... | Nach anderen Beiträgen suchen | CAD.de-Newsletter

Administrative Optionen: Beitrag schliessen | Archivieren/Bewegen | Beitrag melden!

Fragen und Anregungen: Kritik-Forum | Neues aus der Community: Community-Forum

(c)2025 CAD.de | Impressum | Datenschutz