C#.net - Fillet between 2 Dsegment3D

how to create Fillet between 2 DSegment3d? and How do can I Chain all of them together inC#.net? 

Parents Reply Children
  • Hi Manh,

    I am using Microstation Connect Edtion update 10 - Version 10.10.00.23

    It's quite old (2.5 years) version. It's recommended to use the latest one, which is Update 14.2 (and Update 15 will be released soon).

    Openroads Designer Connect edition - 2020 release 1 update 8 - version 10.08.00.88.

    It's also not current, but I guess it's fine (because it's "2020"). The latest ORD version is 2020 Release 3, build 10.09.00.91.

    I used mssdk10130048.msi to install the SDK.

    It's wrong! You cannot mix different product and SDK versions. Even when it's not critical when pure NET application is created, because only documentation and examples are used from SDK (not .lib files are linked as in C++), it's just not the right way.

    When you have MicroStation CE Update 10, you should use SDK for Update 10. The same for ORD, where for every version, related ORD SDK has been released.

    I look at my SDK example folder but I did not see the csAddins

    Yes, it's right. I think csAddin is not part of MicroStation or ORD SDKs.

    is there any way I can get a copy?

    What about to e.g. search for csAddin in this discussion (plus Chinese when more information will be needed)? You will find many results where it's discussed, and in some also shared (e.g. this one). Be active!

    But, personally, I think it's not so important. Why any code is needed to discuss how to create LineElement from DSegment3D, when using MStnPlatformNET documentation it's evident LineElement has constructor, accepting DSegment3d as parameter? Also, when you will invest time to search MicroStation SDK examples, you will many files using DSegment3D in different scenarios (to create LineElement, together with CurveVector etc.).

    With regards,

      Jan

  • I look at my SDK example folder but I did not see the csAddins
    I think csAddin is not part of MicroStation or ORD SDKs

    You're correct!  It's a project kindly provided by .  Here it is...

    8546.csAddins.zip

     
    Regards, Jon Summers
    LA Solutions

  • It's quite old (2.5 years) version. It's recommended to use the latest one, which is Update 14.2 (and Update 15 will be released soon).

    thanks for you advised but I currently work on some project that in update 10 right now. and if we update to a newer version it will require all members of the team who works on that project to be updated to a newer version which is impossible to make happen and I am not the one able to authorities to do that.

    It's wrong! You cannot mix different product and SDK versions. Even when it's not critical when pure NET application is created, because only documentation and examples are used from SDK (not .lib files are linked as in C++), it's just not the right way.

    Thanks, Jan.I will re-install the SDK. I am not a programmer, I am currently a designer, but I did learn a bit C#.net for myself while using Civil3d and see it as a good way to automatize some works. So when I get into Microstation I little don't know anything.. if you have any suggestions on where should I start or any book that I can read or any training programs please let me know? thanks

    What about to e.g. search for csAddin in this discussion (plus Chinese when more information will be needed)? You will find many results where it's discussed, and in some also shared (e.g. this one). Be active!

    thanks for the suggestion, and I am not Chinese.

    You're correct!  It's a project kindly provided by .  Here it is...

    8546.csAddins.zip

    Thanks, Jon.

  • which is impossible to make happen

    It's a pitty, because especially Update 13 and Update 14 brought many fixes and performance improvements (I treat Update 13 the first "can be used" version). With not very big exaggeration, U13 and U14 represent more enhancements than all previous versions together.

    if you have any suggestions on where should I start or any book that I can read or any training programs please let me know?

    Unfortunately it's not easy to answer, because there are not many sources:

    • At first, learn C# itself. There are many tutorials and books available. Without knowing basics of both language and concepts/terminology (assembly, project...) to understand some concepts used in MicroStation API can be confusing.
    • Study examples delivered with SDK. The most of them are C++, but some are C#.
    • Check MicroStation Programming blog
    • See links mentioned on BDN web on MicroStation SDK page
    • Check Chinese blog, especially articles and tutorials from Yongan.Fu

    I am working on own "C# for MicroStation" course (commercial), but it's not my primary project, so its progress is slow.

    and I am not Chinese.

    Well, and who cares? I am not neither and I found many answers there. In time, where it's so simple to copy/past text to Google, Bing and other translators, or even to let them to translate the whole page, language is not an issue anymore. Especially in programming, where keywords to be searched are typically English function or classes names and the translation can be understood even with mistakes, because used language is typically very simple.

    With regards,

      Jan