• RE: Find intersection point of a line passing through a plane

    Plane3dIntersectsRay3d method fails for a particular element. How to fix this issue? Sample code is given below and the Sample DGN is also attached. Option Explicit Public Sub testPlaneIntersectRay() Dim shp As ShapeElement Dim lin As LineElement…
  • [V8 XM & V8i C++] Visual Studio version.

    Hi, What version of Visual Studio is officially recommended to use for Microstation V8i and Microstation V8 XM development? Thanks.
  • possible to use different config vars based on what version of MS?

    Is it possible to use different configuration variables in a *.pcf based on which version of Microstation the user is using? We are running both XM and v8i. There was an issue in XM that was resolved in v8i having to do with a large number of…
  • CommonDialog问题解决?

    [转载Bentley中文知识库原帖] cmx_stone:我想修改一下bentley的另存对话框,在里面需要使用CommonDialog控件,在"引用"中也选取了comdlg32.ocx控件了,但是使用中我的电脑可以,放到其他电脑上就不能使用了,请问是何道理? 程序如下: Public Function SaveTo() On Error GoTo error SaveTo = "" Dim Dname As String Dim comdlg As CommonDialog…
  • Re: CommonDialog问题解决?

    [转载Bentley中文知识库原帖] MicroStation迷:在我的电脑上也能运行呀!是否需要更新VBA core。找个MicroStation V8XM或V8i的于安装包安装一下试一试。
  • Re: CommonDialog问题解决?

    [转载Bentley中文知识库原帖] cmx_stone:好的,请您看看呢,用之前在引用里勾选一下"Microsoft Common Dialog Control 6.0" [转载Bentley中文知识库原帖] MicroStation迷:把你的Function改成Sub就能运行了。MicroStation VBA中只有Sub才是可以直接运行的,Function必须被Sub调用才可。 [转载Bentley中文知识库原帖] cmx_stone…
  • Project Point onto a Plane

    Dear All, I have a point3d values and a Plane/Surface. I want to project the point onto a Plane/Surface. How Can I get that projected point using VBA Programming? Kindly clarify. Please refer the attachment: In the attachment Cyan color represents…
  • Re: Project Point onto a Plane

    Thanks Jon. I checked it. It produces a point perpendicular to the plane (or) the Nearest Point on Plane. But I want to get the height(Z values) on a plane corresponding to XY values. Is there anyother option? Refer the attachment: Majenta color…
  • VRML API in MDL

    Hi, I need to export selected element into a VRML file. There is an API to do that? Or, at least, an API to export individual element as VRML? Thanks in advance, Philippe