<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Counting Geometry Sections</title>
	<atom:link href="http://www.visguy.com/2006/10/04/counting-geometry-sections/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.visguy.com/2006/10/04/counting-geometry-sections/</link>
	<description>Shapes, Stencils, Drawings Templates, Tutorials, Tips &#38; Developer Info for Microsoft Visio</description>
	<lastBuildDate>Fri, 10 Feb 2012 17:20:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: NJBrearley</title>
		<link>http://www.visguy.com/2006/10/04/counting-geometry-sections/comment-page-1/#comment-27561</link>
		<dc:creator>NJBrearley</dc:creator>
		<pubDate>Fri, 24 Jun 2011 11:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://visguy.com/?p=10#comment-27561</guid>
		<description>I&#039;ve tried this, but if say geometry1.x5 doesn&#039;t exist it removes the reference and so the calc stops working. Any thoughts?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried this, but if say geometry1.x5 doesn&#8217;t exist it removes the reference and so the calc stops working. Any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jimsotonna</title>
		<link>http://www.visguy.com/2006/10/04/counting-geometry-sections/comment-page-1/#comment-17063</link>
		<dc:creator>jimsotonna</dc:creator>
		<pubDate>Mon, 03 Mar 2008 06:03:34 +0000</pubDate>
		<guid isPermaLink="false">http://visguy.com/?p=10#comment-17063</guid>
		<description>&lt;strong&gt;jimsotonna...&lt;/strong&gt;

