<?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>danny zhu's Activities</title><link>https://communities.bentley.com/members/da9cb842_2d00_a28d_2d00_4429_2d00_a7df_2d00_2cd138ce4b37</link><description>danny zhu's recent activity</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>[MS C++] Distinguish ParametricSolid and SmartSolid</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/233977/ms-c-distinguish-parametricsolid-and-smartsolid</link><pubDate>Fri, 12 Aug 2022 10:29:21 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a8592392-a2b6-4bdb-b3f1-101e74bbe4c2</guid><dc:creator>danny zhu</dc:creator><description>&lt;p&gt;Hi Experts,&lt;/p&gt;
&lt;p&gt;I want to know with the MicroStation C ++ api, is it possible to distinguish an Element is parametric sollid or a smart solid? From ElementHandle::GetElementType() both of them return type 106, I need separate them to handle transformation differently.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/343173/Screen-Shot-2022_2D00_08_2D00_12-at-18.25.44.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/343173/Screen-Shot-2022_2D00_08_2D00_12-at-18.26.31.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Graphic Group highlight selection behavior</title><link>https://communities.bentley.com/products/microstation/f/microstation-forum/232045/graphic-group-highlight-selection-behavior</link><pubDate>Fri, 01 Jul 2022 10:15:39 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:8197710c-6dc5-4fbd-a07b-e5c108f53528</guid><dc:creator>danny zhu</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am understanding MicroStation selection behavior for Graphic Group (GG), as there are some legacy models contains such attributes. When reading&amp;nbsp;&lt;a href="/products/microstation/f/microstation-forum/219449/what-is-actually-a-graphic-group"&gt;What is actually a &amp;quot;Graphic Group&amp;quot;? - MicroStation Forum - MicroStation - Bentley Communities&lt;/a&gt;&amp;nbsp;I think the behavior is GG should be selected and highlighted as a single element, however when I create a GG (the GG lock is ON) it still select and highlight each component separately. Any idea of the selection behavior?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/273/GG.dgn"&gt;communities.bentley.com/.../GG.dgn&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>[Connect C++] How to get the Linkage Data length</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/222103/connect-c-how-to-get-the-linkage-data-length</link><pubDate>Sat, 13 Nov 2021 15:24:06 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:5506dc22-c538-41ff-ab95-87da60e2e99a</guid><dc:creator>danny zhu</dc:creator><description>&lt;p&gt;Hi Experts, say I have a linkage property looks like below, is it possible to get the length from the linkage header information? As I learned the &amp;quot;549D&amp;quot; should contain the data length information, is it right?&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;String Linkage&lt;br /&gt;Name: EHBH&lt;br /&gt;User Data Linkage&lt;br /&gt; 549D 0AA1 3431 5B40 434C 4246 5D4C 4030 .T..14@[LCFBL]0@&lt;br /&gt; 4C5B 4743 345D 5B40 434C 4247 5D4C 4030 [LCG]4@[LCGBL]0@&lt;br /&gt; 4C5B 5343 5D54 4034 4C5B 5343 4254 5D4C [LCST]4@[LCSTBL]&lt;br /&gt; 4030 485B 3150 5D56 4030 485B 3250 5D56 0@[HP1V]0@[HP2V]&lt;br /&gt; 4030 485B 3350 5D56 4030 485B 3450 5D56 0@[HP3V]0@[HP4V]&lt;br /&gt; 4030 485B 3550 5D56 4030 485B 3650 5D56 0@[HP5V]0@[HP6V]&lt;br /&gt; 4030 485B 3750 5D56 4030 485B 3850 5D56 0@[HP7V]0@[HP8V]&lt;br /&gt; 4030 485B 3950 5D56 4030 485B 3150 5630 0@[HP9V]0@[HP10V&lt;br /&gt; 305D 5B40 4F52 5D4B 4030 0000 0000 0000 ]0@[ROK]0@......&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Solid Stair in OpenBuildings Showing as Wireframe in MicroStation</title><link>https://communities.bentley.com/products/building/building_analysis___design/f/aecosim-speedikon-forum/222899/solid-stair-in-openbuildings-showing-as-wireframe-in-microstation</link><pubDate>Thu, 02 Dec 2021 02:21:03 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6755a068-d9fb-4994-b46c-3f553d439c96</guid><dc:creator>danny zhu</dc:creator><description>&lt;ol&gt;
&lt;li&gt;i install open building design software and create a stair via the command as below image, you can see it shows as a solid even i change view to smooth, i save it as attachment stair.dgn&lt;/li&gt;
&lt;li&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/5917/4174.png" /&gt;&lt;/li&gt;
&lt;li&gt;select it, right mouse click menu and click Building element info to check its information as below image&lt;/li&gt;
&lt;li&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/5917/2746.png" /&gt;&lt;/li&gt;
&lt;li&gt;click button More Info to check the element information, you can see there is a &amp;quot;smart geometry&amp;quot; under cell TFSMTH and many line&amp;amp;arcs under cell TFVISBL&lt;span class="image-wrap"&gt;&lt;a id="2804080_thumb" title="3.png" href="https://jira.autodesk.com/secure/attachment/2804080/2804080_3.png"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="image-wrap"&gt;&lt;a class="" id="2804078_thumb" title="1.png" href="https://jira.autodesk.com/secure/attachment/2804078/2804078_1.png"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="image-wrap"&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/5917/5460.png" /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;open this dgn model in microstation connection, you can see the stair is shown as line as below image, but you can see the smart geometry under cell TFSMTH is lost in microstation.&lt;/li&gt;
&lt;li&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/5917/image_2D00_2021_2D00_11_2D00_25_2D00_16_2D00_23_2D00_59_2D00_253.png" /&gt;&lt;span class="image-wrap"&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span class="image-wrap"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="image-wrap"&gt;So the question is:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="image-wrap"&gt;Is it possible to show same solid in MicroStation as in OpenBuildings?&amp;nbsp; My guess is the &amp;quot;lost&amp;quot; smart solid is kind of only vertical product can understand geometry, but need experts&amp;#39; confirmation.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="image-wrap"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="image-wrap"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MicroStation export OBJ vertex offset?</title><link>https://communities.bentley.com/products/microstation/f/microstation-forum/201853/microstation-export-obj-vertex-offset</link><pubDate>Mon, 17 Aug 2020 04:02:23 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:29d4f6e6-01d2-49bb-a0ef-312e85d97680</guid><dc:creator>danny zhu</dc:creator><description>&lt;p&gt;Hi Experts,&lt;/p&gt;
&lt;p&gt;I have a DGN model which has large vertex coordinates (global origin is 0,0,0)&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/273/large_2D00_coordinates.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;MicroStation exported OBJ file vertex:&lt;/p&gt;
&lt;p&gt;v 25.547030 448.286191 26.779118&lt;br /&gt;v 25.547030 448.286191 26.989118&lt;br /&gt;v 25.578582 448.694958 26.781168&lt;br /&gt;v 25.578582 448.694958 26.991168&lt;br /&gt;v 25.643519 449.099765 26.783219&lt;br /&gt;v 25.643519 449.099765 26.993219&lt;br /&gt;v 25.767201 449.584009 26.785718&lt;br /&gt;v 25.767201 449.584009 26.995718&lt;br /&gt;v 26.046705 448.268181 26.949118&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Does anyone know why the exported OBJ file vertex get much smaller comparing with source DGN model? and Why this happens?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>[Connect C++] Get the file is password protected information with toolkit</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/174017/connect-c-get-the-file-is-password-protected-information-with-toolkit</link><pubDate>Tue, 22 Jan 2019 06:15:51 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e9f4c8e8-b35c-478b-9130-903b03a203ab</guid><dc:creator>danny zhu</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a password protected design file and when open in MicroStation it pops up window to let user know this file is password protected:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343173/pastedimage1548137619939v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;I am wondering how to get the password protected status via toolkit API? Right now I am using and all I can know is the return value of LoadDgnFile status is&amp;nbsp;DGNOPEN_STATUS_InsecureEnvironment:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    DGNAppHost::Initialize();
    DgnDocumentPtr dgnDoc = DgnDocument::CreateForLocalFile(m_filename.Value());
    if (dgnDoc.IsNull())
        return false;

    m_pDGNFile = DgnFile::Create(*dgnDoc, DgnFileOpenMode::ReadOnly);
    if (m_pDGNFile.IsNull())
        return false;
    
    DgnPlatform::DgnFileStatus status = m_pDGNFile-&amp;gt;LoadDgnFile(&amp;amp;openForReadStatus);
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Is it possible to get some more meaningful message/return value for this case?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Danny&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Performance and quality balance for ElementGraphicsOutput::Process</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/173512/performance-and-quality-balance-for-elementgraphicsoutput-process</link><pubDate>Fri, 11 Jan 2019 08:38:02 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:11a20cf1-251d-4285-919d-cdeffeb16c41</guid><dc:creator>danny zhu</dc:creator><description>&lt;p&gt;Hi Experts,&lt;/p&gt;
&lt;p&gt;I want extract graphics meshes for the model which contains quite a lot extended elements. The workflow is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1) use&amp;nbsp;ElementGraphicsOutput::Process to collect tessellated facets in&amp;nbsp;_ProcessFacets,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) then create polyfaceheader object using PolyfaceHeader::CreateUnifiedIndexMesh&lt;/p&gt;
&lt;p&gt;3) to reduce the polyfaceheader count I merged same color facets into a single polyface by calling&amp;nbsp;AddIfMatchedLayout.&lt;/p&gt;
&lt;p&gt;4) then I call&amp;nbsp;&lt;span&gt;PolyfaceHeader::Triangle to tessellate the face into triangle meshes.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I found the workflow has two bottleneck APIs:&amp;nbsp;&amp;nbsp;ElementGraphicsOutput::Process and PolyfaceHeader::Triangulate. so I have two questions:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1) is my workflow right to get triangle meshes?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2) if the the workflow is right,&amp;nbsp;I see the tessellation option impact the result and performance significantly. I used default&amp;nbsp;FacetOption (IFacetOptions::Create()), the performance is good but mesh quality is bad:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343173/tess.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I use higher tessellation, the performance will significantly slow down, for example using the&amp;nbsp;CreateForCurves() , so my question is how to set proper facetoptions to get the balance between quality and visualization?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Danny&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>[Connect C++] IElementGraphicsProcessor &amp;amp; Text color</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/155970/connect-c-ielementgraphicsprocessor-text-color</link><pubDate>Fri, 08 Jun 2018 09:09:43 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:2712fe7f-71ee-4e1c-89d5-46521c7f47ce</guid><dc:creator>danny zhu</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/343173/2018.2.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/343173/01.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;I used IElementGraphicsProcessor to do text tessellation, one issue I find given above example, the tessellated text facet color seems confusing and the text&amp;#39;s color can&amp;#39;t be get:&lt;br /&gt;in details for each text facet:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_fillColor = displayParams.GetFillColor(); // always return&amp;nbsp;INVALID_COLOR&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_lineColor = displayParams.GetLineColor(); // always return text background border color&lt;/p&gt;
&lt;p&gt;For text facet I supposed should use the fill color? The fill color is INVALID so I don&amp;#39;t know how to get the correct fill color. And the line color is always the border color which is not correct either.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Danny&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>[Connect C++] How to query the reference display priority</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/153862/connect-c-how-to-query-the-reference-display-priority</link><pubDate>Mon, 07 May 2018 15:00:36 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:41be99ac-fea7-4d73-a8ac-7fce4bf81e73</guid><dc:creator>danny zhu</dc:creator><description>&lt;p&gt;Here is the&amp;nbsp;element display priority&amp;nbsp;information copied from the help document:&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;All elements in a reference with a higher Reference Display Priority will appear in front of all elements from references with a lower value.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Within a single model, or from references with the same reference display priority, elements on levels with higher Level Display Priority will appear in front of those with a lower value.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Where elements have the same reference and level display priority, then Element Display Priority determines those that will appear in front of others.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;em&gt;Where two elements have the same Reference, Level, and Element display priorities, then the one that appears later in the display order (that is, file position and update sequence) appears on top.&lt;/em&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;I would like to know what API can be used to query the &amp;quot;Reference Display Priority&amp;quot;? I searched and found this link&amp;nbsp;&lt;a href="/products/programming/microstation_programming/f/microstation-programming---forum/103181/v8i-vba-set-reference-priority/308338#308338"&gt;https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/103181/v8i-vba-set-reference-priority/308338#308338&lt;/a&gt;&amp;nbsp;but seems it has no equivalent available APIs in C++ SDK.&amp;nbsp;&amp;nbsp;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>[Connect C++]How to distinguish display order for elements with same display priorities</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/153542/connect-c-how-to-distinguish-display-order-for-elements-with-same-display-priorities</link><pubDate>Wed, 02 May 2018 10:01:56 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:ad9d2081-3dd1-4add-b5aa-53b57b1000b2</guid><dc:creator>danny zhu</dc:creator><description>&lt;p&gt;&lt;em&gt;I believe this is a general API question that can be asked here, and if not please let me know.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Here is the&amp;nbsp;element display priority&amp;nbsp;information copied from the help document:&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;All elements in a reference with a higher Reference Display Priority will appear in front of all elements from references with a lower value.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Within a single model, or from references with the same reference display priority, elements on levels with higher Level Display Priority will appear in front of those with a lower value.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Where elements have the same reference and level display priority, then Element Display Priority determines those that will appear in front of others.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="color:#ff0000;"&gt;&lt;em&gt;Where two elements have the same Reference, Level, and Element display priorities, then the one that appears later in the display order (that is, file position and update sequence) appears on top.&lt;/em&gt;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;One issue I am not clear is the last statement marked with red color.&amp;nbsp;I have created a model without setting priority&amp;nbsp;(Means all elements inside the model priority is default value&amp;nbsp;0, no reference, no level priority). In this case, how can I use API to distinguish the display order? I used several ways:&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;1. implement _EachDisplayPriorityCallback for IQueryProperties interface.&lt;/p&gt;
&lt;p&gt;2. call MSElementCP-&amp;gt;hdr.dhdr.priority;&lt;/p&gt;
&lt;p&gt;All return priority values for below elements are 0, so it can&amp;#39;t be distinguished simply by priority values. Any suggestions?&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343173/pastedimage1525254883316v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Danny&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>[CONNECT C++] Tesselation representation for LineStyles</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/153189/connect-c-tesselation-representation-for-linestyles</link><pubDate>Thu, 26 Apr 2018 06:28:16 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a0ea4287-4669-406c-b2dc-cbcb95df098d</guid><dc:creator>Richard Yu</dc:creator><description>&lt;p&gt;&lt;span style="font-size:inherit;"&gt;Hi, I am using &lt;span&gt;CONNECT C++ &lt;/span&gt;to query linestyles information, but my viewer does not naturally support linestyles.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;So I would like to know&amp;nbsp;if there are CONNECT C++ APIs&amp;nbsp;to tesselate a line with linestyles to a bunch of curves?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;Thanks.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>[CONNECT C++] AnnotationCellHeaderHandler header file missing</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/152907/connect-c-annotationcellheaderhandler-header-file-missing</link><pubDate>Mon, 23 Apr 2018 16:39:29 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:93ef608d-765d-41ed-b26d-f2d2110a1685</guid><dc:creator>Jon Summers</dc:creator><description>&lt;p&gt;A recent post has reminded me that class &lt;code&gt;AnnotationCellHeaderHandler&lt;/code&gt; is not published.&amp;nbsp; This applies to CONNECT Update 10 and earlier.&amp;nbsp; Its declaration (header file) is missing from the SDK.&amp;nbsp; That was first noted on this Forum in 2017.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>[Connect C++ ]_ProcessAsFacets is font dependent?</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/151819/connect-c-_processasfacets-is-font-dependent</link><pubDate>Wed, 11 Apr 2018 15:42:48 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b84afc7c-a1a9-4631-bd53-a16940164dab</guid><dc:creator>danny zhu</dc:creator><description>&lt;p&gt;I asked this but seems got lost in the long thread, so I want post this in a new topic:&lt;/p&gt;
&lt;p&gt;We tried _ProcessAsFacets() way for text tessellation, in most case it works fine. One thing we noticed is in some case the text tessellation failed and we suspect it&amp;#39;s due to the machine missing font used in MicroStation design file. Is it the case? If so what&amp;#39;s the suggestions for it?&lt;/p&gt;
&lt;p&gt;One example is we created some text in one machine installed MicroStation and try tessellate it in another machine (Without MicroStation installed), the tessellation result failed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343173/pastedimage1523461197085v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>[Connect C++] API to remove hierarchy inside models and calculate correct attributes (color, transformation)</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/150983/connect-c-api-to-remove-hierarchy-inside-models-and-calculate-correct-attributes-color-transformation</link><pubDate>Wed, 04 Apr 2018 09:42:40 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:529e26e0-e3d3-4c67-b6b5-86265d01f690</guid><dc:creator>danny zhu</dc:creator><description>&lt;p&gt;I am not sure if there is such capability in toolkit API but I want to ask since the platform API gives me many surprises till now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Say I have a MicroStation file within it is a 2D model, it could have geometries, cells and nested cells which could be very deep levels and can be represented with a tree structure with several levels. Is there any function in toolkit able to remove the hierarchy of a model and keep the leaf geometries with correct transformation, color those kind of attributes?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am asking this because there are some view purpose applications don&amp;#39;t support hierarchy structure and only care about the visual results (position, transformation, color, visibility) . And from my understanding this is common in 2D models.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343173/pastedimage1522835004235v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Danny&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>[CONNECT C++] Dropping a Nested Cell</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/148545/connect-c-dropping-a-nested-cell</link><pubDate>Wed, 21 Mar 2018 11:40:40 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:0a12909d-02c7-47fa-bab0-e57ff38ab9b1</guid><dc:creator>Bruce Reeves SRNS</dc:creator><description>&lt;p&gt;I&amp;#39;m attempting to drop a nested cell. I wish to keep the individual sub-cell elements, just remove the embedded cell headers. I&amp;#39;m attempting to use DisplayHandler::Drop(). I can seem to &amp;quot;drop&amp;quot; the cell fine, but I&amp;#39;m having trouble &amp;quot;replacing&amp;quot; the original EditElementHandle with the &amp;quot;updated&amp;quot; contents:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;	bool	CreateGraphic(EditElementHandleR eeh, DgnButtonEventCR ev)
	{
        DropGeometryPtr			dropPtr = DropGeometry::Create();
        dropPtr-&amp;gt;SetOptions(DropGeometry::OPTION_Complex);
        ElementAgenda			dropGeom;			// ElementAgenda is a bvector of EditElementHandle.
        StatusInt				iStatus = eeh.GetDisplayHandler()-&amp;gt;Drop(eeh, dropGeom, *dropPtr);
        EditElementHandle		eehNormal;
        NormalCellHeaderHandler::CreateOrphanCellElement( eehNormal, L&amp;quot;BRUCETEST&amp;quot;, true, *ACTIVEMODEL);
        for each (EditElementHandleCR eh in dropGeom)
        {
        	NormalCellHeaderHandler::AddChildElement(eehNormal, (EditElementHandleR)eh);
        }
        NormalCellHeaderHandler::AddChildComplete(eehNormal);
        eeh.Invalidate();
        eeh = eehNormal;    // How to get eehNormal back into eeh so it can be returned ??

		return eeh.IsValid();
	}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Bruce&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>