RE: [V8i C#/MDL] Filter Table Names
[quote user="Mark Stefanchuk"] There seems to be some issues with the mdlFilter_getName function[/quote]Here's the VBA declaration from the MDL help documentation...Declare Function mdlFilter_getName...
View ArticleRE: [V8i] Count Elements in Each Model?
Hi Brahms,there are several things that can be done better I guess, but at first a question and a wish:What about references? A particular model can be empty, but still be worth to be printed, because...
View Article[V8i] Count Elements in Each Model?
Hello,I am trying to write a macro that counts the number of elements in each model of a drawing. The purpose is to determine which of the models contains any elements if any so that I can print a PDF...
View ArticleRE: [V8i] Count Elements in Each Model?
Hi Jan, thanks for replying. For these drawings, there will be no references so I do not need to check for this and I just edited the original post with your suggestion.
View ArticleRE: [V8i] Count Elements in Each Model?
You have not initialised variables i or Counter. The first time through the loop, they may or may not be zero, then they are incremented. Put a Debug.Print statement in there to see what's happening.
View ArticleRE: [V8i] Count Elements in Each Model?
Hi Brahms,[quote user="Brahms"]there will be no references[/quote]It makes the macro simpler :-)[quote user="Brahms"]The purpose is to determine which of the models contains any elements[/quote]If your...
View ArticleRE: [V8i C#/MDL] Filter Table Names
Hello Jon,You are correct. I was able to pass the pFilterTableNameIn as string by setting the CharSet=CharSet.Unicode in the function declaration. Thank you for pointing this out. My p/invoke(s) now...
View ArticleRE: [V8i] Count Elements in Each Model?
This works so much better than what I was attempted to write. I just tested it on a few of the thousand drawings I need it for and it works marvellous. Thank you so much Jan and also Jon for helping me...
View ArticleRE: [CE C#] DimStyleProp Alignment Problem
Hi, to make the problem identification easier, can you specify what MicroStation and MicroStation SDK version do you use? Is it the latest CE Update 5? With regards, Jan
View Article[CE5 C#] DimStyleProp Alignment Problem
In VBA, to set the Alignment mode in DimensionStyle from "View" to "True", we useDimensionStyle.Alignment = MsdDimAlignment.TrueWhen we are in .NET API, we use:DimensionStyle.SetIntegerProp(2,...
View Article[CONNECT] Add App. UI to Existing Ribbon Tab
Is it possible to add additional UI components to an existing Ribbon tab?AreaAnnotator has its own workflow group, but it would make more sense to add it to the existing MicroStation Annotation ribbon...
View Article[CONNECT C++] Bmake rule to build Windows resource is not recognised
With CONNECT Update 4, my bmake file containing the following line is successful:#---------------------------------------------------------------------- # Compile the Windows resource files for the DLM...
View ArticleRE: [CE5 C#] DimStyleProp Alignment Problem
[quote user="clever_anthony"]However, the dimension element is not working as true alignment. What did I miss?[/quote]Hi,did you try to replace the modified DimensionStyle in the dgn file using...
View ArticleRE: [CONNECT Update 5 C++] Bmake rule to build Windows resource is broken
[quote user="Jon Summers"][== Building G:\PROGRA~1\Bentley\MICROS~2\SDK\objects\AreaAnnotator.res, (Q:\AreaAnnotator\CONNECT\AreaAnnotator.rc) ==] rc -d -dVARIETY= -dUSER="\"CONNECT on CELERATRIX64\""...
View ArticleRE: [CONNECT C++] Link problem with Win32 libs
Hi Jon,MicroStation CONNECT Edition Update 5 SDK based on Visual Studio 2015 has a couple additional Visual Studio installer features that are not enabled by default for C++ developers. :(When...
View ArticleRE: [CONNECT Update 5 C++] Bmake rule to build Windows resource is broken
[quote user="Robert Hook"]I will look into to see what may need to be modified to silence or properly resolve if you don't have or need XLIFF resource translation[/quote]I have no idea what XLIFF...
View ArticleRE: [CONNECT C++] Link problem with Win32 libs
[quote user="Robert Hook"]C:\PROGRA~1\Bentley\MICROS~2\library>pushd %WindowsSdkDir%[/quote]I can see WindowsSdkDir defined in the developer shell, but I don't see it in...
View Article[CONNECT C++] Link problem with Win32 libs
A C++ project built successfully with CONNECT Update 4 SDK is failing to link correctly with CONNECT Update 5 SDK. The problem concerns Win32 libraries (despite the name, these really are 64-bit...
View ArticleRE: [CONNECT C++] Link problem with Win32 libs
[quote user="Robert Hook"]Windows and Web Development > Universal Windows App Development Tools > Windows 10 SDK[/quote]I'm pleased to report that installing that additional Viz Studio 2015...
View Article