[CONNECT MicroStationAPI] system callback docs missing
Incomplete MicroStationAPI DocumentationThe MicroStationAPI help doc refers to mdlSystem_setFunction in quite a few places. Unfortunately, that function no longer exists in CONNECT. Its type-safe...
View ArticleRE: [v8i ss3, MDL] How to get elementID from descriptor
[quote user="Manko"]How do I get element ID from element descriptor?[/quote]ElementID GetElementIdFromDescriptor (MSElementDescr const* pElm) { return mdlElement_getID (&pElm->el); }[quote...
View Article[v8i ss3, MDL] How to get elementID from descriptor
Hi, MSElementDescr** edPP;How do I get element ID from element descriptor?thanks,Manko
View ArticleRE: [v8i ss3 mdl] Question about MSElementDescr
Hi,I found this and it works fine.communities.bentley.com/.../18889thanksManko
View Article[v8i ss3 mdl] Question about MSElementDescr
Hi,MSElementDescr * pElm;I would appreciate simple example how to use pElm->h.firstElem and pElm->h.nextthanksManko
View ArticleRE: Connect C++ Iterating TextStyles
Hi Jon! I run MicroStation CONNECT Update 2, and have the same TextStyleIteraror definitision as you struct TextStyleIterator : std::iterator<std::forward_iterator_tag, DgnTextStyleP const> {...
View ArticleRE: Connect C++ Iterating TextStyles
[quote user="Jesper Stahl Madsen"]Please tell what is wrong in the lines[/quote]I don't understand why the compiler is complaining.I suggest that you create an example that you can submit to Bentley...
View ArticleRE: Connect C++ Iterating TextStyles
> You can see that the increment operator is defined and is public. The *pre-increment* operator is defined...i.e., ++iter. Post-increment (iter++) is not. In general pre-increment is what you want...
View ArticleConnect C++ Iterating TextStyles
Hi!How do I iterate the TextStyles defined in a designfile using the C++ Connect API?I have tried the following, but the iter++ statement won't compile:DgnFileP dgnObjP =...
View Article[CONNECT C++] How to catch the "paste" message?
Hi,My old code works fine under uM V8i. But after I convert it to CONNECT, it stops working. There are two items need your help:(1) I need to add "paste - paste special - " add a new data type. Add one...
View ArticleRE: [CONNECT C#]
Yes, You will need to start working with curve vectors.. ex: CurveVector curveVector = CurvePathQuery.ElementToCurveVector(_element); For intersections, you could use: CurveCurve.IntersectionsXY For...
View Article[CONNECT C#]
Hi everibody,Is there anyway with Microstation Connect NET API to detect which elements intersect or are near of others element? Like a spatial index?many thanks,
View ArticleRE: [CONNECT C++]dialog error message
MicroStation's dialog manager is responsible for handling data exchange between your program variables and dialog items.You assign an access string to each dialog item that is intended to communicate...
View Article[CONNECT C++]dialog error message
Hi, I got following error message from Um "message box":---------------------------------------- 1 Symbol not published: type='Text' id=231000006 label="Rotatation Angle:" 2...
View ArticleRE: How to unload a C# addin dll without exiting Microstation
[quote user="willmartinpe"]Is there any way to unload the program without exiting Microstation?[/quote]Unfortunately not. It's a characteristic of dynamic garbage-collection languages (e.g. C#, Java)....
View ArticleRE: [V8i VBA or .NET Addin] Linestyle definition location
I'm looking at the MDL call approach from VBA. I'm looking at the StringListP mdlLineStyle_nameGetStringList ( WCharCP pAuxInfo, int options ) method, what type would StringListP in vba?
View ArticleRE: [CONNECT C++]dialog error message
Hi, Jon Thank you so much for helping me. I still can not get rid of the errors message. It makes crazy. I think MKE file have some other problems? Thanks
View ArticleRE: [CONNECT C#] Spatial index
I've used SetRangeTest from ScanCriteria and works fine.Many thanks.
View ArticleRE: How to unload a C# addin dll without exiting Microstation
This is possible if you load your c# add in into a different app domain in microstation.By default microstation will load your c# add in into the microstation's global clr domain.Try these commands:MDL...
View ArticleHow to unload a C# addin dll without exiting Microstation
How to unload a C# addin dll without exiting Microstation. I have tried mdl unload and the dll does not unload.IS there any way to unload the program without exiting Microstation?
View Article