Re: [V8i C# Addin] FloodFill Method
zCane75:Are all these VBA methods available to C# addins?Yes, .NET assembly includes all COM functions and types. Even more, it also supports some functions not available in VBA.C# also supports all...
View ArticleRe: DrawRaster API display is pixallated when I zoom-in beyond 1:1 image...
Hi, First could you be more specific about what you mean by the DrawRaster API?Whatever the resampling is I doubt the pixelate effect can be avoided when you zoom-in beyond the 1:1 image pixel scale....
View ArticleRe: DrawRaster API crashes if width or height parameters are above 2K
Hi Yongan,mdlRaster_xxx is not suitable to our requirements. we need to handle many GIS features like coordinate transformations, image enhancements, filters etc, which are not available in the raster...
View ArticleRe: [V8i C++] Questions about monitors, screen position, coordinates, and views
mdlView_pointToScreen gives you back a point in the coordinates of the client window. mdlWindow_globalPointToScreen changes the point from client coordinates to screen coordinates (i.e. relative to UL...
View ArticleRe: DrawRaster API crashes if width or height parameters are above 2K
Hi Jon Summers,DrawRaster is a method on interface IViewDraw which is part of MicroStationAPI and it can be used to render any raster buffer data on the viewport. We are using it to render our...
View ArticleRe: DrawRaster function crashes if width or height parameters are above 2K
Thanks for clarifying the API you are using.#include <IViewDraw.h>Interface IViewDraw inherits from IDrawGeom in the MicroStationAPI. IDrawGeom supplies DrawRaster.dell:Can I split the viewport...
View ArticleRe: DrawRaster API display is pixallated when I zoom-in beyond 1:1 image...
Hi Ravi, Currently resampling can occur at least at three levels :1- When the sub-resolutions of the raster file are created.2- When Raster Manager is pumping the pixels from the raster file.3- When...
View ArticleRe: DrawRaster function crashes if width or height parameters are above 2K
Hi Ravi, Raster Manager is using DrawTiledRaster, mentioned by Jon, instead of DrawRaster to do the drawing. Unfortunately the Raster::TiledRaster struct doesn`t seem to be available in the SDK, so...
View ArticleRe: [V8i C# Addin] Storing data in the DGN file?
PMFJI, MicroStationAPI has provided a perfect approach to append XAttributes to a model or file (independent of any specific element). For example,ApplicationSettings fileSettings =...
View ArticleRe: [2004 MDL] calculate distance between two points of a line.
Michael Stark: You have to learn how to work with MicroStation to be able to become a good programmer in that area. If you don't know how MicroStation normally reacts, what you can still do without any...
View ArticleRe: [2004 MDL] calculate distance between two points of a line.
sagar:here its lack of expert who can teach MicrostationYou can buy a book Harnessing MicroStation V8i
View ArticleRe: [v8i] How to use MsdDimStackedFractionAlignment class
Thanks Mr. FuI checked the help file and I am stuck with this line of codes.Function StackedFractionSetting(ByVal otextElement As TextElement) Dim oDimensionStyle As...
View ArticleRe: [v8i] How to use MsdDimStackedFractionAlignment class
RJ:Dim ee As ? Right out of the Object-Catalog, the prototype of "scan"Function Scan([ScanCriteria As ElementScanCriteria]) As ElementEnumerator...
View ArticleRe: [v8i] How to use MsdDimStackedFractionAlignment class
How about "ElementCache"?I have tried to use"ElementEnumerator" but I encountered a Type Mismatch error.Using ElementEnumerator, it needs to have this line Set oEnumerator =...
View ArticleRe: [v8i] How to use MsdDimStackedFractionAlignment class
One step back,Your thread Topic "MsdDimStackedFractionAlignment" is not a class it is an enumerator!RJ: but I encountered a Type Mismatch error.When do you get this? Which line of your code?
View ArticleRe: [v8i] How to use MsdDimStackedFractionAlignment class
Frank_Klein:One step back,Your thread Topic "MsdDimStackedFractionAlignment" is not a class it is an enumerator!Yes that's a mistake. Please ignore thread title.
View ArticleRe: [v8i] How to use MsdDimStackedFractionAlignment class
RJ:I have tried to use"ElementEnumerator" but I encountered a Type Mismatch error.We can't see your code, so we don't know...Where in your code the error occurredWhether it occurred at run-time or...
View ArticleRe: [v8i] How to use MsdDimStackedFractionAlignment class
I am now confused. :-)In my main Sub I scanned all the text element.oScanCriteria.ExcludeAllTypes oScanCriteria.IncludeType msdElementTypeText Dim oEnumerator As...
View ArticleRe: [v8i] How to use MsdDimStackedFractionAlignment class
RJ:TYPE MISMATCH / I know because oDim is DimensionElement and oDimension is TextElement. How to apply dimensionstyle to TextElement? You can't.A DimensionElement is a complex element. You can affect...
View Article[V8i C#] C# code to .ma
Hi. I would like to know if it is possible to compile C# code to .ma files. I can compile and use the .dll files but can't seem to find anything about .ma files.If it is possible, could someone post...
View Article