RE: [CONNECT C++] Need to modify text/textNodes in a cell
Something is not making sense to me (yet?). I've got a cell (model) that has a line of text. The origin for the text is NOT at 0,0,0 of the cell model. In my tool, I scale, translate, and rotate the...
View Article[CONNECT C++] Need to modify text/textNodes in a cell
I have a need to transform (i.e. mirror) text and textNodes inside a cell as it is placed in order to orient the text as per our graphics standards. For each text element I need to get the text range...
View ArticleRE: [CONNECT .NET SDK] All SDK examples do not work right away
Hi,I agree with some your comments and complaints, but some others sounds more like misunderstanding what SDK is and how it works.[quote user="PatB"]1. All examples have .NET 4 as Target Framework set....
View Article[CONNECT C++] Replacement for mdlText_extractShape()
In trying to develop a replacement for mdlText_extractShape(), the help file recommends:// This is the underlying range. DRange3d nominalRange = textBlock->GetNominalRange (); // You may then...
View ArticleRE: [VBA] Activate a dgnlib textstyle
[quote user="Jon Summers"][/quote]#If VBA7 Then Private Declare PtrSafe Function mdlTextStyle_addToFile Lib "stdmdlbltin.dll" ( _ ByRef pNewTableEntryId As Long, _ ByVal pStyle As Long, _ ByVal...
View ArticleRE: [VBA] Activate a dgnlib textstyle
And how to remove this lock flag if it is set? The keyin "textstyle unlock [textstyle_name]" doesn't apply to MS V8i >SS3. Returns "Unknown key-in or command."And how to set flag that style is...
View Article[VBA] Activate a dgnlib textstyle
How to activate textstyle programmatically(like after key-in:textstyle active "Tahoma_03_LT") which is from attached library(TextStyle.IsFromLibrary )? Dim txsp As TextStyle Set txst =...
View Article[CONNECT C++] Questions about TransformInfo and reflection
When mirroring a cell with text, it is possible to set the TRANSFORM_OPTIONS_DisableMirrorCharacters options and provide a MirrorPlane such that as the cell is rotated, the text elements are 1) not...
View ArticleRE: [CONNECT] Nautical Miles not present in EC Schemas
If master units are set to nautical miles, and "Show Label" is set to true, it should format as something like "12.34 NM2" or "12.34 Sq.NM". If master units are set to something other than nautical...
View ArticleRE: [CONNECT] Nautical Miles not present in EC Schemas
* sorry, I lied about the UORs-per-meter part - the conversion factor is applied to the value in master units. So e.g. if your master units are meters, a conversion factor of 1/1852 will give you...
View Article[CONNECT] Nautical Miles not present in EC Schemas
One of the options for DGN model units is nautical miles...However nautical miles (nm) is not included in either the Unit or Mstn Property Formatter schema. I don't know how many people use NM as...
View ArticleMDL and upgrading MicroStation from SS3 to SS4
I have a large body of MDL code last compiled and tested in SS3. It is still in pseudocode form. Do I need to recompile in order to upgrade MicroStation from SS3 to SS4? Do I need to convert to...
View Article[CONNECT] Enhancement Request: add Hectares to Mstn Property Formatter schema
In the metric world, Hectares is a common way to measure land area. A Hectare is 10,000m². It's analogous to the Acre in the English way of measurement.The MicroStation Unit schema includes...
View ArticleRE: MDL and upgrading MicroStation from SS3 to SS4
Hi Ken,[quote user="Ken Adams"]It is still in pseudocode form.[/quote]If I remember correctly, from V8.0 Bentley has recommended to move applications to native code and from V8 2004 Edition (I guess)...
View ArticleRE: MDL and upgrading MicroStation from SS3 to SS4
[quote user="Ken Adams"]Do I need to convert to nativecode? [/quote]I concur with Jan. With MicroStation V8i SSx, your MDL code should continue to work. Keep it as-is for maintenance. New...
View ArticleRE: [CONNECT C++] Replacement for mdlText_extractShape()
Here is what I came up with for determining the range of a piece of text:TextElemHandlerP pTextHandler=dynamic_cast<TextElemHandler*>(&child.GetHandler()); TextStringPtr...
View ArticleRE: MDL and upgrading MicroStation from SS3 to SS4
Thanks for your replies! I know I have a daunting port to CE in the future. I attended a Bentley workshop a couple of years ago where it was a challenge just to get their myapp example working. lol....
View ArticleRE: MDL and upgrading MicroStation from SS3 to SS4
Hi Ken,[quote user="Ken Adams"]But my understanding is that I do have to upgrade to SS4 for Windows 10 certification hence my question.[/quote]Well, the "have to" depends on a situation and specific...
View ArticleRE: [VBA] Activate a dgnlib textstyle
There seems to be issue in CONNECT edition that after modifying (or activating) a textstyle, the new properties are not available in VBA object ActiveDesignFile.TextStyles in the current session - this...
View Article