http://developer.vectorworks.net/index.php?title=VS:YCenterN&feed=atom&action=historyVS:YCenterN - Revision history2024-03-29T06:01:37ZRevision history for this page on the wikiMediaWiki 1.41.0http://developer.vectorworks.net/index.php?title=VS:YCenterN&diff=8379&oldid=prevRoot: 1 revision2013-08-12T14:50:07Z<p>1 revision</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:50, 12 August 2013</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Roothttp://developer.vectorworks.net/index.php?title=VS:YCenterN&diff=8378&oldid=prevRoot: 1 revision2011-09-20T17:43:39Z<p>1 revision</p>
<p><b>New page</b></p><div>{{LocationMain|category=LocationVS|specific=}}<br />
<br />
__TOC__<br />
<vwDoc><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<desc><br />
Returns the y-coordinate of the center point of the bounding box of an object matching the search criteria. If more than one object matches the search criteria, the function will return the y-coordinate of the average center point of all the matching objects</desc><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<def><br />
<funcDef lang="vs"><br />
FUNCTION YCenterN(c:CRITERIA) : REAL;<br />
</funcDef><br />
<funcDef lang="py"><br />
def vs.YCenterN(c):<br />
return REAL<br />
</funcDef><br />
</def><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<params><br />
<lineList ident=1><br />
<line><br />
c<br />
CRITERIA<br />
Search criteria.<br />
</line><br />
</lineList><br />
</params><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<remark></remark><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<sample><br />
<PRE><br />
YCenValue:=YCenterN(N='Board');<br />
{returns the y-coord of the center of the bounding box of the named object 'Board'</PRE><br />
</sample><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<seeAlso></seeAlso><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<version><br />
Availability: from Vectorworks 2012<br />
<br />
</version><br />
<br />
</vwDoc><br />
<br />
[[Category:VS Function Reference|YCenterN]]<br />
[[Category:VS Function Reference:Criteria|YCenterN]]</div>Root