AddCustomTexPart Textures 
Vectorworks 2017

VectorScript Declaration:

PROCEDURE   AddCustomTexPart
(   obj :HANDLE;
    partID :LONGINT;
    partName :STRING
) ;

Python:

def  vs.AddCustomTexPart(obj, partID, partName):
   return None

Description:

This procedure adds a custom texture part with the specified ID and name to the object. Use partID starting at 100 to avoid conflicts with existing texture parts.

説明

指定したIDと名前と共に、カスタムテクスチャを貼る範囲を追加します。既存のテクスチャを貼る範囲(partID)との競合を避けるため、100から始まるpartIDを使用してください。

Parameters:

obj The object to add a custom texture part to. 図形のハンドル
partID The texture part ID. Start at 100 to avoid conflicts with existing texture parts. テクスチャを貼る範囲のpartID
partName The texture part name, which will be shown in the texturing UI. テクスチャを貼る範囲の名前

Example:

RemoveCustomTexParts(h);
AddCustomTexPart(h, 100, ‘Stringers’);
AddCustomTexPart(h, 200, ‘Treads’);



  ApplyCustomTexPart Textures 
Vectorworks 2017

VectorScript Declaration:

PROCEDURE   ApplyCustomTexPart
(   srcObj :HANDLE;
    destObj :HANDLE;
    partID :LONGINT
) ;

Python:

def  vs.ApplyCustomTexPart(srcObj, destObj, partID):
   return None

Description:

Applies the src object’s custom texture part partID to dest Overall part. For example apply PIO texture partID 100 to extrude’s Overall part. If the dest object does not support the src map type then a default mapping is used.

説明

指定した元オブジェクトのカスタムテクスチャを貼る範囲(partID)を、指定したオブジェクトに適用します。 例えば、柱状体の全体に対しては、プラグインオブジェクトテクスチャ partID 100 を適用します。適用先のオブジェクトが元オブジェクトのマッピング形式をサポートしていない場合、デフォルトのマッピングが使用されます。

Parameters:

srcObj The source object from which to get the texture assignment and mapping. 元オブジェクトのハンドル
destObj The dest object to apply the texture and mapping to. The texture and mapping are applied to destObj’s Overall texture part. 適用先オブジェクトのハンドル
partID The custom texture part ID to apply from the src to the dest object. テクスチャを貼る範囲のpartID

Example:

ApplyCustomTexPart(parentPIO, pioSubObj, 100);



  AttachDefaultTextureSpace Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   AttachDefaultTextureSpace
(   obj :HANDLE;
    partID :INTEGER
) ;

Python:

def  vs.AttachDefaultTextureSpace(obj, partID):
   return None

Special Notes:

AttachDefaultTextureSpace is obsolete as of Vectorworks 2009

Description:

Procedure AttachDefaultTextureSpace deletes any pre-existing space attached to the referenced object and creates a new one with the default object texture.

説明

ハンドルで指定した3次元図形にデフォルトのテクスチャスペースを設定します。

VW2009で使用できなくなった関数/手続きです。SetDefaultTexMapNをご利用ください。

Parameters:

obj Handle to object. 3次元図形のハンドル
partID Part ID (pass 1 for non-supporting objects). 部分番号



  CreatePaintFromImage Textures 
VectorWorks10.0

VectorScript Declaration:

FUNCTION   CreatePaintFromImage
( image:HANDLE ) :HANDLE ;

Python:

def  vs.CreatePaintFromImage(image):
   return HANDLE

Description:

Creates a paint node from an image resource.

説明

イメージからペイントノードを作成します。

Parameters:

image Handle to the image resource from which a paint node is to be created. イメージのハンドル

Result:

Returns the handle to the newly created paint node.

返り値

新しく作成されたペイントノードのハンドルを返します。

Example:

paintHandle := CreatePaintFromImage(imageHandle);



  CreatePaintFromImgN Textures 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   CreatePaintFromImgN
(   image :HANDLE;
    locPtX :REAL;
    locPtY :REAL;
    rotDeg :REAL
) :HANDLE ;

Python:

def  vs.CreatePaintFromImgN(image, locPt, rotDeg):
   return HANDLE

Description:

Creates a paint node from an image resource on the specified location and rotation.

説明

指定された位置と回転で画像リソースからペイントノードを作成します。

Parameters:

image Handle to the image resource from which a paint node is to be created. 画像リソースのハンドル
locPt Location of the new paint nodet. ペイントノードの位置
rotDeg Rotation of the paint node in degrees. ペイントノードの角度



  CreateShaderRecord Textures 
VectorWorks10.1

VectorScript Declaration:

FUNCTION   CreateShaderRecord
(   texture :HANDLE;
    family :LONGINT;
    prototype :LONGINT
) :HANDLE ;

Python:

def  vs.CreateShaderRecord(texture, family, prototype):
   return HANDLE

Description:

Creates a shader record of the desired family (1 = color, 2 = reflectivity, 3 = transparency, 4 = bump) and prototype (constants depend on family value).

Table - Color Shader Family

Prototype Constant
Blue Marble 1
Chrome 2
Cubes 3
Decal 4
Marble 5
Plain Color 6
Simple Wood 7
Clouds 8
Solid Polka 9
Wrapped Brick 10
Wrapped Checker 11
Wrapped Diagonal 12
Wrapped Filtered Image 13
Wrapped Grid Color 14
Wrapped Image Color 15
Wrapped Polka 16
Wrapped Horiz Stripe 17
Wrapped Textured Brick 18
Wrapped Vertical Stripe 19
Wood 20
Oak 21
Maple 22
Birch 23
Cherry 24
Pine 25
Wrapped Wood Floor 26
Wrapped Oak Floor 27
Wrapped Maple Floor 28
Wrapped Birch Floor 29
Wrapped Cherry Floor 30
Wrapped Pine Floor 31
Wrapped Brick Bonds 32
Granite 33
Roof Tiles 34

Table - Reflectivity Shader Family

Prototype Constant
Chrome 2D 1
Conductor 2
Constant 3
Dielectric 4
Glass 5
Matte 6
Metal 7
Mirror 8
Phong 9
Plastic 10
Wrapped Image 11

Table - Transparency Shader Family

Prototype Constant
Eroded 1
Plain Transparency 2
Color Filter 3
Wrapped Checker Transparency 4
Wrapped Grid Transparency 5
Wrapped Image Transparency 6
Wrapped Mask Transparency 7
Wrapped Square 8

Table - Bump Shader Family

Prototype Constant
Cast 1
Simple Rough 2
Wrapped Image Bump 3
Wrapped Dimple 4
Wrapped Knurl 5
Wrapped Rough 6
Wrapped Treadplate 7

説明

指定した属性をもつ、テクスチャを作成します。(1:色属性/2:反射属性/3:透明属性/4:バンプ属性)

Parameters:

texture The shader record will be attached to this texture. テクスチャのハンドル
family The kind of shader to create (1 = color, 2 = reflectivity, 3 = transparency, 4 = bump) 属性番号(1:色属性/2:反射属性/3:透明属性/4:バンプ属性)
prototype The specific shader within the family (constants depend on the family value). 番号



  CreateTexture Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   CreateTexture
:HANDLE ;

Python:

def  vs.CreateTexture():
   return HANDLE

Description:

Function CreateTexture creates a new texture object with default values.

説明

新しいテクスチャを作成します。



  CreateTextureBitmap Textures 
VectorWorks8.0 - obsolete as of VectorWorks10.1

VectorScript Declaration:

FUNCTION   CreateTextureBitmap
:HANDLE ;

Python:

def  vs.CreateTextureBitmap():
   return HANDLE

Special Notes:

CreateTextureBitmap is obsolete as of VectorWorks10.1

Description:

Function CreateTextureBitmap creates a new default texture bitmap in a Vectorworks document.

説明

テクスチャ用のビットマップを作成します。



  CreateTextureBitmapD Textures 
Vectorworks 2019

VectorScript Declaration:

FUNCTION   CreateTextureBitmapD
( parentShaderRecord:HANDLE ) :HANDLE ;

Python:

def  vs.CreateTextureBitmapD(parentShaderRecord):
   return HANDLE

Description:

This function takes a shader record and creates a Texture bitmap.

説明

イメージファイルを選択するダイアログボックスを表示させずに、指定したシェーダで、ビットマップテクスチャを作成します。

Parameters:

parentShaderRecord This is the shader record input that the texture bitmap will be attached to. シェーダのハンドル

Result:

A texture bitmap (TextureBitmapHandle) is created from the input shader record and is returned.

返り値

ビットマップテクスチャのハンドル.

See Also:

SetTextureBitmap   CreateShaderRecord  



  CreateTextureBitmapN Textures 
VectorWorks10.1

VectorScript Declaration:

FUNCTION   CreateTextureBitmapN
( shaderRecord:HANDLE ) :HANDLE ;

Python:

def  vs.CreateTextureBitmapN(shaderRecord):
   return HANDLE

Description:

Creates a texture bitmap object for the chosen shader record. Brings up dialog to choose the image file. Returns nil if user clicked Cancel or if the shader is not an image-based shader.

説明

指定した属性で、ビットマップテクスチャを作成します。イメージファイルを選択するダイアログが表示されます。「キャンセル」ボタンが押されたり、属性がイメージでない場合はNILを返します。

Parameters:

shaderRecord Handle to shader record. 属性のハンドル



  CustomTexPartExists Textures 
Vectorworks 2017

VectorScript Declaration:

FUNCTION   CustomTexPartExists
(   obj :HANDLE;
    partID :LONGINT
) :BOOLEAN ;

