VS:ZCenterN/ja

From Vectorworks Developer
Jump to navigation Jump to search

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

Description

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

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

Parameters

c CRITERIA 検索条件

Example

ZCenValue:=ZCenterN(N='Board');
{returns the z-coord of the center of the bounding box of the named object 'Board'

Version

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