jimsotonna dropped by...</description>
		<content:encoded><![CDATA[<p><strong>jimsotonna&#8230;</strong></p>
<p>jimsotonna dropped by&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Visio Guy</title>
		<link>http://www.visguy.com/2006/10/04/counting-geometry-sections/comment-page-1/#comment-4634</link>
		<dc:creator>Visio Guy</dc:creator>
		<pubDate>Mon, 21 May 2007 07:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://visguy.com/?p=10#comment-4634</guid>
		<description>Hi guys,

I see the problem about the formula not updating. For counting the geometry rows in the Dynamic Connector, I was able to add this term to the beginning of the formula:



&lt;blockquote&gt;=DEPENDSON( TxtPinX, TxtPinY )&lt;/blockquote&gt;



This works because just about any change in the connector changes the position of the text block. DEPENDSON doesn&#039;t return a value, it just triggers an update if the argument-cells change. So a complete formula would look like this:



&lt;blockquote&gt;=DEPENDSON(TxtPinX,TxtPinY) + ABS(NOT(ISERR(INT((INDEX(0,&quot;Geometry1.x1&quot;)))))) + ABS(NOT(ISERR(INT((INDEX(0,&quot;Geometry1.x2&quot;)))))) + ABS(NOT(ISERR(INT((INDEX(0,&quot;Geometry1.x3&quot;)))))) + ABS(NOT(ISERR(INT((INDEX(0,&quot;Geometry1.x4&quot;)))))) + ABS(NOT(ISERR(INT((INDEX(0,&quot;Geometry1.x5&quot;))))))&lt;/blockquote&gt;



If you&#039;re not testing the connector, I&#039;m still not sure what the best way is to get the formula to recalculate.

- Chris</description>
		<content:encoded><![CDATA[<p>Hi guys,</p>
<p>I see the problem about the formula not updating. For counting the geometry rows in the Dynamic Connector, I was able to add this term to the beginning of the formula:</p>
<blockquote><p>=DEPENDSON( TxtPinX, TxtPinY )</p></blockquote>
<p>This works because just about any change in the connector changes the position of the text block. DEPENDSON doesn&#8217;t return a value, it just triggers an update if the argument-cells change. So a complete formula would look like this:</p>
<blockquote><p>=DEPENDSON(TxtPinX,TxtPinY) + ABS(NOT(ISERR(INT((INDEX(0,&#8221;Geometry1.x1&#8243;)))))) + ABS(NOT(ISERR(INT((INDEX(0,&#8221;Geometry1.x2&#8243;)))))) + ABS(NOT(ISERR(INT((INDEX(0,&#8221;Geometry1.x3&#8243;)))))) + ABS(NOT(ISERR(INT((INDEX(0,&#8221;Geometry1.x4&#8243;)))))) + ABS(NOT(ISERR(INT((INDEX(0,&#8221;Geometry1.x5&#8243;))))))</p></blockquote>
<p>If you&#8217;re not testing the connector, I&#8217;m still not sure what the best way is to get the formula to recalculate.</p>
<p>- Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.visguy.com/2006/10/04/counting-geometry-sections/comment-page-1/#comment-4594</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 18 May 2007 19:43:53 +0000</pubDate>
		<guid isPermaLink="false">http://visguy.com/?p=10#comment-4594</guid>
		<description>I have tried using this, with the additional part using the Geometry1.X2 changes, but it still doesn&#039;t seem to fully update with shape changes.  Also, you have used SETF to &quot;push&quot; the data into the cell, whereas the person with the 1st post was putting the calculation into the actual &quot;User&quot; cell itself.  Does it have to be &quot;pushed&quot; there with SETF in order to update?  In which shapesheet cell would you recommend putting your formula with &quot;SETF&quot;?</description>
		<content:encoded><![CDATA[<p>I have tried using this, with the additional part using the Geometry1.X2 changes, but it still doesn&#8217;t seem to fully update with shape changes.  Also, you have used SETF to &#8220;push&#8221; the data into the cell, whereas the person with the 1st post was putting the calculation into the actual &#8220;User&#8221; cell itself.  Does it have to be &#8220;pushed&#8221; there with SETF in order to update?  In which shapesheet cell would you recommend putting your formula with &#8220;SETF&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Anderson</title>
		<link>http://www.visguy.com/2006/10/04/counting-geometry-sections/comment-page-1/#comment-2675</link>
		<dc:creator>John Anderson</dc:creator>
		<pubDate>Tue, 10 Apr 2007 04:01:34 +0000</pubDate>
		<guid isPermaLink="false">http://visguy.com/?p=10#comment-2675</guid>
		<description>As you modify the line the line geometry section can add or subtract rows based on the number of vertices the line has. But your formula won&#039;t recalculate because the formula only recaclulates when the data changes. Your formula does not detect this change. To fix you need to add something to your formula that creates a change but not interfere with your desired results. I used the second row of the Geometry1.X2 to create a change at the end of your formula. e.g.:

 =SETF(GetRef(User.Keep2),2+ABS(NOT(ISERR(INT(INDEX(0,â€Geometry1.X3â€³))))) + ABS(NOT(ISERR(INT(INDEX(0,â€Geometry1.X4â€³))))) + ABS(NOT(ISERR(INT(INDEX(0,â€Geometry1.X5â€³))))) + (Abs(Geometry1.X2)-(Abs(Geometry1.X2) 

when Geometry1.X2 changes the formula will be recalculate. The SETF(GetRef(User.Keep2)...... pushes the recalculated Geometry row count into the user defined parameter User.Keep2 for use by other functions that use the row count.</description>
		<content:encoded><![CDATA[<p>As you modify the line the line geometry section can add or subtract rows based on the number of vertices the line has. But your formula won&#8217;t recalculate because the formula only recaclulates when the data changes. Your formula does not detect this change. To fix you need to add something to your formula that creates a change but not interfere with your desired results. I used the second row of the Geometry1.X2 to create a change at the end of your formula. e.g.:</p>
<p> =SETF(GetRef(User.Keep2),2+ABS(NOT(ISERR(INT(INDEX(0,â€Geometry1.X3â€³))))) + ABS(NOT(ISERR(INT(INDEX(0,â€Geometry1.X4â€³))))) + ABS(NOT(ISERR(INT(INDEX(0,â€Geometry1.X5â€³))))) + (Abs(Geometry1.X2)-(Abs(Geometry1.X2) </p>
<p>when Geometry1.X2 changes the formula will be recalculate. The SETF(GetRef(User.Keep2)&#8230;&#8230; pushes the recalculated Geometry row count into the user defined parameter User.Keep2 for use by other functions that use the row count.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kkkkkkk</title>
		<link>http://www.visguy.com/2006/10/04/counting-geometry-sections/comment-page-1/#comment-301</link>
		<dc:creator>kkkkkkk</dc:creator>
		<pubDate>Wed, 10 Jan 2007 01:50:54 +0000</pubDate>
		<guid isPermaLink="false">http://visguy.com/?p=10#comment-301</guid>
		<description>Hi

Thanks - good site. 
I attempted to use a variation of the above formula to count the number of legs in my dynamic connector &amp; pasted into the user section as recommended. 

=2+ABS(NOT(ISERR(INT(INDEX(0,&quot;Geometry1.X3&quot;))))) + ABS(NOT(ISERR(INT(INDEX(0,&quot;Geometry1.X4&quot;))))) + ABS(NOT(ISERR(INT(INDEX(0,&quot;Geometry1.X5&quot;)))))

The formula works fine if I click on it &amp; edit it, but doesn&#039;t update. I haven&#039;t had this problem before with Visio shapesheet cells. Do you have any idea why it isn&#039;t working?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Thanks &#8211; good site.<br />
I attempted to use a variation of the above formula to count the number of legs in my dynamic connector &amp; pasted into the user section as recommended. </p>
<p>=2+ABS(NOT(ISERR(INT(INDEX(0,&#8221;Geometry1.X3&#8243;))))) + ABS(NOT(ISERR(INT(INDEX(0,&#8221;Geometry1.X4&#8243;))))) + ABS(NOT(ISERR(INT(INDEX(0,&#8221;Geometry1.X5&#8243;)))))</p>
<p>The formula works fine if I click on it &amp; edit it, but doesn&#8217;t update. I haven&#8217;t had this problem before with Visio shapesheet cells. Do you have any idea why it isn&#8217;t working?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 7/17 queries in 0.006 seconds using disk: basic
Object Caching 414/417 objects using disk: basic
Content Delivery Network via N/A

Served from: www.visguy.com @ 2012-02-11 01:24:45 -->
