Hi Experts,
I am working on some C# AddIn code (Visual Studio) for MicroStation V8i SS4.
The Visual Studio code refers to MicroStation DLLs and uses the names spaces such as
Bentley.MicroStation
Using the classes in these namespaces, such as
I tried to find the reference documentation of these name spaces and classes from the CHM files with MicroStation V8i SS4 and the SDK, but couldn't get them after searching.
Where can I find the reference, such that it will be easier for me the read the code?
Thank you!
Sui
Hi Sui,
at first, I recommend to move your question to MicroStation Programming forum, because this is general programming forum, not specifically MicroStation.
I also recommend to read the forum best practices and to edit the subject format.
Sui Huang said:Where can I find the reference, such that it will be easier for me the read the code?
Bentley.Interop.MicroStationDGN API equals to VBA API, so to use MicroStation VBA help is the best source.
There is not any other documentation available for C# V8i development, so to study available examples and discussions in MicroStation Programming forum is the best source of information.
Fortunately areas not covered by VBA documentation are like fixed template (e.g. how addin class + command table should be created) or can be asked specifically when not clear from examples (how to attach WinForms to MicroStation GUI).
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
One more comment: To move existing post (because the post should never be duplicated), use More > Move tool under your original post.
Regards,
Thank you Jan, I just move this post to Developers and Programming Forum.
Sui Huang said:I just move this post to Developers and Programming Forum.
No, you posted it to Developers and Programming Forum.
But you should move it to MicroStation Programming Forum.
Hi Jan, thanks for correction, I just moved it here now.
Hello Sui,
You can read my below article to learn how to write C# code under MSV8i. I believe you can understand Chinese.
一步步学习MicroStation V8i Addin开发
The help file is MicroStationVBA.chm because the Interop objects are same with VBA/COM objects.
Hi Yongan,
Thank you for adding the information. By searching the file name I found the MicroStationVBA.chm file. It is surprising that it is not in the folder together with many other .chm files.
Yes I reads Chinese, and will learn from your article.
By the way, are you the instructor in this tutorial video?
https://www.youtube.com/watch?v=bkLmAJDObuM
Sui Huang said:By searching the file name I found the MicroStationVBA.chm file
Here's some information about VBA help.
Sui Huang said:It is surprising that it is not in the folder together with many other .chm files.
VBA is installed with MicroStation: it is part of the product. When MicroStation is installed the SDK folder and its help files do not exist. The SDK is a separate installation.
Regards, Jon Summers LA Solutions
Hi Jan,
Thanks for the extra resource and the explanation. I will bookmark the link for future reference.
Sui Huang said:By the way, are you the instructor in this tutorial video? https://www.youtube.com/watch?v=bkLmAJDObuM
Yes. It's me. I don't know who uploaded this video. Normally I can't access Youtube if I don't log into VPN.