Hello!
I´m trying to create a complex element consisting of multiple subelements :
For that I´m using C++ MDL API. First I create complex header via mdlComplexChain_createHeader. Then I create my subelements. Lines are created within single mdlLine call, while Complex chains are in loops with multiple mdlLine calls and then appending them to the mother header(The complex chain). After I create them, i append them to the owner with mdlElmdscr_appendDscr() . However, even though my creation is closed element (all lines are connected), microstation keeps adding a line between my two single lines, like the shape wasnt closed or something. Im also attaching a picture describing my problem. The same behavior happens even if i dont add the complex chains...
Thanks for any tips.
Lubo
Hi Lubo,
please read and the best practices!
Do you expect your question will be answered and the issue solved, when:
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Sorry for not providing these information at the start. Im using Microstation V8i SS4 version 8.11.09.867. For code I use MSVC.
Lubo B said:MSVC
MSVC what?
For all MicroStation V8i versions, Visual Studio 2005 Professional is required.
Even when it's probably not part of the problem, because typically when not supported Visual Studio version is used, MicroStation crashes, it's important always to confirm how the application was built (the best of course is Visual Studio 2005 Pro + bmake).