VS:GetComponentTexture/ja

From Vectorworks Developer
Revision as of 02:37, 16 January 2014 by Kimura (talk | contribs) (1 revision: 2014J VS Reference G-1)
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

Availability: from Vectorworks 2011

See Also

VS Functions:

VS:SetComponentTexture

VS Functions: [[VS:SetComponentTexture]]