Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Browsing all 7260 articles
Browse latest View live

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 Article


How 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 Article


RE: [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 Article

RE: [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 Article

RE: [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 Article


RE: 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 Article

RE: [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 Article


RE: [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 Article


RE: [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 Article

RE: [V8i VBA] Copying listbox items to 2D array but getting wrong number of...

Yes Jon, that's precisely it.

View Article

RE: [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 Article

RE: 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 Article


Image may be NSFW.
Clik here to view.

YNT: 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 Article

RE: [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 Article

RE: 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 Article


RE: [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 Article

RE: 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
Browsing all 7260 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>