VS:GetComponentTexture/ja

From Vectorworks Developer
Revision as of 12:28, 14 January 2016 by Kimura (talk | contribs) (1 revision: Japanese Reference for 2016)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Description

図形の構成要素のテクスチャを取得します。

FUNCTION GetComponentTexture(
object :HANDLE;
componentIndex :INTEGER;
VAR texture :LONGINT) : BOOLEAN;
def vs.GetComponentTexture(object, componentIndex):
    return (BOOLEAN, texture)

Parameters

object HANDLE オブジェクトのハンドル(壁、円弧壁、スラブ、屋根、壁スタイル、スラブスタイル、屋根スタイル、壁設定、スラブ設定もしくは、屋根設定)
componentIndex INTEGER 構成要素の番号
texture LONGINT テクスチャの参照番号を返します。テクスチャがない場合は0、クラステクスチャの場合は-1。

Version

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

See Also

関連関数:

VS:SetComponentTexture

関連関数: [[VS:SetComponentTexture]]