RE: How to add a handler to an ElementHandle
Hi, I am not able to find IElementHandlerManager in V8i SDK documentation. It seems it's published in lib file, but without publicly available documentation. What is the functionality of this class? It...
View ArticleHow to add a handler to an ElementHandle
In V8i, I can use IElementHandlerManager to register a handler and add the handler to an element, but in Connect edition, the IElementHandlerManager was disappeared.So, if I wrote a class derived from...
View ArticleRE: [Connect update 4 VBA] How to change TextNodeElement Rotation
Hi Nenad,for a Textelelement the 3x3 rotation Matrix defines this rotation.To unrotate a textelement an approach would be to apply the inverse matrix as transformation to the textelelement.Here an...
View ArticleRE: [Connect update 4 VBA] How to change TextNodeElement Rotation
Hi Artur,Thanks for help.My problem is change in TextElement behavior from V8i. Vi have discussed this last few days.So, I have to switch to TextNodeElement and use it to represent points measured with...
View ArticleRE: [Connect update 4 VBA] How to change TextNodeElement Rotation
[quote user="Nenad Poljcic"]However, since TextElement behave differently in Connect ( origin changes when using justification ) I use TextNodeElement to represent my points.[/quote]So it's the reason...
View ArticleRE: Raster File Validation in C# Connect Update 4 and SDK 4
Hi Olcay,[quote user="Olcay EBCIN"]I couldnt loop through Raster files[/quote]What does it exactly mean? What code do you use for the iteration and is there any error you receive or some other...
View ArticleRE: [CONNECT C++] mdlSystem_newDesignFile
Hi Patrice, I am not sure, but I assume this behaviour is controled by "Auto-save design changes" user preference setting. If it's switched off, MicroStation waits for a confirmation if changes should...
View Article[CONNECT C++] mdlSystem_newDesignFile
Hi,I re-open a design file with the mdlSystem_newDesignFile function. Ms opens an alert Window "Save the changes to xxx.dgn" and wait an answer.Is it possible to avoid that window (there was no such...
View ArticleRE: [V8i VBA] Copying listbox items to 2D array but getting wrong number of...
[quote user="Barry Lothian"]I have a listbox [/quote]What kind of ListBox? Is that the ListBox (Forms control) delivered with VBA?
View ArticleRE: [Connect C++] mdlText_expandTabs signature issue
[quote user="Kari Heinola"]mdlText_xxx[/quote]The MDL text library is obsolete. Please investigate the MicroStationAPI TextBlock technology.
View ArticleRE: [V8i VBA] Copying listbox items to 2D array but getting wrong number of...
Yes Jon, that's precisely it.
View ArticleRE: [Connect C++] mdlText_expandTabs signature issue
Consider creating a shortcut to the SDK help file: ..\doc\MicroStationAPI.chm.This file contains verbatim all SDK include files (.fdf, .h and .r.h) allowing quick, convenient, and precise searching to...
View ArticleRE: Raster File Validation in C# Connect Update 4 and SDK 4
[quote user="Olcay EBCIN"]Does anybody know how to do it?[/quote]I have had no time to test code, but I think you should check RasterManager.Rasters property that returns object implementing Rasters...
View ArticleYNT: RE: Raster File Validation in C# Connect Update 4 and SDK 4...
Dear Jan,I know how to loop through attached raster files in vba. And I would expect code like this: foreach(Raster ras in RasterManager.Rasters){.... some code}Unfortunately this code doesnt work in...
View ArticleRE: [V8i VBA] Copying listbox items to 2D array but getting wrong number of...
Redim TempArray(0)Lose that line. The function will return a populated array. Redimensioning it to a single dimension may confuse VBA.Keep in mind that VBA arrays are often, but not always, 1-based...
View Article[Connect C++] How to set note dimension text with mdlDim_setStrings?
With MS V8i I have to create a node dimension with code likemdlDim_create(&el, NULL, NULL, DIMTYPE_NOTE, view1);...DimStringsWide dim_strings;memset(&dim_strings, 0,...
View ArticleRE: Raster File Validation in C# Connect Update 4 and SDK 4
Hi Olcay,[quote user="Olcay EBCIN"]Raster ras in RasterManager.Rasters gives error.[/quote]Is that seriously "developer's answer"? What error? What is reported? Is it runtime exception or an issue is...
View ArticleRE: [Connect C++] Dpoint3d in publishStructures definitions
[quote user="Kari Heinola"]Adding #include <Mstn\MicroStation.r.h> [/quote]Adding header files randomly will take a long time.Start with this...#include <Mstn/MdlApi/MdlApi.h>If you have...
View Article[Connect C++] Dpoint3d in publishStructures definitions
My app uses structure to transfer data to VBA code and structure has various wchar_t and Dpoint3d fields. For MS V8i the header file has #include <mstypes.h>, but with Connect using #include...
View ArticleRE: Raster File Validation in C# Connect Update 4 and SDK 4
Thanks a lot Jan. This is what my answer is. kind regards, Olcay
View Article