Bentley Communities
Site
Search
User
Site
Search
User
Welcome
Products
Support
About
More
Cancel
Wence
Likes
Profile
Activity
Communities
Friends
Likes
Achievements
Bookmarks
Blog Posts
Questions
More
Cancel
RE: [V8i C#/MVBA】如何根据视图的Z轴旋转角度旋转元素
Wence
非常感谢郭老师!这正是我想要的。我把完整代码贴出来,供参考。 //==========Get this views rotation matrix.. BCOM.Matrix3d vR = iView.get_Rotation(); BCOM.Matrix3d rMatrix = AddinMain.ComApp.Matrix3dTranspose(ref vR); double radiX = 0, radiY = 0, radiZ = 0, scale = 0; AddinMain…
over 2 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
RE: How to Get Selected Documents in Custom Callback State Function?
Jeff Burrill
I have a working custom mask for a couple of custom doc menu commands that rely on data that isn't exposed in the normal mask data for selected documents. It does exactly what Dan suggests - goes to the interface window and retrieves the data, passes…
over 5 years ago
ProjectWise Programming
ProjectWise Programming Forum
RE: [V8i MDL]调用VBA的问题
Wence
这好像就是我需要的,我来试试,谢谢符老师。
over 7 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
RE: [V8i MDL] 如何求两个矢量在xy平面的夹角
Yongan.Fu
Hello Wence, 我觉得mdlVec_angleBetweenVectorsXY应该可以满足您的需求。
over 7 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
RE: [ABD MDL]编译的例子DGExamples无法加载
Yongan.Fu
请改用VS2005+SP1编译试一下。对于NativeCode MDL,V8i系列需要用VS2005SP1,CE系列需要用VS2013.
over 7 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
RE: [v8i/OPM, MDL/C#] How to Create EC Instance
Jan Šlegr
Unknown said: I am under the impression that the foundation of the EC Schema framework is a self-contained DGN file that contains both meta-data (the schema) and data (element EC attributes). This is a typical situation, but EC Framework itself supports…
over 8 years ago
MicroStation Programming
MicroStation Programming Forum
RE: Desktop iModelSDK (预览版)问题
Yongan.Fu
抱歉,发给您的这个预览版还不够“老”,已经切换到.imodel格式了。请接收新的私信,用这个更老版本的i-model SDK,其中是没有cpp的例子的,都是C#的。您需要用C#编程。
over 8 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
RE: imodel SDK的困惑
Wence
如能提供对.i.dgn操作的SDK那太好了!非常感谢!请查PM。
over 8 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
RE: imodel SDK的困惑
Yongan.Fu
预览版的i-model SDK曾经是支持.i.dgn格式的,但目前正式发布的版本默认是支持.imodel的。.imodel格式将成为真正的标准格式,.i.dgn会逐渐退出历史舞台。 目前如果OpenPlant还不能直接发布成.imodel的话,可借助工具将.i.dgn转换为.imodel(详见文章: DgnDb i-model Importer )。新版MicroStation V8i和MicroStation CONNECT都支持直接发布成.imodel了。 另外,在目前的i-model…
over 8 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
RE: [V8i, MDL C++] Read xml file
Jon Summers
Unknown said: I'm wondering if Jon or anyone else can help me re-define this type so I can build my project in VS2008 Stop wondering: don't do it! You are building a native-code DLL that runs in the memory space of a host executable. Your app. makes…
over 8 years ago
MicroStation Programming
MicroStation Programming Forum
HookWatcher source code
Dan Williams
This source code is to create a Custom Module x86 that will output the name and other information to the output window in Visual Studio 2010 to help you determine what hooks are available for a given user action in ProjectWise Explorer. If you aren…
HookWatcherSource.zip
over 8 years ago
ProjectWise Programming
ProjectWise Programming - Media Gallery
Comment on HookWatcher Demo
Wence
This is very good! Thanks Dan, hoping to see more demo like this!
over 8 years ago
ProjectWise Programming
ProjectWise Programming - Media Gallery
RE: The XMLInstance examples have been deprecated.
Yongan.Fu
I have written an simpler sample for XmlInstance usage as attached. FYI YongAn
imodel.cpp
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
RE: [V8i MVBA] Extrude Profile to Solid
Wence
Unknown said: You should start your macro with ? 1 SetCExpressionValue "tcb->smartGeomSettings.flags.representAsSurfaces" , 1, "3DTOOLS" to be sure the setting has the correct value (surface). Regards, Jan…
over 9 years ago
MicroStation Programming
MicroStation Programming Forum