Bentley Communities
Site
Search
User
Site
Search
User
Product Communities
Developers and Programming
MicroStation Programming
Cancel
MicroStation Programming
[Archived] 中国BDN社区 VBA
Sign In
All tags
v8 xm
Bentley
Macro
MicroStation
mvba
Plane3dIntersectsRay3d
v8i
VBA
vba Microstation V8i
Deleting a Cell Definition to Replace the Cells with a Different One
Koit Rikson
Hi I'm looking for help on the question detailed above where my purpose is to delete a certain SharedCellDefinition (I failed at writing a VBA snippet for this so resorted to the CadInputQueue instead), then attach a new cell library (the code firstly…
over 7 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
RE: Find intersection point of a line passing through a plane
Dharma Rajan
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…
over 7 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
Re: Project Point onto a Plane
Dharma Rajan
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…
over 9 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
CommonDialog问题解决?
Sophie Qingwen
[转载Bentley中文知识库原帖] cmx_stone:我想修改一下bentley的另存对话框,在里面需要使用CommonDialog控件,在"引用"中也选取了comdlg32.ocx控件了,但是使用中我的电脑可以,放到其他电脑上就不能使用了,请问是何道理? 程序如下: Public Function SaveTo() On Error GoTo error SaveTo = "" Dim Dname As String Dim comdlg As CommonDialog…
over 14 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
Re: CommonDialog问题解决?
Sophie Qingwen
[转载Bentley中文知识库原帖] MicroStation迷:在我的电脑上也能运行呀!是否需要更新VBA core。找个MicroStation V8XM或V8i的于安装包安装一下试一试。
over 14 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
Re: CommonDialog问题解决?
Sophie Qingwen
[转载Bentley中文知识库原帖] cmx_stone:好的,请您看看呢,用之前在引用里勾选一下"Microsoft Common Dialog Control 6.0" [转载Bentley中文知识库原帖] MicroStation迷:把你的Function改成Sub就能运行了。MicroStation VBA中只有Sub才是可以直接运行的,Function必须被Sub调用才可。 [转载Bentley中文知识库原帖] cmx_stone…
over 14 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
Project Point onto a Plane
Dharma Rajan
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…
ProjectPointOnPlane.png
View
Hide
over 9 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
View related content throughout MicroStation Programming
More
Cancel