Python:

def  vs.CustomTexPartExists(obj, partID):
   return BOOLEAN

Description:

Returns true if object has the specified partID custom texture part.

説明

オブジェクトが指定したカスタムのテクスチャを貼る範囲 (partID) を使用しているかどうかを返します。

Parameters:

obj Object handle 図形のハンドル
partID Custom texture part ID, ex: 100. テクスチャを貼る範囲のpartID(例:100)

Example:

hasPart := CustomTexturePartExists(h, 100);



  DeleteTextureSpace Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   DeleteTextureSpace
(   obj :HANDLE;
    partID :INTEGER
) ;

Python:

def  vs.DeleteTextureSpace(obj, partID):
   return None

Special Notes:

DeleteTextureSpace is obsolete as of Vectorworks 2009

Description:

Function DeleteTextureSpace deletes the texture space attached to the referenced object or object part.

説明

ハンドルで指定した3次元図形から指定した部分番号をもつテクスチャスペースを削除します。

VW2009で使用できなくなった関数/手続きです。SetDefaultTexMapNをご利用ください。

Parameters:

obj Handle to object. 3次元図形のハンドル
partID Part ID (pass 1 for non-supporting objects). 部分番号



  EditShaderRecord Textures 
VectorWorks10.1

VectorScript Declaration:

FUNCTION   EditShaderRecord
( shaderRecord:HANDLE ) :BOOLEAN ;

Python:

def  vs.EditShaderRecord(shaderRecord):
   return BOOLEAN

Description:

Brings up the edit shader dialog for this shader. Returns true if the user pressed the OK button to dismiss the dialog.

説明

属性を設定するための編集ダイアログが表示されます。「OK」ボタンが押された場合は、TRUEを返します。

Parameters:

shaderRecord The shader record to edit. 属性のハンドル



  EditTexture Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   EditTexture
( texture:HANDLE ) :BOOLEAN ;

Python:

def  vs.EditTexture(texture):
   return BOOLEAN

Description:

Function EditTexture opens the Edit Texture dialog for the referenced texture.

説明

ハンドルで指定したテクスチャを編集するダイアログを表示します。

Parameters:

texture Handle to texture. テクスチャのハンドル



  EditTextureBitmap Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

FUNCTION   EditTextureBitmap
( textureBitmap:HANDLE ) :BOOLEAN ;

Python:

def  vs.EditTextureBitmap(textureBitmap):
   return BOOLEAN

Special Notes:

EditTextureBitmap is obsolete as of VectorWorks9.0

Description:

Function EditTextureBitmap opens the Edit Texture Bitmap dialog box to the referenced texture bitmap. The function returns TRUE if texture bitmap was modified.

説明

ハンドルで指定したビットマップテクスチャを編集するダイアログを表示します。

Parameters:

textureBitmap Handle to texture bitmap. ビットマップテクスチャのハンドル



  EditTextureSpace Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   EditTextureSpace
(   obj :HANDLE;
    partID :INTEGER
) :BOOLEAN ;

Python:

def  vs.EditTextureSpace(obj, partID):
   return BOOLEAN

Special Notes:

EditTextureSpace is obsolete as of Vectorworks 2009

Description:

Function EditTextureSpace edits the mapping of a specified texture space for the referenced object. Calling this function opens the Edit Mapping dialog for textures.

説明

ハンドルで指定した3次元図形のマッピングを編集するダイアログを表示します。

Parameters:

obj Handle to object. 3次元図形のハンドル
partID Part ID (pass 1 for non-supporting objects). 部分番号

Result:

Returns TRUE if the texture space was modified.

返り値

変更された時はTRUEを返します。



  GetClTextureC Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetClTextureC
( className:STRING ) :LONGINT ;

Python:

def  vs.GetClTextureC(className):
   return LONGINT

Description:

Function GetClTextureC returns the wall center texture of the specified class.

説明

指定したクラスの属性で、壁の中央に設定されているテクスチャの番号を返します。

Parameters:

className Class name. クラスの名前



  GetClTextureD Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetClTextureD
( className:STRING ) :LONGINT ;

Python:

def  vs.GetClTextureD(className):
   return LONGINT

Description:

Function GetClTextureD returns the roof dormer texture of the specified class.

説明

指定したクラスの属性で、ドーマーに設定されているテクスチャの番号を返します。

Parameters:

className Class name. クラスの名前



  GetClTextureG Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetClTextureG
( className:STRING ) :LONGINT ;

Python:

def  vs.GetClTextureG(className):
   return LONGINT

Description:

Function GetClTextureG returns the generic texture of the specified class.

説明

指定したクラスの属性に設定されているテクスチャの番号を返します。

Parameters:

className Class name. クラスの名前



  GetClTextureL Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetClTextureL
( className:STRING ) :LONGINT ;

Python:

def  vs.GetClTextureL(className):
   return LONGINT

Description:

Function GetClTextureL returns the left side wall texture of the specified class.

説明

指定したクラスの属性で、壁の左側に設定されているテクスチャの番号を返します。

Parameters:

className Class name. クラスの名前



  GetClTextureR Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetClTextureR
( className:STRING ) :LONGINT ;

Python:

def  vs.GetClTextureR(className):
   return LONGINT

Description:

Function GetClTextureR returns the right side wall texture of the specified class.

説明

指定したクラスの属性で、壁の右側に設定されているテクスチャの番号を返します。

Parameters:

className Class name. クラスの名前



  GetClTextureT Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetClTextureT
( className:STRING ) :LONGINT ;

Python:

def  vs.GetClTextureT(className):
   return LONGINT

Description:

Function GetClTextureT returns the roof top texture of the specified class.

説明

指定したクラスの属性で、屋根に設定されているテクスチャの番号を返します。

Parameters:

className Class name. クラスの名前



  GetClUseTexture Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetClUseTexture
( className:STRING ) :BOOLEAN ;

Python:

def  vs.GetClUseTexture(className):
   return BOOLEAN

Description:

Function GetClUseTexture returns whether a classes' texture attributes will be used at object creation.

説明

指定したクラスの属性で、テクスチャの使用が有効の場合は、TRUEを返します。

Parameters:

className Class name. クラスの名前



  GetImageCropObject Textures 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   GetImageCropObject
( object:HANDLE ) :HANDLE ;

Python:

def  vs.GetImageCropObject(object):
   return HANDLE

Description:

Get the crop of a cropped image.

説明

クロップしたイメージの枠を返します。

Result:

Returns the handle of the cropper of the image.

返り値

クロップしたイメージの枠へのハンドルを返します。



  GetNumTexLayers Textures 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetNumTexLayers
(   obj :HANDLE;
    texPartID :LONGINT
) :LONGINT ;

Python:

def  vs.GetNumTexLayers(obj, texPartID):
   return LONGINT

Description:

Returns number of texture layers (base + decals) for the specified part.

説明

テクスチャのレイヤ数(基準+デカール)を返します。



  GetObjExpandTexture Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetObjExpandTexture
( obj:HANDLE ) :BOOLEAN ;

Python:

def  vs.GetObjExpandTexture(obj):
   return BOOLEAN

Special Notes:

GetObjExpandTexture is obsolete as of Vectorworks 2009

Description:

Function GetObjExpandTexture returns whether the referenced objects' textures have been "expanded". When a texture is expanded, different components of an object can have different textures.

説明

ハンドルで指定した3次元図形のテクスチャが全体に貼り付けられている場合は、TRUEを返します。

Parameters:

obj Handle to object. 3次元図形のハンドル



  GetShaderRecord Textures 
VectorWorks10.1

VectorScript Declaration:

FUNCTION   GetShaderRecord
(   texture :HANDLE;
    family :LONGINT
) :HANDLE ;

Python:

def  vs.GetShaderRecord(texture, family):
   return HANDLE

Description:

Returns the shader record of the specified family (1 = color, 2 = reflectivity, 3 = transparency, 4 = bump), if one is attached to the texture.

説明

指定した属性のハンドルを返します。(1:色属性/2:反射属性/3:透明属性/4:バンプ属性)

Parameters:

texture Get the shader record attached to this texture. テクスチャのハンドル
family The kind of shader to retrieve (1 = color, 2 = reflectivity, 3 = transparency, 4 = bump). 属性番号(1:色属性/2:反射属性/3:透明属性/4:バンプ属性)



  GetTexBFeatureEnd Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   GetTexBFeatureEnd
(   textureBitmap :HANDLE;
  VAR  featureEndX :INTEGER;
  VAR  featureEndY :INTEGER
) ;

Python:

def  vs.GetTexBFeatureEnd(textureBitmap):
   return (featureEndX, featureEndY)

Description:

Procedure GetTexBFeatureEnd returns the "feature endpoint" of the referenced texture bitmap. The point is expressed in pixels from the top left corner of the bitmap.

説明

ハンドルで指定したビットマップのノードの終点座標を返します。

Parameters:

textureBitmap Handle to texture bitmap. ビットマップのハンドル
featureEndX Returns X coordinate of feature end point. ノードの終点のX座標
featureEndY Returns Y coordinate of feature end point. ノードの終点のY座標



  GetTexBFeatureStart Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   GetTexBFeatureStart
(   textureBitmap :HANDLE;
  VAR  featureStartX :INTEGER;
  VAR  featureStartY :INTEGER
) ;

Python:

def  vs.GetTexBFeatureStart(textureBitmap):
   return (featureStartX, featureStartY)

Description:

Procedure GetTexBFeatureStart returns the "feature startpoint" of the referenced texture bitmap. The point is expressed in pixels from the top left corner of the bitmap.

