[CONNECT C++] WhereCriterion::CreateRegexFilter
WhereCriterion::CreateRegexFilter () accepts a regular expression to create a filter. Is it safe to assume that the RegEx engine is that supplied by C++ 11 <regex>?
View ArticleMicrostation V8i get tags element crushes Excel macro
Hi,I have been trying to write an Excel VBA macro which:1. opens all .dgn files from selected location2.scans for all cell elements in active model3. builds an array with found cells4. checks if cells...
View Article[CONNECT C++] WhereCriterion::CreateNumberFilter
Method WhereCriterion::CreateNumberFilter takes a string filter. Presumably that string must be a number in text form (e.g. L"1234.56")?Can it also include a comparison operator (e.g. L"< 1234.56")...
View Article[connect c++] Example circuit mdlCnv_bufferToFileFormat error
Hello,I'm migrating a v8i App to connect.My App is using a Typ 66 Element to store information in the dgn.The connect example circuit is using the same function.mdlCnv_calcFileSizeFromDataDef +...
View ArticleUsing scan criteria on selected elements only
I've been creating a tool in vba to quantify the bid items for construction drawings. Basically, it counts things and does some math. I can get the tool to work in the basic case, which is to scan all...
View Article[CONNECT .NET] PolyfaceBuilder
The documentation for PolyfaceHeader.AddPolygon has this comment: Add a polygon by direct coordinatees. Implementation is NOT required to detect duplicates. (Use a PolyfaceBuilder !!!) I can't find...
View ArticleBentley Products and External Databases
I am curious as to how Bentley supports an external database when it is deemed to be needed.Noticed that ProjectWise, Promis-e, SewerGEMS, Bentley Facilities, BRCM and Openplant etc make use of SQL...
View Article[CONNECT C++] mdlDialog_fileOpen and friends: when is a bool an int?
mdlDialog_fileOpen(), mdlDialog_fileCreate() and the like return an integer to indicate what the user clicked. When MDL had a BoolInt #defined, this three-state result made some sort of sense:TRUE if...
View ArticleMicrostation Connect
Hi Everyone,I have an MDL that was made for older versions of Microstation before Connect and I want to build it to work with Microstation Connect.Please provide me the link to download the connect sdk...
View Article[CONNECT C++] mdlLevelList_handleLevelNameSetState
The documentation for the mdlLevelList_handleLevelNameSetState() function is muddled. The function is declared void, yet the documentation has this …Returns a list model pointer of level names.There's...
View Article[CONNECT C++] DataSheet Example
I've updated Mark Anderson's DataSheet project for CONNECT.DataSheet shows how to create cell editors that modify a ListModel displayed in a ListBox. Each of five columns uses a different...
View ArticleImporting Excel data into Microstation
Hi,I want to build an application that imports data into MicroStation from an excel file. The data should be imported in the form of MicroStation elements(not as an image like in case of Paste/Special...
View ArticleVBA itemtype
Hey all,I try to write a macro and the problem is: the run time error 451.I’m an absolute beginner in vba in microstation. I need your help.So, I got a dgn file (3D) made by ORD 10.01.00.15. I added...
View ArticleVBA application.ontime
Hey guys,Do you know how works application.ontime in vba microstation? I got problem with it.I added "Excel ...." in Tool/ References.Example:Sub macro1()'do sth End Sub Sub macro2() TimeT=Now +...
View ArticleCONNECT: The use of ItemTypes in stead of Tags
Hi all,I have often used tags in V8i in combination with C# or mVBA (create taglibrarys, tagsets, tags). With CONNECT is it recommended to use Item Types. I want to create (with a C# add-in) my own...
View ArticleMDL using C++code convert to .mke file etc.
Hi,I have tried to compile the HelloWorld example code in Microstation V8i developer shell but got the compilation error. Please find the code and image below and rectify my...
View Article[CONNECT C++] MicroStationAPI BeFileName Recursive Documentation
I got stuck in an endless loop again …BeFileName.h File ReferenceGo to the source code of this file.BeFileName.hGo to the documentation of this file.
View Article[CONNECT C++] Item Types Report Integration
I've persuaded AreaAnnotator™ to create searches and aggregate reports...Behind that dialog are some EC queries that gather information from DGN elements that have Item instance data. Independently of...
View Articleusing mdlAssoc_createLinear to create an assocPoint to associate with line...
I am creating an dimension element. The inserted points associate with start and end point of the line element in the reference file. When I use mdlAssoc_createLinear to create an assocPoint,it...
View ArticleHow to read Number of ED fields in the Text C# .Net
How to read Number of ED fields in the Text C# .Net. while reading am getting text alone ED fields are missing while reading text. for examlpe _ _ _ 10, while reading am getting only 10. ED fields _ _...
View Article