Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Browsing all 7260 articles
Browse latest View live

[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 Article


RE: [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 Article


RE: 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 Article

RE: [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 Article


RE: 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 Article

RE: 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 Article

How 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 Article


Image may be NSFW.
Clik here to view.

RE: [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 Article


RE: [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 Article

Image may be NSFW.
Clik here to view.

RE: [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 Article

RE: [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 Article

RE: [V8i] and [CONNECT] mdlFileList_edit OR mdlStringList_getMember bugs with...

Will do Jon, Thanks again for your time on this. Loren.

View Article


RE: 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 Article

RE: 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 Article

RE: 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 Article

RE: [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
Browsing all 7260 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>