説明

ハンドルで指定したビットマップのノードの始点座標を返します。

Parameters:

textureBitmap Handle to texture bitmap. ビットマップのハンドル
featureStartX Returns X coordinate of feature start point. ノードの始点のX座標
featureStartY Returns Y coordinate of feature start point. ノードの始点のY座標



  GetTexBitFeatureSize Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetTexBitFeatureSize
( textureBitmap:HANDLE ) :REAL ;

Python:

def  vs.GetTexBitFeatureSize(textureBitmap):
   return REAL

Description:

Function GetTexBitFeatureSize returns the feature size of the referenced bitmap in real world inches.

説明

ハンドルで指定したビットマップのノードの大きさを返します。

Parameters:

textureBitmap Handle to texture bitmap. ビットマップのハンドル



  GetTexBitmapOrigin Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

PROCEDURE   GetTexBitmapOrigin
(   textureBitmap :HANDLE;
  VAR  originX :INTEGER;
  VAR  originY :INTEGER
) ;

Python:

def  vs.GetTexBitmapOrigin(textureBitmap):
   return (originX, originY)

Special Notes:

GetTexBitmapOrigin is obsolete as of VectorWorks9.0

Description:

Procedure GetTexBitmapOrigin returns the origin of the bitmap applied to the referenced texture bitmap. The origin is measured in pixels, with the top left corner as (0,0).

説明

ハンドルで指定したビットマップのノードの原点座標を返します。

Parameters:

textureBitmap Handle to texture bitmap. ビットマップのハンドル
originX Returns X coordinate of bitmap origin. ノードの原点のX座標
originY Returns Y coordinate of bitmap origin. ノードの原点のY座標



  GetTexBitPaintNode Textures 
VectorWorks8.0 - obsolete as of VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetTexBitPaintNode
( textureBitmap:HANDLE ) :HANDLE ;

Python:

def  vs.GetTexBitPaintNode(textureBitmap):
   return HANDLE

Special Notes:

GetTexBitPaintNode is obsolete as of VectorWorks12.0

Description:

Function GetTexBitPaintNode returns the paint node of the referenced texture bitmap.

説明

ハンドルで指定したビットマップのペイントノードを返します。

Parameters:

textureBitmap Handle to texture bitmap. ビットマップのハンドル



  GetTexBitRepHoriz Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetTexBitRepHoriz
( textureBitmap:HANDLE ) :BOOLEAN ;

Python:

def  vs.GetTexBitRepHoriz(textureBitmap):
   return BOOLEAN

Description:

Function GetTexBitRepHoriz returns whether the referenced texture bitmap is set to repeat horizontally.

説明

ハンドルで指定したビットマップで、水平方向の繰り返しの有効/無効を返します。

Parameters:

textureBitmap Handle to texture bitmap. ビットマップのハンドル

Result:

The function returns TRUE if the texture bitmap is set to repeat.

返り値

水平方向の繰り返しが有効ならばTRUEを返します。



  GetTexBitRepVert Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetTexBitRepVert
( textureBitmap:HANDLE ) :BOOLEAN ;

Python:

def  vs.GetTexBitRepVert(textureBitmap):
   return BOOLEAN

Description:

Function GetTexBitRepVert returns whether the referenced texture bitmap is set to repeat vertically.

説明

ハンドルで指定したビットマップで、垂直方向の繰り返しが有効な場合は、TRUEを返します。

Parameters:

textureBitmap Handle to texture bitmap. ビットマップのハンドル

Result:

The function returns TRUE if the texture bitmap is set to repeat.

返り値

垂直方向の繰り返しが有効ならばTRUEを返します。



  GetTexMapBool Textures 
