Unable to find what you are looking for? Click here
I joined Bentley in Feb. 2007. Before joining Bentley, I had worked at NCPE(North China Power Engineering, Beijing, China) for about 19 years. I am dedicated in supporting the users' development work based on Bentley products.
My native language is Chinese…
我按照目前的顺序也能编译通过。如下所示:
[== Building C:\Users\yongan.fu\AppData\Local\Temp\Bentley\MICROS~1\objects\OutputElement.obj, (C:\Users\yongan.fu\Downloads\test\include\OutputElement.h) ==] cl -IC:\PROGRA~1\Bentley\MICROS~2\include\ -IC:\PROGRA~1\Bentley\MICROS…
Paging Yongan.Fu...
yongan.fu@bentley.com
Bump!
Robert Hook
Yongan.Fu
Mangesh.Shelar
Thanks,
Jan
刘工:您好!
我下载了您的项目文件后在我这边执行bmake -a (-a参数表示all,就类似于VS中的Rebuild),没有任何错误。所以怀疑是否您的编译环境搭建有问题?
请看在我电脑上执行bmake -a的结果。我是在MSCE-U16.2 最新环境下编译的。
C:\Users\yongan.fu\Downloads\HelloWorld\HelloWorld>bmake -a Bentley Systems Make Utility. Version 10.00.00.26, Mar 15…
看您的截图仅仅是启动了开发环境Developer Shell并没有开始编译项目呀。编译项目需要到项目文件夹下键入bmake命令。
您可以先测试SDK自带的例子,比如C:\Program Files\Bentley\MicroStationCONNECTSDK\examples\Elements\ElementsExample
在此黑窗口下进入以上文件夹,然后键入bmake -a并回车看能否生成ElementsExample.dll和ElementsExample.ma
整个执行过程如下:
C:\Program…
Hello Yongan.Fu,
Thank you for your help!
Kind regards,
Ivan
Yongan.Fu said:Apologize a long time not in this English forum
Good to hear from you again!
Yongan.Fu said:virtual bool _IsModifyOriginal () override {return false;}
Thanks! The documentation is a little ambiguous about that method 8-)
我执行了您的mke文件,显示过程如下:
C:\111\HelloWorld>bmake -a Bentley Systems Make Utility. Version 10.00.00.26, Mar 15 2018 Sun Sep 26 13:47:19 2021 ~mkdir C:\Users\yongan.fu\AppData\Local\Temp\Bentley\MicroStationSDK\objects\ ~mkdir C:\Users\yongan.fu\AppData…
Hi Yongan.Fu,
thanks a lot, after necessary conversion this approach works fine also in NET :-)
Regards,
Apparently there is an MDL for this, written by Yongan.Fu in the ChinaFirst wiki.
MDLs for both V8i and CE are provided.
Haven't tried it so do provide feedback. The translation describes hiding but the command is MDL LOAD IsolateSelected
I think the Navigator is just for read-only opertation but the ReplaceCurrentElement method will try to change the element.
HTH, Yongan.Fu
my microstation return an Object required error in this case for the following line:
ShowPrompt CursorInformation.CurrentPointRaw.X & ", " & CursorInformation.CurrentPointRaw.Y
Hi Todd,
Your comments have told us the trick as following:
mgds_modes.always_read_only = TRUE; mdlSystem_newDesignFile ("C:\\mast.dgn");
Yongan.Fu said:Wizard created by innoCAD
Typo! That should be InnovoCAD. Here the link to that Wizard!
Yongan.Fu said:if (find_if (internalEdgeArray.begin(), internalEdgeArray.end(), edgeId_finder(edgeId)) != internalEdgeArray.end())
Good example of the C++ Standard Library!
Yongan.Fu said:They are different
With a complex line string, they are the same 8-(
But thanks for your help!
Yes you are. Sometimes the smallest things have the greatest impact. a missing extern "C" was all. Thanks a lot!
请下载博客文章模版并发至 yongan.fu@bentley.com
Hi Piers,
Would you like email your code (test case is better) to me ?
My Bentley email address is : yongan.fu@bentley.com