http://developer.vectorworks.net/index.php?title=VS:XCenter&feed=atom&action=history
VS:XCenter - Revision history
2024-03-28T14:42:00Z
Revision history for this page on the wiki
MediaWiki 1.41.0
http://developer.vectorworks.net/index.php?title=VS:XCenter&diff=8323&oldid=prev
Root: 1 revision
2013-08-12T14:50:06Z
<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>
Root
http://developer.vectorworks.net/index.php?title=VS:XCenter&diff=8322&oldid=prev
Root at 19:58, 20 September 2011
2011-09-20T19:58:23Z
<p></p>
<p><b>New page</b></p><div>{{LocationMain|category=LocationVS|specific=}}<br />
__TOC__<br />
<vwDoc><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<desc><br />
<b>[[VS:Vectorworks 2012 Deprecated Functions|DEPRECATED after Vectorworks2012]]</b><b>[[VS:Vectorworks 2012 Deprecated Functions|DEPRECATED after Vectorworks2012]]</b>. See [[VS:XCenterN|XCenterN]] for a replacement function.<br />
<br />
<br />
Returns the x-coordinate of the center point of an object matching the serach criteria. If more than one object matches the search criteria, the function will return the sum of the coordinates of all the matching objects.<br />
</desc><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<def><br />
<funcDef lang="vs"><br />
FUNCTION XCenter(c:CRITERIA) : REAL;<br />
</funcDef><br />
<funcDef lang="py"><br />
def vs.XCenter(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 />
<sample><br />
==== VectorScript ====<br />
<code lang="pas"><br />
XCenValue:=XCenter(N='Board');<br />
{returns the x-coord of the center of the named object 'Board'}</code><br />
==== Python ====<br />
<code lang="py"><br />
<br />
</code><br />
</sample><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<version><br />
Availability: from All Versions<br />
Deprecated: [[VS:Vectorworks 2012 Deprecated Functions|Vectorworks 2012]]<br />
</version><br />
<br />
</vwDoc><br />
<br />
[[Category:VS Function Reference|XCenter]]<br />
[[Category:VS Function Reference:Criteria|XCenter]]</div>
Root