[V8i] and [CONNECT] mdlFileList_edit OR mdlStringList_getMember bugs with too...
1) When over 1,000 files are selected with mdlFileList_edit() and mdlStringList_getMember() is used to extract the file names, the last file in the list is corrupt.2) When over 2,000 files are...
View ArticleRE: [CONNECT MicroStationAPI] Where is the element type enum?
[quote user="Jon Summers"]You picked the one value (CELL_LIB_ELM) that is not defined any more. Cell libs haven't been an element type since V8.0. I found the enum where Brien indicated (in the SDK...
View ArticleRE: How to make a ComplexShapeElement from BSplineCurves
[quote user="D C"]I am able to use CreateComplexShapeElement1 with LineElements, but when I include a BSpline this fails[/quote]Does your code create the two helices OK? Can you use MicroStation's...
View ArticleRE: [CONNECT MicroStationAPI] Where is the element type enum?
The macro you cited (TMSK0_CELL_LIB) actually exists in mselems.h in V8i. Since it is never used, I suppose that nobody was provoked to remove it.I don't know why the macro in CONNECT doesn't cause a...
View Article[CONNECT MicroStationAPI] Where is the element type enum?
I can see where element types are used in DgnElements.h. For example...#define TMSK0_CELL_LIB ELMBITMSK (CELL_LIB_ELM) etc.However, I can't see where those values are defined. Is there an enum that...
View ArticleRE: How to make a ComplexShapeElement from BSplineCurves
Hi, complex shape has to be closed, but you are creating two B-splines that don't create closed element. But I am not sure if it's correct and you should se CreateComplexString or the B-splines are...
View ArticleRE: How to make a ComplexShapeElement from BSplineCurves
[quote user="Jan Slegr"]But I am not sure if it's correct and you should se CreateComplexString or the B-splines are created wrongly and should create closed element[/quote]Thanks, changing to...
View ArticleHow to make a ComplexShapeElement from BSplineCurves
I am able to use CreateComplexShapeElement1 with LineElements, but when I include a BSpline this fails, even though IsChainableElement returns true. The code below demonstrates the problem. I am using...
View ArticleRE: [V8i] and [CONNECT] mdlFileList_edit OR mdlStringList_getMember bugs with...
Thanks Jon, I see your logic but the mdlStringList_getMember() function returns a WCharCP *, which is totally valid for the first 1,000 lines when treated as a pointer to a WChar array (perhaps the...
View ArticleRE: [V8i] and [CONNECT] mdlFileList_edit OR mdlStringList_getMember bugs with...
[quote user="Loren"]Here's the API Doc[/quote]If a StringList stores 8-bit chars internally, then mdlStringList_getMember can't give you a pointer to a 16-bit string, because there is none. It could...
View ArticleRE: [V8i] and [CONNECT] mdlFileList_edit OR mdlStringList_getMember bugs with...
Thanks Again Jon,However new code:WString wStr;for (i=0;i<mdlStringList_size(strListP);i++) { //mdlStringList_getMember(&str, NULL, strListP, i); //wcscpy(filestr, str);...
View ArticleRE: [V8i] and [CONNECT] mdlFileList_edit OR mdlStringList_getMember bugs with...
I suggest that you put together a small project that is self-contained and illustrates this behaviour (like the MDL examples). Then submit a SR to Bentley to fix either mdlFileList_edit or the...
View ArticleRE: [V8i] and [CONNECT] mdlFileList_edit OR mdlStringList_getMember bugs with...
Will do Jon, Thanks again for your time on this. Loren.
View ArticleRE: mdlMeasure_elmDscrArea : is this changed in connect version
Correct, i'm using that getcexpressionValue in vba. A bit of background : this function is part of old vba code (aprox 10 years old), that I'm trying to rework to c# (the program we writing is...
View ArticleRE: mdlMeasure_elmDscrArea : is this changed in connect version
DgnPlatformNet API for C# Developers[quote user="djeten"]A bit of background : this function is part of old vba code (aprox 10 years old), that I'm trying to rework to c# [/quote]MicroStation CONNECT...
View Article[CONNECT DgnPlatformNet] How do I measure dimensional properties?
If I'm writing a C# AddIn using the DgnPlatformNet, how do I get planar properties such as area & perimeter? How do I obtain volumetric properties such as volume & centroid?
View ArticleRE: mdlMeasure_elmDscrArea : is this changed in connect version
Hi,[quote user="djeten"]Correct, i'm using that getcexpressionValue in vba. [/quote]May I ask why do you use GetCExpression? C expressions are usefull (better to say they were useful as they are...
View Article[CONNECT VBA] GetCExpressionValue
A couple of posters have noted that VBA's GetCExpressionValue doesn't work in CONNECT as it worked in earlier versions of MicroStation. Are C expressions fully-functional in CONNECT? Are all MDL...
View Article[CONNECT][C++][.NET] Custom Ribbon Programmatically?
Has anyone created a custom ribbon in CONNECT programmatically yet? If so are you willing to share the code?
View ArticleRE: [CONNECT][C++][.NET] Custom Ribbon Programmatically?
[quote user="Loren"]Has anyone created a custom ribbon in CONNECT programmatically yet?[/quote]Bentley tell us that the user customisation tools, which create a UI in a DGNLib, should be our first port...
View Article