VS:GetComponentTexture/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

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

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]]