Browse By Tags

  • IViewUpdateEvents

    I had developed a program using vba. It was executed successfully in Microstation V8. But in Microstation v8i[Select series 1] - version 08.11.07.171, the same program doesn't work and there is no compile error/runtime error also. How to fix this? Kindly…
  • Get CoordSystem

    I am trying to use a vba wrapper declaration which is given below. But how to get the value of coordsystem using vba which in turn used as a input parameter for the below given wrapper declaration. Declare Sub mdlView_getViewRectangle Lib "stdmdlbltin…
  • [V8i MDL] White as transparent color for mdlImage_extCreateFileFromRGB

    I'm using mdlImage_extCreateFileFromRGB to export design file as image with setting Preferences -> Black background -> White set to true. So I have white background in my view. What I need is to set white background to be transparent when exported to…
  • RE: Export All the CoOrdinates

    Hai Jan, I have to just export the CoOrdinates for a collection of dgn files. As you mentioned, the functionality which is available in Microstation by default, is well enough for my purpose. But in case of many dgn files, it would be a time consuming…
  • Export All the CoOrdinates

    Hai, I want to export the CoOrdinates of all elements in a dgn. How to perform this by using vba? [Microstation version 0.8.05.01.25 Windows x86]
  • Level Properties - Usage

    In Level Manager, the level properties dialog box has a tab named 'Usage' which contains the detailed count of various type of elements available in that particular level(refer attached screenshot). How to get that element count details using VBA?
  • RE: Boundary points of raster

    Hai Mathieu, Please find the below screenshot. In that white colored object represents the raster(Input) and Magenta colored text represents the boundary points(Output) which I want to produce using MicrostationVBA.
  • Boundary points of raster

    How to get the boundary points co-ordinates(not the range) of a attached raster using Microstation VBA?
  • RE: How to get the shared length between two linestring?

    Hi Artur, I attached a simple screenshot for your reference, in which the blue and yellow colored elements represents two individual line elements and the Magenta color represents the shared part/length between them. Hi Jan, By using object .…
  • How to get the shared length between two linestring?

    I want to get the shared length between two linestring. How to achieve this using vba?
  • How to get the points inside smart solid?

    I am using Microstation Version 08.05.01.25 Windows x86. I want to get the points(line element) which falls inside the tube(Smart solid) element. How to achieve this using VBA? Example is given in the below screenshot for your reference, the cyan colored…
  • Get intersection points for unconnected line

    How to get the intersection point between two unconnected lines using vba (similar to intersect snap) as shown in screenshot given below?
  • How to get the shared area between two shape/complex shape element?

    I want to get the shared area between two shape/complex shape element. How to achieve this using vba?
  • How to Get intersection points for 3D elements using vba

    By default object .GetIntersectionPoints( Intersector , Rotation ) method, returns apparent intersections, ignoring differences along the Z-axis. But I need intersections without ignoring differences along the Z-axis. Is there method/option available…
  • How to use point3d as optional argument

    I try to use a point3d parameter as optional argument as given in the below code. But it produces a "compile error: Constant Expression required". How to solve this? Private Sub test(Optional testPoint As Point3d = Point3dZero) ''Some code End Su…
  • Microstation elements

    Heeeelp me... Sorry my bad English... I’m a Brazilian Student and curious about Intergraph PDS (working now with it). Pleeeeease, can you help me with how can I work with type 63 data in seed settings for microstation – PDS configuration? I want…
  • RE: GetIntersectionPoints method

    No. If you zoom-in closer to that connected point, there is a gap of 0.000033m will be available. i.e. the two lines are not connected/intersected. Refer the attached screenshot for more details.
  • GetIntersectionPoints method

    I am using (LineElement.)getIntersectionPoints method to find the number of intersection points between two specific line elements. In some case, there is no intersection between the lines. But the getintersectionPoints method returns a intersection point…
  • AccuDraw Status

    Using VBA, how to check whether AccuDraw is activated or not?
  • Modify Function Keys

    Is there any option to modify the string for a particular key in Function Keys[.mnu] using VBA?
  • Create toolbar

    At present I am using form with a group of buttons to invoke various method/functions in VBA. Since form occupies more space, I wish to use toolbar. Is there any option to create customized toolbar in Microstation? [I am using Microstation Version 08…
  • Duplicate UPF file

    Hi Guys I am wondering if anyone has ever known of MicroStation to produce a duplicate copy of a UPF file and place it under the Bentley Workspace > Systems > Data folder? MicroStation appears to use it and save settings only updates the UPF I have…
  • RE: Find nearest Grid Point

    Hai Jan, Sample.dgn file is attached for your reference. In that DGN File, the Red colored line element represents the input and the Green colored line element represents the output expected.
  • Draw Sections along center line and offset to centerline (C# Programming for microstation V8 2004)

    Hii All, I am new to microstation development. I am using C#.net and Visual Studio 2010. I want to do offset of a center line in both side and draw sections in a certain interval to the centerline. Would anyone help me to do this without using cadinputque…
  • Data point to lie on the grid cross hair or dot

    Dear All, How to snap the DataPoint to GridPoint? I tried with the code snippet given below. But it doesn't work. Is there anyother method/suggestion? ActiveSettings.GridLockEnabled = True CadInputQueue.SendKeyin "place smartline" CadInputQueue…