<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Ethan Yuan's Activities</title><link>https://communities.bentley.com/members/876972ea_2d00_1f87_2d00_46bc_2d00_b08e_2d00_db81398446b8</link><description>Ethan Yuan's recent activity</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>C# 关于接口中ElementGraphicsProcessor，ElementGraphicsOutput</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/f/microstation-projectwise/248136/c-elementgraphicsprocessor-elementgraphicsoutput</link><pubDate>Wed, 26 Jul 2023 02:21:06 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:7e6f0c19-7029-4c74-b547-671d51a04eb4</guid><dc:creator>Ethan Yuan</dc:creator><description>&lt;p&gt;看到以前有帖子询问如果遍历drawing模型中的所有元素，是通过C++中的类似接口实现的，我看到C#中有类似的接口ElementGraphicsProcessor，ElementGraphicsOutput，通过这两个类可以实现遍历绘图中元素的需求吗。如果可以能给个具体用法或者例子吗&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>C#有类似于C++提供的那样遍历图纸(Sheet Model)的接口吗?</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/f/microstation-projectwise/244385/c-c-sheet-model</link><pubDate>Wed, 19 Apr 2023 11:23:02 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1371aa0b-cde6-4274-849d-5fa0fde73f26</guid><dc:creator>宁小雨</dc:creator><description>&lt;p&gt;C#有类似于C++提供的那样遍历图纸(Sheet Model)的接口吗?, 类似于郭老师提供的C++方法&lt;br /&gt;&lt;a href="https://communities.bentley.com/communities/other_communities/bdn_other_communities/b/bdn-blog/posts/sheet-model"&gt;communities.bentley.com/.../sheet-model&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>I got the error &amp;quot;Error: DLL load failed&amp;quot; when I running the CC test.</title><link>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/f/contextcapture-descartes-pointools-forum/240216/i-got-the-error-error-dll-load-failed-when-i-running-the-cc-test</link><pubDate>Fri, 06 Jan 2023 07:29:57 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:156ee1e1-4832-4836-a7a0-0beaef46ce45</guid><dc:creator>Ethan Yuan</dc:creator><description>&lt;p&gt;the error content as follow:&lt;/p&gt;
&lt;p&gt;(10.19.1.45) C:\Program Files\Bentley\ContextCapture Center\sdk&amp;gt;python&lt;br /&gt;Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] on win32&lt;br /&gt;Type &amp;quot;help&amp;quot;, &amp;quot;copyright&amp;quot;, &amp;quot;credits&amp;quot; or &amp;quot;license&amp;quot; for more information.&lt;br /&gt;&amp;gt;&amp;gt;&amp;gt; import ccmasterkernel&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;&amp;lt;stdin&amp;gt;&amp;quot;, line 1, in &amp;lt;module&amp;gt;&lt;br /&gt; File &amp;quot;C:\Users\hyzx\AppData\Local\Bentley\ContextCaptureSDK_CCCenter\10.19.1.45\lib\site-packages\ccmasterkernel\__init__.py&amp;quot;, line 24, in &amp;lt;module&amp;gt;&lt;br /&gt; from ccmasterkernel.bindings import *&lt;br /&gt;ImportError: DLL load failed: 找不到指定的模块。&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>[MS C#] 关于GetAllRelationshipInstances方法的用法</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/f/microstation-projectwise/243151/ms-c-getallrelationshipinstances</link><pubDate>Tue, 21 Mar 2023 05:58:42 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:fd243c27-ac21-44f8-9d77-971880a8fb68</guid><dc:creator>Ethan Yuan</dc:creator><description>&lt;p&gt;我得到一个IECInstance集合，然后我想遍历看看哪个有Relationship，调用 DgnUtilities.GetAllRelationshipInstances(instance)时发现没有relationship的并不是返回null或者空集合，而是直接造成了软件崩溃，这是什么原因，怎样才是正确方式呢？捕获异常也不行&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>请问一下，我想在opm中根据选中的管线获取管线上的支吊架如何实现呢？</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/f/microstation-projectwise/242523/opm</link><pubDate>Tue, 07 Mar 2023 05:06:10 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:11bc6e2e-b4ad-4594-8127-a1198cda89f4</guid><dc:creator>Ethan Yuan</dc:creator><description>&lt;p&gt;如题，我通过交互工具选择了指定的管线，然后想获取管线上的支吊架进行标注，不知道如何获取，请帮忙。&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>[MS C#] 关于ScanCriteria的使用问题</title><link>https://communities.bentley.com/communities/other_communities/chinafirst/f/microstation-projectwise/242650/ms-c-scancriteria</link><pubDate>Thu, 09 Mar 2023 01:17:42 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:55814902-c6f1-474d-867f-89cd9367b58f</guid><dc:creator>Ethan Yuan</dc:creator><description>&lt;p&gt;我想请问一下，我写了个方法，想得到一个范围内的元素，&amp;nbsp;&lt;/p&gt;
&lt;p&gt;public static void GetElementsByRange(DgnModelRef refmodel, DRange3d range, ScanDelegate callback)&lt;br /&gt; {&lt;br /&gt; ScanCriteria scan = new ScanCriteria();&lt;br /&gt; scan.SetModelRef(refmodel);&lt;br /&gt; //scan.SetModelSections(DgnModelSections.GraphicElements);&lt;br /&gt; ScanRange scanRange = new ScanRange((long)range.Low.X, (long)range.Low.Y, (long)range.Low.Z, (long)range.High.X, (long)range.High.Y, (long)range.High.Z);&lt;br /&gt; scan.SetRangeTest(scanRange);&lt;br /&gt; StatusInt status= scan.Scan(callback);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;然后回调并没有被执行，是C# 里面有问题吗？&lt;br /&gt;status我得到的是10，没有找到具体含义&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>a question about ContextCapture MasterKernel SDK. Error: DLL load failed</title><link>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/f/contextcapture-descartes-pointools-forum/240215/a-question-about-contextcapture-masterkernel-sdk-error-dll-load-failed</link><pubDate>Fri, 06 Jan 2023 07:20:36 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c76a47ec-9b76-43a1-af33-15bdedb59fda</guid><dc:creator>Ethan Yuan</dc:creator><description>&lt;p&gt;(10.19.1.45) C:\Program Files\Bentley\ContextCapture Center\sdk&amp;gt;python test_cc.py Error: DLL load failed: 找不到指定的模块。 Your Python environment is not valid for using ContextCapture MasterKernel SDK. To repair your installation you can try to remove the virtual environment directory and restart this script.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>