VS:YCenterN/ja

From Vectorworks Developer
Jump to navigation Jump to search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

検索条件に合致した図形の中心のY座標を返します。複数の図形が検索条件に一致する場合、この関数は、一致するすべての図形の平均的な中心点のy座標を返します。

FUNCTION YCenterN(
c :CRITERIA) : REAL;
def vs.YCenterN(c):
    return REAL

Parameters

c CRITERIA 検索条件

Example

YCenValue:=YCenterN(N='Board');
{returns the y-coord of the center of the bounding box of the named object 'Board'

Version

利用可能バージョン: Vectorworks 2012