VS:GetComponentWidth/ja

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Description

ハンドルで指定した壁で、指定した番号の構成要素から幅を取得します。
ハンドルがNILならば、デフォルト壁スタイルに作用します。

FUNCTION GetComponentWidth(
object :HANDLE;
componentIndex :INTEGER;
VAR width :REAL) : BOOLEAN;
def vs.GetComponentWidth(object, componentIndex):
    return (BOOLEAN, width)

Parameters

object HANDLE オブジェクトのハンドル(壁、円弧壁、スラブ、屋根、壁スタイル、スラブスタイル、屋根スタイル、壁設定、スラブ設定もしくは、屋根設定)
componentIndex INTEGER 構成要素の番号
width REAL 構成要素の幅

Version

利用可能バージョン: VectorWorks12.0

See Also

関連関数:

VS:SetComponentWidth

関連関数: [[VS:SetComponentWidth]]