Bentley Communities
Site
Search
User
Site
Search
User
Welcome
Products
Support
About
More
Cancel
Browse By Tags
All tags
MicroStation
Bentley
3D
AECOsim
AECOsim Building Designer
Architecture
Bentley Architecture
Bentley Architecture BA
BIM
CAD
connect
DGN
Edition
Geopak
InRoads
macros
MDL
MicroStatio
MicroStation V8i
Printing
Programming
ProjectWise
Speedikon
tool
v8 xm
v8i
VBA
IViewUpdateEvents
Dharma Rajan
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…
over 8 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
Get CoordSystem
Dharma Rajan
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…
over 8 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
[V8i MDL] White as transparent color for mdlImage_extCreateFileFromRGB
Mantas Unknown
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…
over 8 years ago
MicroStation Programming
[Archived] 中国BDN社区 MDL/C/C++
RE: Export All the CoOrdinates
Dharma Rajan
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…
over 8 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
Export All the CoOrdinates
Dharma Rajan
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]
over 8 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
Level Properties - Usage
Dharma Rajan
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?
over 8 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
RE: Boundary points of raster
Dharma Rajan
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.
over 8 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
Boundary points of raster
Dharma Rajan
How to get the boundary points co-ordinates(not the range) of a attached raster using Microstation VBA?
over 8 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
RE: How to get the shared length between two linestring?
Dharma Rajan
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 .…
over 8 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
How to get the shared length between two linestring?
Dharma Rajan
I want to get the shared length between two linestring. How to achieve this using vba?
over 8 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
How to get the points inside smart solid?
Dharma Rajan
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…
over 8 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
Get intersection points for unconnected line
Dharma Rajan
How to get the intersection point between two unconnected lines using vba (similar to intersect snap) as shown in screenshot given below?
over 8 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
How to get the shared area between two shape/complex shape element?
Dharma Rajan
I want to get the shared area between two shape/complex shape element. How to achieve this using vba?
over 8 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
How to Get intersection points for 3D elements using vba
Dharma Rajan
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…
over 8 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
How to use point3d as optional argument
Dharma Rajan
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…
over 8 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
Microstation elements
Augusto Telles
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…
over 9 years ago
MicroStation Programming
MicroStation Programming Forum
RE: GetIntersectionPoints method
Dharma Rajan
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.
GapBetweenLines.png
View
Hide
over 9 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
GetIntersectionPoints method
Dharma Rajan
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…
intersectSample.dgn
over 9 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
AccuDraw Status
Dharma Rajan
Using VBA, how to check whether AccuDraw is activated or not?
over 9 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
Modify Function Keys
Dharma Rajan
Is there any option to modify the string for a particular key in Function Keys[.mnu] using VBA?
over 9 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
Create toolbar
Dharma Rajan
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…
over 9 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
Duplicate UPF file
JR
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…
Answered
over 9 years ago
MicroStation
MicroStation Forum
RE: Find nearest Grid Point
Dharma Rajan
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.
Sample.dgn
over 9 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
Draw Sections along center line and offset to centerline (C# Programming for microstation V8 2004)
Manoj_Pal
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…
over 9 years ago
MicroStation Programming
MicroStation Programming Forum
Data point to lie on the grid cross hair or dot
Dharma Rajan
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…
over 9 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
<
>