<?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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>[V8i VBA] Text node rewrite error - changing level &amp;amp; color</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/94078/v8i-vba-text-node-rewrite-error---changing-level-color</link><description>When I run the code below I get an error when attempting to rewrite one specific text node element in the attached file. This does not happen for all of the other text nodes, and I can&amp;#39;t figure out how this one text node is any different than the rest</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: [V8i VBA] Text node rewrite error - changing level &amp; color</title><link>https://communities.bentley.com/thread/272686?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2014 00:38:16 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:d6544139-053a-49c0-bd6b-ec8717166f3d</guid><dc:creator>Yongan.Fu</dc:creator><description>&lt;p&gt;Hi Jon,&lt;/p&gt;
&lt;p&gt;Thank you for pointing out this. But even when I back to MicroStatation 8.5, the analyze element command can&amp;#39;t to change the color of text node itself (the color item of text node in Element Information dialog is always grey). I think you must&amp;nbsp;change it by program.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;YongAn&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [V8i VBA] Text node rewrite error - changing level &amp; color</title><link>https://communities.bentley.com/thread/272663?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 17:17:56 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:ad0943c2-f522-4132-a941-8a5d993e0f4f</guid><dc:creator>JJ Wutt</dc:creator><description>&lt;p&gt;Thank you so much for the responses. This has helped me to find a solution that fits my needs, even though the error caused by changing the color of the specific text node has technically not been resolved.&lt;/p&gt;
&lt;p&gt;For my purposes, it turns out I only need to change the level of the text node and not the text node color. I thought that it was both the level change and the color change that was causing the problem, but it was only the color change. So removing &amp;quot;.Color = 23&amp;quot; from the code works for me.&lt;/p&gt;
&lt;p&gt;Jon - I&amp;#39;m really impressed that you took the time to look into this and what you have done is great! I have learned so much from your posts and your website. Thank you!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [V8i VBA] Text node rewrite error - changing level &amp; color</title><link>https://communities.bentley.com/thread/272573?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 08:04:47 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1381b810-bd69-4e64-a59f-18d1468f485c</guid><dc:creator>Jon Summers</dc:creator><description>&lt;p&gt;I tidied up your code to make it easier for me to understand (see attachment).&amp;nbsp; I get the same error as you, on one particular text node.&amp;nbsp; I used MicroStation&amp;#39;s analytic tools to examine that node, but don&amp;#39;t see anything special.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description><enclosure url="https://communities.bentley.com/cfs-file/__key/telligent-evolution-components-attachments/00-343173-01-00-00-27-25-73/modTest.bas" length="3720" type="application/octet-stream" /></item><item><title>RE: [V8i VBA] Text node rewrite error - changing level &amp; color</title><link>https://communities.bentley.com/thread/272571?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 08:01:11 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a2e29a9e-ba62-4ac5-a05a-fcefaa3bd343</guid><dc:creator>Jon Summers</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;Yongan.Fu&amp;quot;]The color of textnode is meaningless[/quote]&lt;/p&gt;
&lt;p&gt;Not meaningless...&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-discussions-components-files/343173/text_2D00_node_2D00_colours.png"&gt;&lt;img src="/resized-image.ashx/__size/550x0/__key/communityserver-discussions-components-files/343173/text_2D00_node_2D00_colours.png" alt=" " border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The text node number can take a different colour to the text elements of that node.&amp;nbsp; The old &lt;em&gt;Analyze Element&lt;/em&gt; tool (not the current &lt;em&gt;Element Information&lt;/em&gt; tool) lets you apply different colours to each text element and to the node itself.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [V8i VBA] Text node rewrite error - changing level &amp; color</title><link>https://communities.bentley.com/thread/272546?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 01:47:54 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:9b799ee3-a62d-4ee6-a4cd-ab8aae736f4d</guid><dc:creator>Yongan.Fu</dc:creator><description>&lt;p&gt;You can try to comment out the seventh last line &amp;quot;.Color = 23&amp;quot; because the color of textnode is meaningless. Please see the below screenshot, you can notice the color item of TextNode is grey.&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file.ashx/__key/communityserver-discussions-components-files/343173/Capture02.JPG"&gt;&lt;img border="0" alt=" " src="/resized-image.ashx/__size/550x0/__key/communityserver-discussions-components-files/343173/Capture02.JPG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;HTH, YongAn&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>