RE: [CONNECT C#] MyApp Example: KeyinTree.rtf
Hi Jon, I don't see such file in my SDK installation. The only rtf file I was able to find is myapp.rtf describing the example application. With regards, Jan
View ArticleRE: [CONNECT C#] C# compiler warning CS1762
Hi Jon, Embed Interop Types has to be switched off for all referenced MicroStation assemblies. With regards, Jan
View Article[CONNECT C#] C# compiler warning CS1762
My KeyCommands.cs model uses these two references...using Bentley.MstnPlatformNET.InteropServices; using Bentley.Interop.MicroStationDGN;Both are necessary because of this..Application app =...
View ArticleRE: [CONNECT C#] MyApp Example: KeyinTree.rtf
Perhaps it's imported when a command.xml is processed during build?
View ArticleRE: [CONNECT C#] MyApp Example: KeyinTree.rtf
[quote user="Jon Summers"]Perhaps it's imported when a command.xml is processed during build?[/quote]I tried to compile the application using bmake and still no such file exists...Regards, Jan
View ArticleRE: [CONNECT C#] How do I get my Task ID?
Hi Jon,I don't know your code, but you should acess AddIn methods through reference obtained in your addin constructor. If I use ManagedToolsExample, I guess you can use this code (not tested...
View ArticleRE: CONNECT crashes when I use ifstream
Hi Jan, I'm working with Greg on this issue. The code in question works on MicroStation V8i and Connect Update 3 (compiled with their respective Visual Studio versions). It is crashing in OpenRoads...
View Article[CONNECT C++] Possible Issue with CONNECT U5 SDK
I'm including the file:#include <DgnPlatform\DetailingSymbol\DetailingSymbolHandlers.h> and when the compiler runs, I see errors relating to "ViewElementHandlerSubTypes.h". Can anyone confirm...
View ArticleRE: [CONNECT C#] MyApp Example: KeyinTree.rtf
Perhaps the *.rtf file is a harmless consequence of a build using Viz Studio. Since its absence causes no problems, I'll cease to be curious about it.
View ArticleRE: [CONNECT C#] How do I get my Task ID?
[quote user="Jan Slegr"]stringmdlTaskId = ManagedToolsExample.Instance().MdlTaskId;[/quote]Almost! It's the following, where Program is the class that inherits from...
View Article[CONNECT C#] How do I get my Task ID?
I want to get the name of my .NET task ID using C#. It's a static method...AddIn.GetMdlTaskID (addInAttribute);But what is the correct addInAttribute? I'm looking for the .NET equivalent of the...
View ArticleRE: CONNECT crashes when I use ifstream
Hi Jan, So after compiling the code in Visual Studio 2015, the ofstream/ifstream does not crash on Connect Update 5, OpenRoads Designer or AECOsim. However, it does crash on Connect Update 3. Can you...
View ArticleRE: vs2013 mdl 生成失败
HiI will be happy to assist you. Please send an image of the output window showing the error(s) to mailto:support@innovocad.com. This will tell me where the error is occurring. The tool you are using,...
View ArticleRE: CONNECT crashes when I use ifstream
Hi Christian,[quote user="Christian M"]Can you recommend a way that we can programmatically detect in setup what Visual Studio Platform is needed to run on MicroStation Connect?[/quote]Similar topic...
View ArticleRE: vs2013 mdl 生成失败
Hi sir thanks for your help. I just do "bmake -a " in Microsttion Connect developer Shell, and it works , then I try to use viusal stdio to build ,amazing it works too.
View ArticleRE: [V8i - VBA ] Text without textstyle shows active text style property
Thank you Artur for the information Do you know a way to set in VBA the active text style to "none" and the active dimension style to "none" ? Many thanks Regards Remy
View ArticleRE: CONNECT crashes when I use ifstream
[quote user="Christian M"] After compiling the code in Visual Studio 2015, the ofstream/ifstream does not crash on Connect Update 5, OpenRoads Designer or AECOsim. However, it does crash on Connect...
View ArticleCONNECT crashes when I use ifstream
I am having difficulty using ifstream in CONNECT. The following is the code hijacked from TagExample callback.Public void tagsExample_createTagSet (WCharCP unparsed) { std::ifstream inFile;...
View ArticleRE: Read EC attributes from AutoPLANT file
hi YongAn, I run into the similar trouble when i debug the sample code imodelvistor in v8i ss4 sdk. To the function imodelVisitor_scanForItemSet ,once we call status = mdlNamedGroup_fromElementDescr...
View Article