Metadata
This may be the wrong group but I figured you guys would know the answer.My office is involved in some litigation over an old project.The Lawyers are asking us to give them the "metadata" for the...
View Article[V8i C++] Copy Text Style into TCB
In V8i, I use the following code snip to "copy" a Text Style into the "none" style, and then text placed has the settings from my text style, but does not have a linkage back to the style (Element...
View Article[CONNECT C++] Copy Item Type Library to a DGN file
I want to copy an Item Type Library (ItemTypeLibrary class) from a DgnLib into the active DGN file.Having found the Item Type Library in a DgnLib, I think I want to use ItemTypeLibrary.CloneForFile...
View Article[V8i VBA] Vector3dPolarAngle Method - Result inverse of expected, why?
Simple test case above, I have a vector and I am using Vector3dPolarAngle to access the existing rotation of the vector. My understanding is the angle returned is calculated counter-clockwise from the...
View Article[CONNECT DItem_PushButtonXRsc] Trying to launch CONNECT "Place Note" tool
In one of my V8i tools, I display a DialogBox that has a PushButtonXRsc item. That item is defined like this:DItem_PushButtonXRsc PUSHBUTTONID_Note= { NOT_DEFAULT_BUTTON, NOHELP, MHELP,...
View Article[CONNECT C++] Getting a DgnTextStylePtr for StyleID=0
How does one get/set the "Style (none)" (i.e. StyleId 0 ) text style ? I've tried:DgnTextStylePtr noneStylePtr=DgnTextStyle::GetByID( 0, *ISessionMgr::GetMasterDgnFile() ); but that returns...
View Article[V8i C#] Enumerating sub elements of SmartSolid returns wrong elements
Hi everyone I'm having some trouble reading the sub elements of a SmartSolid Element. The code below is based on the answer given in this...
View Article[CE C++] Is it possible to create own in-memory only (virtual) DgnModel?
Hi,I am working on a feasibility study, where the main target is to visualize data in MicroStation. The data are accessible through custom API and because the dataset is huge, API is quite slow and...
View ArticleECSchema Editor 1.0 for viewing only now?
Hi all,I found found out that ECSchema Editor version 1.0 is available for download from Fulfillment Center.It seems to be completely rewritten and redesigned successor of Bentley Class Editor, but...
View Article[CONNECT C++] Text Styles: Misleading Documentation and irrelevant files and...
In its entirety, MstnTextStyle.h.../*--------------------------------------------------------------------------------------+ | | Supplied under applicable software license agreement. | | Copyright (c)...
View Article[CONNECT C++] SessionMgr: difference between Active DGN File and Master DGN File
ISessionMgr provides several pairs of methods that operate on a MasterDesignFile and ActiveDesignFile. What's the difference between Master and Active?
View ArticleHow to use codes to open the AcccuDraw
I inherited the class of DgnPrimitiveTool , my aim is to use this tool class to draw a line,in the mouse click event - _OnDataButton , write the codes.first: how to open the AccuDraw use codes , when...
View Article[CONNECT C++] Changing text font
Trying to change the font of a text element from Arial to Century Gothic, and using a code snip from the U5 help file: virtual StatusInt ChangeFontTool::_OnElementModify(EditElementHandleR eeh)...
View Article[CONNECT C++] TextBlock::FindText() linker headaches
I'm directly copying functions from the IncrementTextTool example into my code. One function calls textBlock->FindText()private: bool IsSelectionValid(TextBlockPtr& textBlock) { if...
View Article[Connect Update 5 C++] Trouble getting compiler to recognize windows files
Upgraded to the latest SDK for Update 5I have installed VS 2015 since that is now required..now I am having a hell of a time getting the bentley compiler to recognize files like windows.h and...
View Article[CONNECT C++] Use TextBlock::FindText() to locate "special" characters in a...
I'm using TextBlock::FindText() to locate text in strings. I can find letters and numbers just fine. I'm attempting to use Regular Expressions to find "Special" characters (like the "Copyright...
View Article[CONNECTION C++]How do I lock the AccuDraw direction
I' m wanna to Draw a line,there have a opened AccuSnap when I open the Draw Line Tool,so that can I catch a point as a start point of a line.Now I want to set a operation take effect,when the mouse...
View ArticleRe: [Connect Update 5 C ] Trouble getting compiler to recognize windows files...
Maury,Can you provide the buildoutput.txt and full developer shell environment variables list and values in a zip file to review? Good to hear the files needed exist.Thank you, Bob
View Article[MICROSTATION V8i SQLITE ODBC]
I 'm trying to connect MicroStation to SQLITE by ODBC, but MicroStation don't see the tableThanks
View Article[V8i C++] Using Standard PUSHBUTTON_OK in Modal DialogBox
I've got a modal DialogBox that includes the built-in PushButtons PUSHBUTTON_OK and PUSHBUTTON_Cancel. I'd like to (somehow) attach a hook function to these so when they are pressed, I can do some...
View Article