Vectorworks 2009 - obsolete as of Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTexMapBool
(   h :HANDLE;
    partID :LONGINT;
    selector :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetTexMapBool(h, partID, selector):
   return BOOLEAN

Special Notes:

GetTexMapBool is obsolete as of Vectorworks 2010

Description:

Get map info for specific part of object. partID is texture part, overall is 3. Selector: init:1, flip:2, repH:3, repV:4, long edge:5, worldZ:6, auto align:7

説明

ハンドルで指定した図形の指定した部分番号でのマッピング情報をBOOLEAN値で返します。部分番号を3に指定すると全体になります。

VW2010以降はGetTexMapxxxNを使用してください。



  GetTexMapBoolN Textures 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTexMapBoolN
(   obj :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT;
    selector :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetTexMapBoolN(obj, texPartID, texLayerID, selector):
   return BOOLEAN

Description:

Get map info for specific part of object. partID is texture part, overall is 3. Selector: init:1, flip:2, repH:3, repV:4, long edge:5, worldZ:6, auto align:7

説明

ハンドルで指定した図形の指定した部分番号でのマッピング情報をBOOLEAN値で返します。部分番号を3に指定すると全体になります。 Selector: init:1, flip:2, repH:3, repV:4, long edge:5, worldZ:6, auto align:7

Parameters:

texLayerID 0 for base, >0 for decals テクスチャレイヤ番号



  GetTexMapInt Textures 
Vectorworks 2009 - obsolete as of Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTexMapInt
(   h :HANDLE;
    partID :LONGINT;
    selector :INTEGER
) :INTEGER ;

Python:

def  vs.GetTexMapInt(h, partID, selector):
   return INTEGER

Special Notes:

GetTexMapInt is obsolete as of Vectorworks 2010

Description:

Get map info for specific part of object. partID is texture part, overall is 3. Selector should be1, to return the texture map type integer.

説明

ハンドルで指定した図形の指定した部分番号でのマッピング情報をINTEGER値で返します。部分番号を3に指定すると全体になります。テクスチャマッピングの種類を整数で返すには、セレクタを 1に設定します。

VW2010以降はGetTexMapxxxNを使用してください。



  GetTexMapIntN Textures 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTexMapIntN
(   obj :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT;
    selector :INTEGER
) :INTEGER ;

Python:

def  vs.GetTexMapIntN(obj, texPartID, texLayerID, selector):
   return INTEGER

Description:

Get map info for specific part of object. partID is texture part, overall is 3. Selector should be1, to return the texture map type integer.

説明

ハンドルで指定した図形の指定した部分番号でのマッピング情報をINTEGER値で返します。部分番号を3に指定すると全体になります。テクスチャマッピングの種類を整数で返すには、セレクタを 1に設定します。

Parameters:

texLayerID 0 for base, >0 for decals テクスチャレイヤ番号(0:基準、正数:デカール)



  GetTexMapReal Textures 
Vectorworks 2009 - obsolete as of Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTexMapReal
(   h :HANDLE;
    partID :LONGINT;
    selector :INTEGER
) :REAL ;

Python:

def  vs.GetTexMapReal(h, partID, selector):
   return REAL

Special Notes:

GetTexMapReal is obsolete as of Vectorworks 2010

Description:

Get map info for specific part of object. partID is texture part, overall is 3. Selector: offsetX:1, offsetY:2, scale2D:3, rotate2D:4, radius:5, matrix mat00 through mat32: 6-17

説明

ハンドルで指定した図形の指定した部分番号でのマッピング情報をREAL値で返します。部分番号を3に指定すると全体になります。

VW2010以降はGetTexMapxxxNを使用してください。



  GetTexMapRealN Textures 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTexMapRealN
(   obj :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT;
    selector :INTEGER
) :REAL ;

Python:

def  vs.GetTexMapRealN(obj, texPartID, texLayerID, selector):
   return REAL

Description:

Get map info for specific part of object. partID is texture part, overall is 3. Selector: offsetX:1, offsetY:2, scale2D:3, rotate2D:4, radius:5, matrix mat00 through mat32: 6-17

説明

ハンドルで指定した図形の指定した部分番号でのマッピング情報をREAL値で返します。部分番号を3に指定すると全体になります。 Selector: offsetX:1, offsetY:2, scale2D:3, rotate2D:4, radius:5, matrix mat00 through mat32: 6-17

Parameters:

texLayerID 0 for base, >0 for decals テクスチャレイヤ番号(0:基準、正数:デカール)



  GetTexSpace2DOffset Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   GetTexSpace2DOffset
(   textureSpace :HANDLE;
  VAR  offsetU :REAL;
  VAR  offsetV :REAL
) ;

Python:

def  vs.GetTexSpace2DOffset(textureSpace):
   return (offsetU, offsetV)

Special Notes:

GetTexSpace2DOffset is obsolete as of Vectorworks 2009

Description:

Procedure GetTexSpace2DOffset returns the 2D offset for the referenced texture space in real-world inches.

説明

ハンドルで指定したビットマップのオフセット座標を返します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
offsetU Returns texture offset U component. オフセットのX座標
offsetV returns texture offset V component. オフセットのY座標



  GetTexSpace2DRadius Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTexSpace2DRadius
( textureSpace:HANDLE ) :REAL ;

Python:

def  vs.GetTexSpace2DRadius(textureSpace):
   return REAL

Special Notes:

GetTexSpace2DRadius is obsolete as of Vectorworks 2009

Description:

Function GetTexSpace2DRadius returns the radius of the referenced texture space for applicable mapping types.

説明

ハンドルで指定したビットマップのマッピングの半径を返します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル



  GetTexSpace2DRot Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTexSpace2DRot
( textureSpace:HANDLE ) :REAL ;

Python:

def  vs.GetTexSpace2DRot(textureSpace):
   return REAL

Special Notes:

GetTexSpace2DRot is obsolete as of Vectorworks 2009

Description:

Function GetTexSpace2DRot returns the rotation of the referenced texture space (in degrees).

説明

ハンドルで指定したビットマップのマッピングの回転角度を返します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル



  GetTexSpace2DScale Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTexSpace2DScale
( textureSpace:HANDLE ) :REAL ;

Python:

def  vs.GetTexSpace2DScale(textureSpace):
   return REAL

Special Notes:

GetTexSpace2DScale is obsolete as of Vectorworks 2009

Description:

Function GetTexSpace2DScale returns the 2D scale for the referenced texture space.

説明

ハンドルで指定したビットマップのマッピングの拡大率を返します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル



  GetTexSpaceEndCap Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTexSpaceEndCap
( textureSpace:HANDLE ) :BOOLEAN ;

Python:

def  vs.GetTexSpaceEndCap(textureSpace):
   return BOOLEAN

Special Notes:

GetTexSpaceEndCap is obsolete as of Vectorworks 2009

Description:

Function GetTexSpaceEndCap returns whether the end cap of the referenced extrude or sweep is textured.

説明

ハンドルで指定したビットマップで、底面のマッピングが設定されている場合は、TRUEを返します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル



  GetTexSpaceKind Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTexSpaceKind
( textureSpace:HANDLE ) :INTEGER ;

Python:

def  vs.GetTexSpaceKind(textureSpace):
   return INTEGER

Special Notes:

GetTexSpaceKind is obsolete as of Vectorworks 2009

Description:

Function GetTexSpaceKind returns the object type for texture mapping space.

Table - Texture Mapping Spaces

Date Style Constant
Plane 0
Sphere 1
Cylinder 2
Algorithmic 3

説明

ハンドルで指定したビットマップのマッピングの種類を返します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル



  GetTexSpaceOrientU Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   GetTexSpaceOrientU
(   textureSpace :HANDLE;
  VAR  uXAxis :REAL;
  VAR  uYAxis :REAL;
  VAR  uZAxis :REAL
) ;

Python:

def  vs.GetTexSpaceOrientU(textureSpace):
   return (uXAxis, uYAxis, uZAxis)

Special Notes:

GetTexSpaceOrientU is obsolete as of Vectorworks 2009

Description:

Procedure GetTexSpaceOrientU returns the vector that describes the u-axis of the referenced texture (from world space to texture space).

説明

ハンドルで指定したビットマップのU軸の座標を返します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
uXAxis Returns u-axis vector X component. U軸のX座標
uYAxis Returns u-axis vector Y component. U軸のY座標
uZAxis Returns u-axis vector Z component. U軸のZ座標



  GetTexSpaceOrientV Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   GetTexSpaceOrientV
(   textureSpace :HANDLE;
  VAR  vXAxis :REAL;
  VAR  vYAxis :REAL;
  VAR  vZAxis :REAL
) ;

Python:

def  vs.GetTexSpaceOrientV(textureSpace):
   return (vXAxis, vYAxis, vZAxis)

Special Notes:

GetTexSpaceOrientV is obsolete as of Vectorworks 2009

Description:

Procedure GetTexSpaceOrientV returns the vector that describes the v-axis of the referenced texture (from world space to texture space).

説明

ハンドルで指定したビットマップのV軸の座標を返します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
vXAxis Returns v-axis vector X component. V軸のX座標
vYAxis Returns v-axis vector Y component. V軸のY座標
vZAxis Returns v-axis vector Z component. V軸のZ座標



  GetTexSpaceOrientW Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   GetTexSpaceOrientW
(   textureSpace :HANDLE;
  VAR  wXAxis :REAL;
  VAR  wYAxis :REAL;
  VAR  wZAxis :REAL
) ;

Python:

def  vs.GetTexSpaceOrientW(textureSpace):
   return (wXAxis, wYAxis, wZAxis)

Special Notes:

GetTexSpaceOrientW is obsolete as of Vectorworks 2009

Description:

Procedure GetTexSpaceOrientW returns the vector that describes the w-axis of the referenced texture (from world space to texture space).

説明

ハンドルで指定したビットマップのW軸の座標を返します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
wXAxis Returns w-axis vector X component. W軸のX座標
wYAxis Returns w-axis vector Y component. W軸のY座標
wZAxis Returns w-axis vector Z component. W軸のZ座標



  GetTexSpaceOrigin Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   GetTexSpaceOrigin
(   textureSpace :HANDLE;
  VAR  offsetX :REAL;
  VAR  offsetY :REAL;
  VAR  offsetZ :REAL
) ;

Python:

def  vs.GetTexSpaceOrigin(textureSpace):
   return offset

Special Notes:

GetTexSpaceOrigin is obsolete as of Vectorworks 2009

Description:

Procedure GetTexSpaceOrigin returns the offset of the referenced texture space that takes coordinates from world space to texture space.

説明

ハンドルで指定したビットマップの原点座標を返します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
offset Returns texture space offset value. 原点の座標



  GetTexSpacePartID Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTexSpacePartID
( textureSpace:HANDLE ) :INTEGER ;

Python:

def  vs.GetTexSpacePartID(textureSpace):
   return INTEGER

Special Notes:

GetTexSpacePartID is obsolete as of Vectorworks 2009

Description:

Function GetTexSpacePartID returns the parent of the referenced texture space in an expanded object (walls or roofs).

Table - Texture Space Objects

Object Constant
Primary 0
Secondary 1
Tertiary 2

説明

ハンドルで指定したビットマップの部分番号を返します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル

返り値

パート番号



  GetTexSpaceStartCap Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTexSpaceStartCap
( textureSpace:HANDLE ) :BOOLEAN ;

Python:

def  vs.GetTexSpaceStartCap(textureSpace):
   return BOOLEAN

Special Notes:

GetTexSpaceStartCap is obsolete as of Vectorworks 2009

Description:

Function GetTexSpaceStartCap returns whether the start cap of an extrude or sweep is textured.

説明

ハンドルで指定したビットマップで、上面のマッピングが設定されている場合は、TRUEを返します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル

返り値

上面のマッピングの有無



  GetTextureBitmap Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetTextureBitmap
( shaderRecord:HANDLE ) :HANDLE ;

Python:

def  vs.GetTextureBitmap(shaderRecord):
   return HANDLE

Description:

Function GetTextureBitmap returns the bitmap object attached to the referenced texture.

説明

ハンドルで指定したテクスチャのビットマップを返します。

Parameters:

shaderRecord Handle to shader record. テクスチャのハンドル

Result:

If there is no texture applied to an object the function returns NIL.

返り値

ビットマップのハンドルを返します。



  GetTextureRef Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTextureRef
(   obj :HANDLE;
    partID :INTEGER;
    resolveByClass :BOOLEAN
) :LONGINT ;

Python:

def  vs.GetTextureRef(obj, partID, resolveByClass):
   return LONGINT

Special Notes:

GetTextureRef is obsolete as of Vectorworks 2010

Description:

Function GetTextureRef returns the texture reference ID for the referenced object. The integer returned is the internal index of the texture node used by this object.

説明

ハンドルで指定した3次元図形のテクスチャ番号を返します。

VW2010以降はGetTextureRefNを使用してください。

Parameters:

obj Handle to object. 3次元図形のハンドル
partID Identifies texture to be returned by part ID. 部分番号
resolveByClass Resolve texture reference by class. クラス属性の場合はTRUE

返り値

参照番号



  GetTextureRefN Textures 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTextureRefN
(   obj :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT;
    resolveByClass :BOOLEAN
) :LongInt ;

Python:

def  vs.GetTextureRefN(obj, texPartID, texLayerID, resolveByClass):
   return LongInt

Description:

Returns the texture reference for a specified object.

説明

ハンドルで指定した3次元図形のテクスチャ番号を返します。

Parameters:

texLayerID Texture layer ID, 0 for base, >0 for decals テクスチャレイヤ番号(0:基準、正数:デカール)



  GetTextureSet Textures 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   GetTextureSet
( object:HANDLE ) :INTEGER ;

Python:

def  vs.GetTextureSet(object):
   return INTEGER

Description:

Gets the texture set of an object.

説明

オブジェクトのテクスチャセットを取得します。

Parameters:

object The object. 図形のハンドル

Result:

The texture set.

0 - Object textures
1 - Component textures

返り値

テクスチャセットの番号を返します。

See Also:

SetTextureSet  



  GetTextureShader Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

FUNCTION   GetTextureShader
( texture:HANDLE ) :LONGINT ;

Python:

def  vs.GetTextureShader(texture):
   return LONGINT

Special Notes:

GetTextureShader is obsolete as of VectorWorks9.0

Description:

Function GetTextureShader returns the LightWorks internal property reference ID for the shader attached to the referenced texture.

説明

ハンドルで指定したテクスチャのシェーダ番号を返します。

Parameters:

texture Handle to texture. テクスチャのハンドル

返り値

シェーダ番号



  GetTextureShininess Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

FUNCTION   GetTextureShininess
( texture:HANDLE ) :INTEGER ;

Python:

def  vs.GetTextureShininess(texture):
   return INTEGER

Special Notes:

GetTextureShininess is obsolete as of VectorWorks9.0

Description:

Function GetTextureShininess returns the shininess value of the referenced texture. The value is expressed as a percentage value with 0 equaling "Dull".

説明

ハンドルで指定したテクスチャの反射率をパーセンテージで返します。反射率の範囲は0から100で、0の場合は鈍い反射です。

Parameters:

texture Handle to texture. テクスチャのハンドル

返り値

反射率(%)



  GetTextureSize Textures 
VectorWorks10.1

VectorScript Declaration:

FUNCTION   GetTextureSize
( texture:HANDLE ) :REAL ;

Python:

def  vs.GetTextureSize(texture):
   return REAL

Description:

Returns the texture size in real-world inches.

説明

ハンドルで指定したテクスチャの大きさを返します。



  GetTextureSpace Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTextureSpace
(   obj :HANDLE;
    partID :INTEGER
) :HANDLE ;

Python:

def  vs.GetTextureSpace(obj, partID):
   return HANDLE

Special Notes:

GetTextureSpace is obsolete as of Vectorworks 2009

Description:

Function GetTextureSpace returns a handle to the texture space attached to the referenced object(or object part).

説明

ハンドルで指定した3次元図形のテクスチャスペースを返します。

VW2009で使用できなくなった関数/手続きです。SetDefaultTexMapNをご利用ください。

Parameters:

obj Handle to object. 3次元図形のハンドル
partID Part ID (pass 1 for non-supporting objects). 部分番号

返り値

テクスチャスペースのハンドル

Example:

PROCEDURE Example; 
VAR
	XAxis, YAxis, ZAxis :REAL; 
	hObj :HANDLE; 
BEGIN
	hObj := GetTextureSpace(FSActLayer, 0); 
	GetTexSpaceOrientU(hObj, XAxis, YAxis, ZAxis); 
	Writeln('U', ' : ', XAxis, ' : ', YAxis, ' : ', ZAxis); 
	GetTexSpaceOrientV(hObj, XAxis, YAxis, ZAxis); 
	Writeln('V', ' : ', XAxis, ' : ', YAxis, ' : ', ZAxis); 
	GetTexSpaceOrientW(hObj, XAxis, YAxis, ZAxis); 
	Writeln('W', ' : ', XAxis, ' : ', YAxis, ' : ', ZAxis); 
END; 
RUN(Example); 



  GetTextureTransp Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

FUNCTION   GetTextureTransp
( texture:HANDLE ) :INTEGER ;

Python:

def  vs.GetTextureTransp(texture):
   return INTEGER

Special Notes:

GetTextureTransp is obsolete as of VectorWorks9.0

Description:

Function GetTextureTransp returns the degree of transparency applied to the referenced texture. It is expressed as a percentage with 0 creating an opaque texture.

説明

ハンドルで指定したテクスチャの透明度をパーセンテージで返します。透明度の範囲は0から100で、0の場合は不透明、100の場合は透明です。

Parameters:

texture Handle to texture. テクスチャのハンドル

返り値

透明度(%)



  GetWallHoleTexturePart Textures 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetWallHoleTexturePart
( object:HANDLE ) :INTEGER ;

Python:

def  vs.GetWallHoleTexturePart(object):
   return INTEGER

Description:

Gets the wall texture part of an object in the wall hole group of a symbol definition or plug-in object. This is the wall texture part given to faces of the wall that are created by cutting a hole in the wall with the object.

説明

プラグインオブジェクトや、シンボル定義の壁穴グループの図形の壁テクスチャを返します。

Parameters:

object The handle to the cutting object in the wall hole group of a symbol definition or plug-in object. シンボル定義かプラグインオブジェクトの壁穴グループの穴を開ける図形へのハンドル

Result:

The wall texture part.

0 - The wall Holes texture part
1 - The wall Left texture part
2 - The wall Right texture part

返り値

壁テクスチャの番号

See Also:

SetWallHoleTexturePart  



  GS_EdSh_ConstructLayout Textures 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   GS_EdSh_ConstructLayout
(   shaderNameCStr :ANY;
    paramsPtr :ANY;
    libraryDataPtr :ANY
) ;

Python:

def  vs.GS_EdSh_ConstructLayout(shaderNameCStr, paramsPtr, libraryDataPtr):
   return None

Description:

Creates a dialog layout for editing a shader's parameter values.

説明

シェーダのパラメータ値を編集するダイアログレイアウトを生成します。



  GS_EdSh_PopulateMenu Textures 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   GS_EdSh_PopulateMenu
(   itemID :LONGINT;
    numStrings :LONGINT;
    cStringsArray :LONGINT;
    libraryDataPtr :LONGINT
) ;

Python:

def  vs.GS_EdSh_PopulateMenu(itemID, numStrings, cStringsArray, libraryDataPtr):
   return None

Description:

Adds menu items to a popup in an edit shader dialog.

説明

シェーダ編集ダイアログのポップアップにメニュー項目を追加します。



  GS_EdSh_RunDialog Textures 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   GS_EdSh_RunDialog
( VAR  userHitOK :BOOLEAN;
  VAR  libraryDataPtr :BOOLEAN
) ;

Python:

def  vs.GS_EdSh_RunDialog():
   return (userHitOK, libraryDataPtr)

Description:

Runs an edit shader dialog layout.

説明

シェーダ編集ダイアログレイアウトを実行します。



  IsImageCropped Textures 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IsImageCropped
( object:HANDLE ) :BOOLEAN ;

Python:

def  vs.IsImageCropped(object):
   return BOOLEAN

Description:

Check is the given image cropped.

説明

指定したイメージがクロップされているか確認します。

Result:

Returns true if the given image is cropped, FALSE otherwise.

返り値

指定したイメージがクロップされていればTRUEを、そうでなければFALSEを返します。



  IsImageCropVisible Textures 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IsImageCropVisible
( object:HANDLE ) :BOOLEAN ;

Python:

def  vs.IsImageCropVisible(object):
   return BOOLEAN

Description:

Check is the crop of the image visible.

説明

イメージの枠が表示されているか確認します。

Result:

Returns true if the crop is visible, FALSE otherwise.

返り値

イメージの枠が表示されていればTRUEを、そうでなければFALSEを返します。



  IsRW Textures 
VectorWorks10.0

VectorScript Declaration:

FUNCTION   IsRW
:BOOLEAN ;

Python:

def  vs.IsRW():
   return BOOLEAN

Description:

Indicates whether RenderWorks is available.

説明

RenderWorks利用が可能/不可能かを返します。

Result:

Returns true if RenderWorks is available, false otherwise.

返り値

TRUE:RenderWorksが利用可能です。
FALSE:RenderWorksが利用不可能です。



  IsTextureableObject Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   IsTextureableObject
( obj:HANDLE ) :BOOLEAN ;

Python:

def  vs.IsTextureableObject(obj):
   return BOOLEAN

Description:

Function IsTextureableObject returns whether the referenced object supports texture mapping.

説明

ハンドルで指定した3次元図形にテクスチャが設定されていた場合はTRUEを返します。

Parameters:

obj Handle to object. 3次元図形のハンドル

Result:

Returns TRUE if object supports texture mapping.

返り値

テクステャの有無を返します。



  RemoveCustomTexParts Textures 
Vectorworks 2017

VectorScript Declaration:

PROCEDURE   RemoveCustomTexParts
( obj:HANDLE ) ;

Python:

def  vs.RemoveCustomTexParts(obj):
   return None

Description:

This routine removes all custom texture parts from the object.

説明

オブジェクトからすべてのカスタムのテクスチャを貼る範囲を削除します。

Parameters:

obj The object from which to remove custom texture parts. オブジェクトのハンドル

Example:

RemoveCustomTexParts(h);
AddCustomTexPart(100, ‘Stringers’);
AddCustomTexPart(200, ‘Treads’);



  ResolveByClassTextureRef Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   ResolveByClassTextureRef
(   obj :HANDLE;
    partID :INTEGER
) :LONGINT ;

Python:

def  vs.ResolveByClassTextureRef(obj, partID):
   return LONGINT

Description:

Function ResolveByClassTextureRef returns the internal index, or name, of the texture assigned to the referenced object.

Primary, secondary, or tertiary texture assignments can be returned for objects that support multiple textures, such as roofs or walls. For objects that do not support multiple textures, pass 0 to the partID parameter.

Table - Object Texture Reference

Texture Index Value
Primary 0
Secondary 1
Tertiary 2

説明

ハンドルで指定した3次元図形のテクスチャがクラス定義だった場合(部分番号が-1の場合)は、クラスのテクスチャ番号を返します。

Parameters:

obj Handle to object. 3次元図形のハンドル
partID Primary, secondary, or tertiary texture ID to be returned. 部分番号

返り値

テクスチャ参照番号

Example:

textureID:=ResolveByClassTextureRef(handleToObject,0);

See Also:

SetTextureRef   GetTextureRef  



  SetClTextureC Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetClTextureC
(   className :STRING;
    textureRef :LONGINT
) ;

Python:

def  vs.SetClTextureC(className, textureRef):
   return None

Description:

Procedure SetClTextureC sets the wall center texture of the specified class.

説明

指定したクラス属性の、壁の中央のテクスチャを設定します。

Parameters:

className Class name. クラスの名前
textureRef Texture reference index value. テクスチャ番号



  SetClTextureD Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetClTextureD
(   className :STRING;
    textureRef :LONGINT
) ;

Python:

def  vs.SetClTextureD(className, textureRef):
   return None

Description:

Procedure SetClTextureD sets the roof dormer texture of the specified class.

説明

指定したクラス属性の、屋根のテクスチャを設定します。

Parameters:

className Class name. クラスの名前
textureRef Texture reference index value. テクスチャ番号



  SetClTextureG Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetClTextureG
(   className :STRING;
    textureRef :LONGINT
) ;

Python:

def  vs.SetClTextureG(className, textureRef):
   return None

Description:

Procedure SetClTextureG sets the generic texture of the specified class.

説明

指定したクラス属性の、テクスチャを設定します。

Parameters:

className Class name. クラスの名前
textureRef Texture reference index value. テクスチャ番号



  SetClTextureL Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetClTextureL
(   className :STRING;
    textureRef :LONGINT
) ;

Python:

def  vs.SetClTextureL(className, textureRef):
   return None

Description:

Procedure SetClTextureL sets the left side wall texture of the specified class.

説明

指定したクラス属性の、壁の左側のテクスチャを設定します。

Parameters:

className Class name. クラスの名前
textureRef Texture reference index value. テクスチャ番号



  SetClTextureR Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetClTextureR
(   className :STRING;
    textureRef :LONGINT
) ;

Python:

def  vs.SetClTextureR(className, textureRef):
   return None

Description:

Procedure SetClTextureR sets the right side wall texture of the specified class.

説明

指定したクラス属性の、壁の右側のテクスチャを設定します。

Parameters:

className Class name. クラスの名前
textureRef Texture reference index value. テクスチャ番号



  SetClTextureT Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetClTextureT
(   className :STRING;
    textureRef :LONGINT
) ;

Python:

def  vs.SetClTextureT(className, textureRef):
   return None

Description:

Procedure SetClTextureT sets the roof top texture of the specified class.

説明

指定したクラス属性の、屋根のテクスチャを設定します。

Parameters:

className Class name. クラスの名前
textureRef Texture reference index value. テクスチャ番号



  SetCustomRWPrefs Textures 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetCustomRWPrefs
( VAR  useTextures :BOOLEAN;
  VAR  useTransparency :BOOLEAN;
  VAR  useShadows :BOOLEAN;
  VAR  useRayTracing :BOOLEAN;
  VAR  useAntiAliasing :BOOLEAN;
  VAR  useDithering :BOOLEAN;
  VAR  tessellationDetail :INTEGER;
  VAR  shadowStyle :INTEGER;
  VAR  rayTracingRecursion :INTEGER
) ;

Python:

def  vs.SetCustomRWPrefs():
   return (useTextures, useTransparency, useShadows, useRayTracing, useAntiAliasing, useDithering, tessellationDetail, shadowStyle, rayTracingRecursion)

Description:

Sets the current custom RenderWorks rendering preferences from data passed in.

説明

カスタムRenderworksレンダリング設定を設定します。



  SetDefaultTexMap Textures 
Vectorworks 2009 - obsolete as of Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetDefaultTexMap
( h:HANDLE ) ;

Python:

def  vs.SetDefaultTexMap(h):
   return None

Special Notes:

SetDefaultTexMap is obsolete as of Vectorworks 2010

Description:

Set the object to have default texture mapping info. Texture resource being used is set with SetTextureRef. Similar to SetDefaultTextureSpace except that routine has been superseded in version 2009.

説明

ハンドルで指定した図形にデフォルトのテクスチャマッピング情報を設定します。使用するテクスチャリソースは、SetTextureRef で設定します。SetDefaultTextureSpaceの代わりにご利用ください。

VW2010以降はSetDefaultTexMapNを使用してください。



  SetDefaultTexMapN Textures 
Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetDefaultTexMapN
(   h :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT
) ;

Python:

def  vs.SetDefaultTexMapN(h, texPartID, texLayerID):
   return None

Description:

Set the object to have default texture mapping info. Texture resource being used is set with SetTextureRef. This routine replaces SetDefaultTexMap with version 2010 and above.

説明

ハンドルで指定した図形にデフォルトのテクスチャマッピング情報を設定します。使用するテクスチャリソースは、SetTextureRef で設定します。SetDefaultTexMapの代わりにご利用ください。

Parameters:

h The textured object テクスチャのハンドル
texPartID The texture part ID テクスチャパート番号
texLayerID The texture layer ID, 0 for base, >0 for decals テクスチャレイヤ番号(0:基準、正数:デカール)



  SetDefaultTextureSpace Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetDefaultTextureSpace
(   obj :HANDLE;
    texSpace :HANDLE;
    partID :INTEGER
) ;

Python:

def  vs.SetDefaultTextureSpace(obj, texSpace, partID):
   return None

Special Notes:

SetDefaultTextureSpace is obsolete as of Vectorworks 2009

Description:

Procedure SetDefaultTextureSpace sets the texture space for the referenced object to the Vectorworks object defaults.

説明

ハンドルで指定した3次元図形にテクスチャスペースを設定します。

VW2009で使用できなくなった関数/手続きです。SetDefaultTexMapNをご利用ください。

Parameters:

obj Handle to object. 3次元図形のハンドル
texSpace Handle to texture space. テクスチャスペース
partID Part ID (pass 1 for non-supporting objects). 部分番号



  SetImageCropObject Textures 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   SetImageCropObject
(   image :HANDLE;
    crop :HANDLE
) :BOOLEAN ;

Python:

def  vs.SetImageCropObject(image, crop):
   return BOOLEAN

Description:

By given image handle and crop handle, set the crop to the image.

説明

指定したイメージと枠へのハンドルを元に、イメージに枠を設定します。

Result:

Returns TRUE if the cropping is successful.

返り値

クロップが成功した場合TRUEを返します。



  SetImageCropVisible Textures 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetImageCropVisible
(   object :HANDLE;
    isVisible :BOOLEAN
) ;

Python:

def  vs.SetImageCropVisible(object, isVisible):
   return None

Description:

Set the image crop visibility.

説明

イメージ枠の表示を設定します。

Parameters:

isVisible If TRUE the crop become visible, if FALSE - invisible. 枠が表示されたらTRUEを、表示されなかったらFALSEを返します。



  SetObjExpandTexture Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetObjExpandTexture
(   obj :HANDLE;
    expanded :BOOLEAN
) ;

Python:

def  vs.SetObjExpandTexture(obj, expanded):
   return None

Special Notes:

SetObjExpandTexture is obsolete as of Vectorworks 2009

Description:

Procedure SetObjExpandTexture sets the "expanded" state of the referenced objects' texture. When a texture is expanded, different components of an object can have different textures.

説明

ハンドルで指定した3次元図形のテクスチャを全体に貼り付けるように設定します。

Parameters:

obj Handle to object. 3次元図形のハンドル
expanded Use expanded textures setting. 全体に貼り付ける場合はTRUE



  SetOpenGLPrefs Textures 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetOpenGLPrefs
( VAR  useTextures :BOOLEAN;
  VAR  tessellationDetail :INTEGER;
  VAR  useNURBS :BOOLEAN
) ;

Python:

def  vs.SetOpenGLPrefs():
   return (useTextures, tessellationDetail, useNURBS)

Description:

Sets the current OpenGL rendering preferences from data passed in.

説明

OpenGLレンダリングの設定を設定します。



  SetTexBFeatureEnd Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetTexBFeatureEnd
(   textureBitmap :HANDLE;
    featureEndX :INTEGER;
    featureEndY :INTEGER
) ;

Python:

def  vs.SetTexBFeatureEnd(textureBitmap, featureEndX, featureEndY):
   return None

Description:

Procedure SetTexBFeatureEnd sets the "feature endpoint" of the referenced texture bitmap. Parameters featureEndX and featureEndY specify the end point. The point is expressed in pixels from the top left corner of the bitmap.

説明

ハンドルで指定したビットマップのノードの終点座標を設定します。

Parameters:

textureBitmap Handle to texture bitmap. ビットマップのハンドル
featureEndX X coordinate of feature end point. ノードの終点のX座標
featureEndY Y coordinate of feature end point. ノードの終点のY座標



  SetTexBFeatureStart Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetTexBFeatureStart
(   textureBitmap :HANDLE;
    featureStartX :INTEGER;
    featureStartY :INTEGER
) ;

Python:

def  vs.SetTexBFeatureStart(textureBitmap, featureStartX, featureStartY):
   return None

Description:

Procedure SetTexBFeatureStart sets the "feature startpoint" of the referenced texture bitmap. The point is expressed in pixels from the top left corner of the bitmap.

説明

ハンドルで指定したビットマップのノードの始点座標を設定します。

Parameters:

textureBitmap Handle to texture bitmap. ビットマップのハンドル
featureStartX X coordinate of feature start point. ノードの始点のX座標
featureStartY Y coordinate of feature start point. ノードの始点のY座標



  SetTexBitFeatureSize Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetTexBitFeatureSize
(   textureBitmap :HANDLE;
    featureSize :REAL
) ;

Python:

def  vs.SetTexBitFeatureSize(textureBitmap, featureSize):
   return None

Description:

Procedure SetTexBitFeatureSize sets the feature size of the referenced bitmap. Parameter featureSize specifies the size in real world inches.

説明

ハンドルで指定したビットマップのノードの大きさを設定します。

Parameters:

textureBitmap Handle to texture bitmap. ビットマップのハンドル
featureSize Feature size value. ノードの大きさ



  SetTexBitmapOrigin Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

PROCEDURE   SetTexBitmapOrigin
(   textureBitmap :HANDLE;
    originX :INTEGER;
    originY :INTEGER
) ;

Python:

def  vs.SetTexBitmapOrigin(textureBitmap, originX, originY):
   return None

Special Notes:

SetTexBitmapOrigin is obsolete as of VectorWorks9.0

Description:

Procedure SetTexBitmapOrigin sets the origin of the bitmap applied to the referenced texture bitmap. The origin is measured in pixels, with the top left corner as (0,0).

説明

ハンドルで指定したビットマップのノードの原点座標を設定します。

Parameters:

textureBitmap Handle to texture bitmap. ビットマップのハンドル
originX X coordinate of bitmap origin. ノードの原点のX座標
originY Y coordinate of bitmap origin. ノードの原点のY座標



  SetTexBitPaintNode Textures 
VectorWorks8.0 - obsolete as of VectorWorks12.0

VectorScript Declaration:

PROCEDURE   SetTexBitPaintNode
(   textureBitmap :HANDLE;
    paintNode :HANDLE
) ;

Python:

def  vs.SetTexBitPaintNode(textureBitmap, paintNode):
   return None

Special Notes:

SetTexBitPaintNode is obsolete as of VectorWorks12.0

Description:

Procedure SetTexBitPaintNode sets the paint node of the referenced texture bitmap.

説明

ハンドルで指定したビットマップのペイントノードを設定します。

Parameters:

textureBitmap Handle to texture bitmap. ビットマップのハンドル
paintNode Paint node for texture bitmap. ペイントノードのハンドル



  SetTexBitRepHoriz Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetTexBitRepHoriz
(   textureBitmap :HANDLE;
    repeatHoriz :BOOLEAN
) ;

Python:

def  vs.SetTexBitRepHoriz(textureBitmap, repeatHoriz):
   return None

Description:

Procedure SetTexBitRepHoriz sets the horizontal repeat flag for the referenced texture bitmap.

説明

ハンドルで指定したビットマップの水平方向の繰り返しの有無を設定します。

Parameters:

textureBitmap Handle to texture bitmap. ビットマップのハンドル
repeatHoriz Horizontal tiling setting. 水平方向の繰り返しが有効ならばTRUE



  SetTexBitRepVert Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetTexBitRepVert
(   textureBitmap :HANDLE;
    repeatVert :BOOLEAN
) ;

Python:

def  vs.SetTexBitRepVert(textureBitmap, repeatVert):
   return None

Description:

Procedure SetTexBitRepVert sets the vertical repeat flag for the referenced texture bitmap. Parameter repeatVert toggles vertical tiling.

説明

ハンドルで指定したビットマップの垂直方向の繰り返しの有無を設定します。

Parameters:

textureBitmap Handle to texture bitmap. ビットマップのハンドル
repeatVert Vertical tiling setting. 垂直方向の繰り返しが有効ならばTRUE



  SetTexMapBool Textures 
Vectorworks 2009 - obsolete as of Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTexMapBool
(   h :HANDLE;
    partID :LONGINT;
    selector :INTEGER;
    value :BOOLEAN
) ;

Python:

def  vs.SetTexMapBool(h, partID, selector, value):
   return None

Special Notes:

SetTexMapBool is obsolete as of Vectorworks 2010

Description:

Set map info for specific part of object. partID is texture part, overall is 3. Selector: init:1, flip:2, repH:3, repV:4, long edge:5, worldZ:6, auto align:7

説明

ハンドルで指定した図形の指定した部分番号でのマッピング情報をBOOLEAN値で設定します。部分番号を3に指定すると全体になります。

VW2010以降はGetTexMapxxxNを使用してください。



  SetTexMapBoolN Textures 
Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTexMapBoolN
(   obj :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT;
    selector :INTEGER;
    value :BOOLEAN
) ;

Python:

def  vs.SetTexMapBoolN(obj, texPartID, texLayerID, selector, value):
   return None

Description:

Set map info for specific part of object. partID is texture part, overall is 3. Selector: init:1, flip:2, repH:3, repV:4, long edge:5, worldZ:6, auto align:7

説明

ハンドルで指定した図形の指定した部分番号でのマッピング情報をBOOLEAN値で設定します。部分番号を3に指定すると全体になります。 Selector: init:1, flip:2, repH:3, repV:4, long edge:5, worldZ:6, auto align:7



  SetTexMapInt Textures 
Vectorworks 2009 - obsolete as of Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTexMapInt
(   h :HANDLE;
    partID :LONGINT;
    selector :INTEGER;
    value :INTEGER
) ;

Python:

def  vs.SetTexMapInt(h, partID, selector, value):
   return None

Special Notes:

SetTexMapInt is obsolete as of Vectorworks 2010

Description:

Set map info for specific part of object. partID is texture part, overall is 3. Selector should be 1 to set the map type integer.

説明

ハンドルで指定した図形の指定した部分番号でのマッピング情報をINTEGER値で設定します。部分番号を3に指定すると全体になります。

VW2010以降はGetTexMapxxxNを使用してください。



  SetTexMapIntN Textures 
Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTexMapIntN
(   obj :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT;
    selector :INTEGER;
    value :INTEGER
) ;

Python:

def  vs.SetTexMapIntN(obj, texPartID, texLayerID, selector, value):
   return None

Description:

Set map info for specific part of object. partID is texture part, overall is 3. Selector should be 1 to set the map type integer.

説明

ハンドルで指定した図形の指定した部分番号でのマッピング情報をINTEGER値で設定します。部分番号を3に指定すると全体になります。テクスチャマッピングの種類を整数で設定するには、セレクタを 1に設定します。

Parameters:

texLayerID 0 for base, >0 for decals テクスチャレイヤ番号(0:基準、正数:デカール)



  SetTexMapReal Textures 
Vectorworks 2009 - obsolete as of Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTexMapReal
(   h :HANDLE;
    partID :LONGINT;
    selector :INTEGER;
    value :REAL
) ;

Python:

def  vs.SetTexMapReal(h, partID, selector, value):
   return None

Special Notes:

SetTexMapReal is obsolete as of Vectorworks 2010

Description:

Set map info for specific part of object. partID is texture part, overall is 3. Selector: offsetX:1, offsetY:2, scale2D:3, rotate2D:4, radius:5, matrix mat00 through mat32: 6-17

説明

ハンドルで指定した図形の指定した部分番号でのマッピング情報をREAL値で設定します。部分番号を3に指定すると全体になります。

VW2010以降はGetTexMapxxxNを使用してください。



  SetTexMapRealN Textures 
Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTexMapRealN
(   obj :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT;
    selector :INTEGER;
    value :REAL
) ;

Python:

def  vs.SetTexMapRealN(obj, texPartID, texLayerID, selector, value):
   return None

Description:

Set map info for specific part of object. partID is texture part, overall is 3. Selector: offsetX:1, offsetY:2, scale2D:3, rotate2D:4, radius:5, matrix mat00 through mat32: 6-17

説明

ハンドルで指定した図形の指定した部分番号でのマッピング情報をREAL値で設定します。部分番号を3に指定すると全体になります。 Selector: offsetX:1, offsetY:2, scale2D:3, rotate2D:4, radius:5, matrix mat00 through mat32: 6-17

Parameters:

texLayerID 0 for base, >0 for decals テクスチャレイヤ番号(0:基準、正数:デカール)



  SetTexSpace2DOffset Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpace2DOffset
(   textureSpace :HANDLE;
    offsetU :REAL;
    offsetV :REAL
) ;

Python:

def  vs.SetTexSpace2DOffset(textureSpace, offsetU, offsetV):
   return None

Special Notes:

SetTexSpace2DOffset is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpace2DOffset sets the 2D offset for the referenced texture space in real-world inches.

説明

ハンドルで指定したビットマップのオフセット座標を設定します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
offsetU Texture offset U component. オフセットのX座標
offsetV Texture offset V component. オフセットのY座標



  SetTexSpace2DRadius Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpace2DRadius
(   textureSpace :HANDLE;
    radius :REAL
) ;

Python:

def  vs.SetTexSpace2DRadius(textureSpace, radius):
   return None

Special Notes:

SetTexSpace2DRadius is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpace2DRadius sets the radius of the referenced texture space for applicable mapping types.

説明

ハンドルで指定したビットマップのマッピングの半径を設定します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
radius Radius of texture space. マッピングの半径



  SetTexSpace2DRot Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpace2DRot
(   textureSpace :HANDLE;
    rotationDegrees :REAL
) ;

Python:

def  vs.SetTexSpace2DRot(textureSpace, rotationDegrees):
   return None

Special Notes:

SetTexSpace2DRot is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpace2DRot sets the rotation of the referenced texture space.

説明

ハンドルで指定したビットマップのマッピングの回転角度を設定します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
rotationDegrees Rotation of texture space(in degrees). マッピングの回転角度



  SetTexSpace2DScale Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpace2DScale
(   textureSpace :HANDLE;
    scale :REAL
) ;

Python:

def  vs.SetTexSpace2DScale(textureSpace, scale):
   return None

Special Notes:

SetTexSpace2DScale is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpace2DScale sets the 2D scale for the referenced texture space. Parameter scale specifies the new scale value.

説明

ハンドルで指定したビットマップのマッピングの拡大率を設定します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
scale Scale for texture space. マッピングの拡大率



  SetTexSpaceEndCap Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpaceEndCap
(   textureSpace :HANDLE;
    endCapTextured :BOOLEAN
) ;

Python:

def  vs.SetTexSpaceEndCap(textureSpace, endCapTextured):
   return None

Special Notes:

SetTexSpaceEndCap is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpaceEndCap sets whether the end cap of a referenced extrude or sweep is textured.

説明

ハンドルで指定したビットマップの底面のマッピングの有無を設定します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
endCapTextured Texture end cap status. 底面のマッピングの有無



  SetTexSpaceKind Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpaceKind
(   textureSpace :HANDLE;
    kind :INTEGER
) ;

Python:

def  vs.SetTexSpaceKind(textureSpace, kind):
   return None

Special Notes:

SetTexSpaceKind is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpaceKind sets the object type for referenced texture mapping space.

Table - Texture Mapping Spaces

Date Style Constant
Plane 0
Sphere 1
Cylinder 2
Algorithmic 3

説明

ハンドルで指定したビットマップのマッピングの種類を設定します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
kind Texture mapping space type. マッピングの種類



  SetTexSpaceOrientU Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpaceOrientU
(   textureSpace :HANDLE;
    uXAxis :REAL;
    uYAxis :REAL;
    uZAxis :REAL
) ;

Python:

def  vs.SetTexSpaceOrientU(textureSpace, uXAxis, uYAxis, uZAxis):
   return None

Special Notes:

SetTexSpaceOrientU is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpaceOrientU specifies the vector that describes the u-axis of the referenced texture (from world space to texture space).

説明

ハンドルで指定したビットマップのU軸の座標を設定します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
uXAxis Sets u-axis vector X component. U軸のX座標
uYAxis Sets u-axis vector Y component. U軸のY座標
uZAxis Sets u-axis vector Z component. U軸のZ座標



  SetTexSpaceOrientV Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpaceOrientV
(   textureSpace :HANDLE;
    vXAxis :REAL;
    vYAxis :REAL;
    vZAxis :REAL
) ;

Python:

def  vs.SetTexSpaceOrientV(textureSpace, vXAxis, vYAxis, vZAxis):
   return None

Special Notes:

SetTexSpaceOrientV is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpaceOrientV specifies the vector that describes the v-axis of the referenced texture (from world space to texture space).

説明

ハンドルで指定したビットマップのV軸の座標を設定します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
vXAxis Sets v-axis vector X component. V軸のX座標
vYAxis Sets v-axis vector Y component. V軸のY座標
vZAxis Sets v-axis vector Z component. V軸のZ座標



  SetTexSpaceOrientW Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpaceOrientW
(   textureSpace :HANDLE;
    wXAxis :REAL;
    wYAxis :REAL;
    wZAxis :REAL
) ;

Python:

def  vs.SetTexSpaceOrientW(textureSpace, wXAxis, wYAxis, wZAxis):
   return None

Special Notes:

SetTexSpaceOrientW is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpaceOrientW specifies the vector that describes the w-axis of the referenced texture (from world space to texture space).

説明

ハンドルで指定したビットマップのW軸の座標を設定します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
wXAxis Sets w-axis vector X component. W軸のX座標
wYAxis Sets w-axis vector Y component. W軸のY座標
wZAxis Sets w-axis vector Z component. W軸のZ座標



  SetTexSpaceOrigin Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpaceOrigin
(   textureSpace :HANDLE;
    offsetX :REAL;
    offsetY :REAL;
    offsetZ :REAL
) ;

Python:

def  vs.SetTexSpaceOrigin(textureSpace, offset):
   return None

Special Notes:

SetTexSpaceOrigin is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpaceOrigin sets the offset of the referenced texture space that takes coordinates from world space to texture space.

説明

ハンドルで指定したビットマップの原点座標を設定します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
offset Texture space offset value. 原点の座標



  SetTexSpacePartID Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpacePartID
(   textureSpace :HANDLE;
    partID :INTEGER
) ;

Python:

def  vs.SetTexSpacePartID(textureSpace, partID):
   return None

Special Notes:

SetTexSpacePartID is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpacePartID sets the parent of the referenced texture space in an expanded object (walls or roofs).

Table - Texture Space Objects

Object Constant
Primary 0
Secondary 1
Tertiary 2

説明

ハンドルで指定したビットマップの部分番号を設定します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
partID Part ID of texture space parent. 部分番号



  SetTexSpaceStartCap Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpaceStartCap
(   textureSpace :HANDLE;
    startCapTextured :BOOLEAN
) ;

Python:

def  vs.SetTexSpaceStartCap(textureSpace, startCapTextured):
   return None

Special Notes:

SetTexSpaceStartCap is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpaceStartCap sets the texture status of a referenced sweep or extrude.

説明

ハンドルで指定したビットマップの上面のマッピングの有無を設定します。

VW2009で使用できなくなった関数/手続きです。Set/Get TexMapをご利用ください。

Parameters:

textureSpace Handle to texture space. テクスチャスペースのハンドル
startCapTextured Texture start cap status. 上面のマッピングの有無



  SetTextureBitmap Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetTextureBitmap
(   shaderRecord :HANDLE;
    textureBitmap :HANDLE
) ;

Python:

def  vs.SetTextureBitmap(shaderRecord, textureBitmap):
   return None

Description:

Procedure SetTextureBitmap sets the bitmap object attached to the referenced texture. If no texture is desired then set textureBitmap to NIL.

説明

ハンドルで指定したテクスチャのビットマップを設定します。図形が存在しない場合はtextureBitmapにNILを返します。

Parameters:

shaderRecord Handle to shader record. テクスチャのハンドル
textureBitmap Handle to texture bitmap. ビットマップのハンドル



  SetTextureRef Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTextureRef
(   obj :HANDLE;
    textureRef :LONGINT;
    partID :INTEGER
) ;

Python:

def  vs.SetTextureRef(obj, textureRef, partID):
   return None

Special Notes:

SetTextureRef is obsolete as of Vectorworks 2010

Description:

Function SetTextureRef sets the texture reference ID for the referenced object.

説明

ハンドルで指定した3次元図形のテクスチャ番号を設定します。

VW2010以降はSetTextureRefNを使用してください。

Parameters:

obj Handle to object. 3次元図形のハンドル
textureRef Texture reference ID. テクスチャ番号
partID Part to be assigned texture reference. 部分番号



  SetTextureRefN Textures 
Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTextureRefN
(   obj :HANDLE;
    textureRef :LONGINT;
    texPartID :LONGINT;
    texLayerID :LONGINT
) ;

Python:

def  vs.SetTextureRefN(obj, textureRef, texPartID, texLayerID):
   return None

Description:

Sets the texture reference for a specified object

説明

ハンドルで指定した3次元図形のテクスチャ番号を設定します。

Parameters:

texLayerID 0 for base, >0 for decals テクスチャレイヤ番号(0:基準、正数:デカール)



  SetTextureSet Textures 
Vectorworks 2011

VectorScript Declaration:

PROCEDURE   SetTextureSet
(   object :HANDLE;
    textureSet :INTEGER
) ;

Python:

def  vs.SetTextureSet(object, textureSet):
   return None

Description:

Sets the texture set of an object.

説明

オブジェクトのテクスチャセットを設定します。

Parameters:

object The object. 図形のハンドル
textureSet The texture set. 0 - Object textures 1 - Component textures テクスチャセットの番号

See Also:

GetTextureSet  



  SetTextureShader Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

PROCEDURE   SetTextureShader
(   texture :HANDLE;
    shaderIndex :LONGINT
) ;

Python:

def  vs.SetTextureShader(texture, shaderIndex):
   return None

Special Notes:

SetTextureShader is obsolete as of VectorWorks9.0

Description:

Procedure SetTextureShader sets the LightWorks internal property reference ID for the shader attached to the referenced texture.

説明

ハンドルで指定したテクスチャのシェーダ番号を設定します。

Parameters:

texture Handle to texture. テクスチャのハンドル
shaderIndex Shader ID value for texture. シェーダ番号



  SetTextureShininess Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

PROCEDURE   SetTextureShininess
(   texture :HANDLE;
    shininess :INTEGER
) ;

Python:

def  vs.SetTextureShininess(texture, shininess):
   return None

Special Notes:

SetTextureShininess is obsolete as of VectorWorks9.0

Description:

Procedure SetTextureShininess sets the shininess value of the referenced texture. The value is expressed as a percentage value in a range of 0-100 with 0 equaling "Dull".

説明

ハンドルで指定したテクスチャの反射率をパーセンテージで設定します。反射率の範囲は0から100で、0の場合は鈍い反射です。

Parameters:

texture Handle to texture. テクスチャのハンドル
shininess Shininess setting for texture. 反射率(%)



  SetTextureSize Textures 
VectorWorks10.1

VectorScript Declaration:

PROCEDURE   SetTextureSize
(   texture :HANDLE;
    newSize :REAL
) ;

Python:

def  vs.SetTextureSize(texture, newSize):
   return None

Description:

Sets the texture size in real-world inches.

説明

ハンドルで指定したテクスチャの大きさを設定します。



  SetTextureTransp Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

PROCEDURE   SetTextureTransp
(   texture :HANDLE;
    transparency :INTEGER
) ;

Python:

def  vs.SetTextureTransp(texture, transparency):
   return None

Special Notes:

SetTextureTransp is obsolete as of VectorWorks9.0

Description:

Procedure SetTextureTransp sets the degree of transparency applied to the referenced texture. The transparency value is expressed in the range of 0-100, with 0 equaling opaque and 100 equaling transparent.

説明

ハンドルで指定したテクスチャの透明度をパーセンテージで設定します。透明度の範囲は0から100で、0の場合は不透明、100の場合は透明です。

Parameters:

texture Handle to texture. テクスチャのハンドル
transparency Transparency setting for texture. 透明度(%)



  SetWallHoleTexturePart Textures 
Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetWallHoleTexturePart
(   object :HANDLE;
    part :INTEGER
) ;

Python:

def  vs.SetWallHoleTexturePart(object, part):
   return None

Description:

Sets the wall texture part of an object in the wall hole group of a symbol definition or plug-in object. This is the wall texture part given to faces of the wall that are created by cutting a hole in the wall with the object.

説明

プラグインオブジェクトや、シンボル定義の壁穴グループの図形の壁テクスチャを設定します。

Parameters:

object The handle to the cutting object in the wall hole group of a symbol definition or plug-in object. 図形のハンドル
part The wall texture part. 0 - The wall Holes texture part 1 - The wall Left texture part 2 - The wall Right texture part 0 - 壁の開口部のテクスチャ
1 - 壁の左側のテクスチャ
2 - 壁の右側のテクスチャ

See Also:

GetWallHoleTexturePart