Place Text via textblock on specific level c++ connect version 14 using...
Using the code from an example to simply place text in a design file. This works great but I cannot find information that explains how to place this text on a specific level. The current example...
View Article[V8i VBA] Increment (by user input) and array (up and to the right at set...
I have an old MDL application (incarray.ma). It works in version 08.05.02.70 but not in PowerGeopak version 08.11.07.615. It will not select the text. I do not have the base files to open the code...
View Articlepassing C# objects as arguments to an addin
We develop a C# application which also interacts with Microstation, eg. by displaying (and reading) simple objects (shapes, text etc). The objects are stored in an sql database. At the moment I have an...
View ArticleMigration tool to convert old source code(.cpp file) to Connect edition...
Hello,We are converting old source code written in a .mc file to a .cpp file and compiled the .cpp file.Compilation threw a lot of errors. It is both hard and time-consuming to resolve each and every...
View Article[CONNECT Update 14 C++]How to set string in a dimension?
Hi,I would like to set the dimension primary string .In V8i I set the value with this code : strcpy ( dimString.primary.single,newVal ) ; mdlDim_setStrings ( &cotationElm, 0, &dimString )...
View Article[CONNECT u15 VB.NET] CopyContext causes Microstation to crash
Hi,the following demo code copies all elements of active model into default model of a target design file. It works fine in V8i, but crashes CE. The interesting point is that the code does work: It...
View Article[VBA] PowerInroads SS10 How to use LineElement.ConstructFillet
Hi,Could someone please help me out with an example or explanation of how to use ConstructFillet for line elements. I am having difficulty understanding how to use this. I think mostly I don't...
View Article[U15 C++] how to read DialogItemListRsc?
Hi everybody,I have a DialogItemListRsc :DialogItemListRsc LSTITEMID_Reference = { { {{0, 0, 0, 0}, Separator, SEPARATORID_ReferenceAtlog, ON, SEPARATOR_VERTICAL, "", ""}, {{0, 0, 0, 0}, IconCmd,...
View ArticleMissing Visual Studios 2017 templates for project creation and remapBeijing...
While going through the migration document, we have realized that there seems to be an automated way of converting the old .mc files to cpp files by the tool called "remapBeijing" which uses a map file...
View Article[CONNECT C++] MicroStationAPI Configuration Variable List
This section in the MicroStationAPI help doc could do with some improvement...
View Article[CONNECT C++] DgnElementSetTool::_SetLocateCriteria
There are no examples that show how DgnElementSetTool::_SetLocateCriteria should be used. The MicroStationAPI doc says:Called from BeginPickElements and BuildAgenda to setup modelRef search list. If...
View Article[CONNECT C++] Locate Tool: locate closed curve
I can write a locate tool that enables a user to pick a closed curve (e.g. a DGN shape element). The user must datapoint a line or curve that defines the perimeter of the shape.How can I write a tool...
View Article[CONNECT C++] DgnRegionElementTool::_AcceptClosedElement
I'm attempting to write a tool to select closed elements. DgnRegionElementTool seems a likely candidate. I want to verify that the perimeter elements picked by the user are suitable. My problem is...
View Article[CONNECT C++] ECObjectsStatus Clarification
When writing code that footles with ECObjects the ECObjectsStatusenum provides a large set of error codes. It seems I'm often able to write code that results in one of those errors. Most are...
View Article[CONNECT MDL] Reuse Dialog Box Item
One of the benefits of MDL dialog boxes is that we can re-use dialog items. That is, one can define a dialog item once and use it many times, in one or more dialog item lists.This re-use idiom extends...
View Article[VBA] PowerInroads SS10 How does one locate an element that is a member of a...
Hi,I wrote a progam that creates a graphics group and I would like to write a program to delete a member of the graphics group without disturbing the rest of the graphics group. The graphics group is...
View ArticleError "building a simple MDL Application"
Hi,I have a question about the HelloWorld example on webpage :"Building a simple MDL Application"When I try to build it, I get the error:MicroStation Resource Compiler 03.19.02 BMAKE: no rules to build...
View ArticleHow to modify\edit the range box of a smart solid in microstation SS3
HiI have a Microstation V8 dgn file in which i have one smart solid. The range of the smart solid is very huge, (not sure why the user designed like that). Is there any way to edit the range box of the...
View ArticleMake File Wiki
Robert Hook wrote: I created an Wiki page where we can add/provide additional MDL Make File topicsUnfortunately, we can't add comments to that Wiki.Unfortunately, because the Wiki refers to bmake...
View Article[connect c++] [ver 14] edit original text/textblock rather than edit and...
I have text in my design file that contain MSLINK attributes. I need to edit the text, not replace so I can keep the existing MSLINK. Is there a way to change the text the same way the "EDIT TEXT"...
View Article