RE: [CONNECT VBA] CreateTextElement1 unknown error (80040c7f)
Hi Oto, it's because it's not allowed to create text element with zero length (with no characters). I guess it's feature of DGN V8 format. The same code can be run in MicroStation V8, but from very...
View Article[CONNECT VBA] CreateTextElement1 unknown error (80040c7f)
Why this part of code no longer works in CE and returns unknown error?Dim teP As TextElementSet teP = CreateTextElement1(Nothing, "", Point3dZero, Matrix3dIdentity)
View ArticleRE: (v8i VBA) Returning the XY range of a shape element to a form
Yes, Jon, I understood that the values could be passed back and forth, however, I did not understand what the iLocateCommandEvents class was doing in the first place. So that was my own...
View ArticleRE: How can i get the element information of an element which used for fence...
Hi Vinoth, I am pretty sure there is no such functionality in VBA available ... and without many restrictions defined it's a question how such functionality should be implemented. So you have to...
View ArticleRE: How can i get the element information of an element which used for fence...
Please follow the MicroStation Programming forum best practices.Identify Your PlatformPlease identify the version of MicroStation, or other product such as PowerDraft, that you are using: MicroStation...
View ArticleHow can i get the element information of an element which used for fence...
hello,my requirement is to make a fence from boundary of a shape element by clicking inside of the shape (not "on the shape") and get the element ID of that shape element for further process with...
View ArticleRE: (v8i VBA) Returning the XY range of a shape element to a form
Hi Len,[quote user="Len Tillman"] I did not understand what the iLocateCommandEvents class was doing in the first place.[/quote]I agree IPrimitiveCommandEvents and ILocateCommandEvents classes require...
View ArticleRE: [CONNECT C#] Create text with active text style
I find that this works better since GetSettings is not very reliable. public static DgnTextStyle GetActiveTextStyle() { DgnFile dgnFile = GetActiveDgnFile(); string activeTextStyleName =...
View Article[CONNECT C#] Create text with active text style
I am trying to create a text using the new .net API, but I cannot find out how to apply the active text style. What I have tried is to get active text style and create a TextBlock like this:...
View ArticleRE: [CONNECT C++] TextBlock location and size
Hi,regarding location of a textblock and height/width of text I have put an example together, which places a textnode at xyz(25,35,45) and assigns a textheight and textwidth of 8 mu to the second...
View Article[CONNECT C++] TextBlock location and size
Hi,I double checked class textblock methods. I did not find out there is any methods to set textblock size. Is there any way to set every run of text location?Best,
View ArticleHow to run macros to import event points into many horizontal alg files
Hi,I do have bridge chainages in .txt file and my horizantal alignement files are many. Now I need to import bridge chainages into all these alignment files. For that I need to 'set active ' each...
View ArticleRE: How to run macros to import event points into many horizontal alg files
Please follow the MicroStation Programming forum best practices.Identify Your PlatformPlease identify the version of MicroStation, or other product such as PowerDraft, that you are using: MicroStation...
View ArticleRE: How to run macros to import event points into many horizontal alg files
216236.467216417.856218324.946219624.343221208.874221362.273222270.046222394.206224326.47225231.300226571.923227056.419227702.702228710.231229798.813230690.370231061.337232666.469233295.279233750.55123...
View ArticleRE: How to run macros to import event points into many horizontal alg files
Consider asking this question in the form of a user looking for an existing product workflow also on the GEOPAK | InRoads | MX | OpenRoads Forum. Doing so may reveal if the Civil product you are using...
View ArticleRE: [CONNECT C++] Single line of text string
Expanding on Jon's topic of deprecation of MDL V8 C API functions and structures in MicroStation CONNECT: MicroStation MDL C API functions and structures (introduced in v8.x and prior) added/marked for...
View ArticleRE: [VBA] Cursor and Form location
Why a form? If it always is following your cursor, you would never be able to interact with it. Have you considered using transients for displaying your values?
View ArticleRE: [V8i - MDL/CPP] Bug in mdlPattern_addAssociative in V8i SS4 (8.11.09.832)
Defect 537245 has been resolved. Please contact Bentley product Technical Support team to see if you are eligible to receive an incremental build update that addresses the issue described. Please refer...
View Article[V8i - MDL/CPP] Bug in mdlPattern_addAssociative in V8i SS4 (8.11.09.832)
Hi allWe've found a bug in mdlPattern_addAssociative (and in mdlPattern_addAssociative2 as well). If you use code like this:PatternParams patPar; memset(&patPar, 0, sizeof(patPar));...
View Article