CreateVPClOvrd Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   CreateVPClOvrd
(   viewportHandle :HANDLE;
    className :STRING
) ;

Python:

def  vs.CreateVPClOvrd(viewportHandle, className):
   return None

Description:

Creates a new override for the specified class in the specified viewport. The override is initially populated with the class's current properties.

説明

ビューポートのクラスに対してビューポートクラスを作成します。ビューポートクラスには現在のクラス設定が反映されます。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
className The name of the class. クラスの名前

See Also:

RemoveVPClOvrd  



  CreateVPLrOvrd Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   CreateVPLrOvrd
(   viewportHandle :HANDLE;
    layerHandle :HANDLE
) ;

Python:

def  vs.CreateVPLrOvrd(viewportHandle, layerHandle):
   return None

Description:

Creates a new layer override, initially set to the layer's current properties.

説明

新規のビューポートレイヤを作成し、レイヤの現在のプロパティに設定します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
layerHandle The layer to override. ビューポートレイヤとするレイヤ

See Also:

RemoveVPLrOvrd  



  GetVPClOvrdCount Viewports 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   GetVPClOvrdCount
( viewportHandle:HANDLE ) :INTEGER ;

Python:

def  vs.GetVPClOvrdCount(viewportHandle):
   return INTEGER

Description:

Returns the number of class overrides associated with a particular viewport.

説明

特定のビューポートで使用しているビューポートクラスの数を返します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル

Result:

Returns the number of class overrides associated with the given viewport.
If the handle is invalid, returns -1.

返り値

指定のビューポートで使用しているビューポートクラスの数を返します。
ハンドルが不適切な場合は-1を返します。

See Also:

GetVPClOvrdName  



  GetVPClOvrdFillBack Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   GetVPClOvrdFillBack
(   viewportHandle :HANDLE;
    className :STRING;
  VAR  colorRV :LONGINT;
  VAR  colorGV :LONGINT;
  VAR  colorBV :LONGINT
) ;

Python:

def  vs.GetVPClOvrdFillBack(viewportHandle, className):
   return (colorRV, colorGV, colorBV)

Description:

Fetches the fill background color of the class override. The color is returned as three RGB components in the range 0~65535.

説明

ビューポートクラスの背景色を返します。色は0~65535の三つのRGB値で返されます。

Parameters:

viewportHandle Handle to the viewport. ビューポートへのハンドル
className Name of class. クラスの名前
colorRV Returns red color component. 色の赤要素を返します
colorGV Returns green color component. 色の緑要素を返します
colorBV Returns blue color component. 色の青要素を返します

Result:

True if the viewport has an override for the specified class.
False if it does not have an override or the class or viewport was invalid.

返り値

指定のビューポートクラスがある場合TRUEを返します。
ビューポートクラスがない場合、クラス、ビューポートが不適切な場合FALSEを返します。

See Also:

SetVPClOvrdFillBack  



  GetVPClOvrdFillFore Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   GetVPClOvrdFillFore
(   viewportHandle :HANDLE;
    className :STRING;
  VAR  colorRV :LONGINT;
  VAR  colorGV :LONGINT;
  VAR  colorBV :LONGINT
) ;

Python:

def  vs.GetVPClOvrdFillFore(viewportHandle, className):
   return (colorRV, colorGV, colorBV)

Description:

Fetches the fill foreground color of the class override. The color is returned as three RGB components in the range 0~65535.

説明

ビューポートクラスの前景色を返します。 色は0~65535の三つのRGB値で返されます。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
className The name of the class. クラスの名前
colorRV Red color value. 色の赤要素
colorGV Green color value. 色の緑要素
colorBV Blue color value. 色の青要素

Result:

True if the viewport has an override for the specified class.
False if it does not have an override or the class or viewport was invalid.

返り値

指定のビューポートクラスがある場合TRUEを返します。
ビューポートクラスがない場合、クラス、ビューポートが不適切な場合FALSEを返します。

See Also:

SetVPClOvrdFillFore  



  GetVPClOvrdFillOpty Viewports 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   GetVPClOvrdFillOpty
(   viewportHandle :HANDLE;
    className :STRING
) :INTEGER ;

Python:

def  vs.GetVPClOvrdFillOpty(viewportHandle, className):
   return INTEGER

Description:

Retrieves the fill opacity for a viewport class override.

説明

ビューポートクラスの面の不透明度を返します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
className Name of the class. クラスの名前

Result:

Returns the fill opacity of the class override.

返り値

ビューポートクラスの面の不透明度を返します。

See Also:

SetVPClOvrdFillOpty  



  GetVPClOvrdFillStyle Viewports 
Vectorworks 2018

VectorScript Declaration:

FUNCTION   GetVPClOvrdFillStyle
(   viewportHandle :HANDLE;
    className :STRING
) :LONGINT ;

Python:

def  vs.GetVPClOvrdFillStyle(viewportHandle, className):
   return LONGINT

Parameters:

viewportHandle The viewport Handle ビューポートのハンドル
className The name of the class override ビューポートクラスの名前



  GetVPClOvrdLineStyle Viewports 
Vectorworks 2018

VectorScript Declaration:

FUNCTION   GetVPClOvrdLineStyle
(   viewportHandle :HANDLE;
    className :STRING
) :LONGINT ;

Python:

def  vs.GetVPClOvrdLineStyle(viewportHandle, className):
   return LONGINT

Parameters:

viewportHandle The viewport handle. ビューポートのハンドル
className The name of the class override. ビューポートクラスの名前



  GetVPClOvrdLnWeight Viewports 
Vectorworks 2018

VectorScript Declaration:

FUNCTION   GetVPClOvrdLnWeight
(   viewportHandle :HANDLE;
    className :STRING
) :INTEGER ;

Python:

def  vs.GetVPClOvrdLnWeight(viewportHandle, className):
   return INTEGER

Parameters:

viewportHandle The handle of the viewport ビューポートのハンドル
className The name of the class override ビューポートクラスの名前



  GetVPClOvrdName Viewports 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   GetVPClOvrdName
(   viewportHandle :HANDLE;
    index :INTEGER
) :STRING ;

Python:

def  vs.GetVPClOvrdName(viewportHandle, index):
   return STRING

Description:

Gets the name for the override at a particular index in the override list.

説明

ビューポートクラス一覧の指定した番号のクラスの名前を返します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
index The index into the class override list. ビューポートクラス一覧の番号

Result:

Returns the name of the class which is overriden at the specified index.
Returns -1 if the index is out of bounds.

返り値

ビューポートクラス一覧の指定した番号のクラスの名前を返します。
番号が範囲外の時は-1を返します。

See Also:

GetVPClOvrdCount  



  GetVPClOvrdObjTxt Viewports 
Vectorworks 2018

VectorScript Declaration:

FUNCTION   GetVPClOvrdObjTxt
(   viewportHandle :HANDLE;
    className :STRING
) :INTEGER ;

Python:

def  vs.GetVPClOvrdObjTxt(viewportHandle, className):
   return INTEGER

Parameters:

viewportHandle The viewport handle ビューポートのハンドル
className The name of the class override ビューポートクラスの名前



  GetVPClOvrdPenBack Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   GetVPClOvrdPenBack
(   viewportHandle :HANDLE;
    className :STRING;
  VAR  colorRV :LONGINT;
  VAR  colorGV :LONGINT;
  VAR  colorBV :LONGINT
) ;

Python:

def  vs.GetVPClOvrdPenBack(viewportHandle, className):
   return (colorRV, colorGV, colorBV)

Description:

Fetches the pen background color of the class override. The color is returned as three RGB components in the range 0~65535.

説明

ビューポートクラスの線の背景色を返します。色は0~65535の三つのRGB値で返されます。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
className The name of the class. クラスの名前
colorRV Red color value. 色の赤要素
colorGV Green color value. 色の緑要素
colorBV Blue color value. 色の青要素

Result:

True if the viewport has an override for the specified class.
False if it does not have an override or the class or viewport was invalid.

返り値

指定のビューポートクラスがある場合TRUEを返します。
ビューポートクラスがない場合、クラス、ビューポートが不適切な場合FALSEを返します。

See Also:

SetVPClOvrdPenBack  



  GetVPClOvrdPenFore Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   GetVPClOvrdPenFore
(   viewportHandle :HANDLE;
    className :STRING;
  VAR  colorRV :LONGINT;
  VAR  colorGV :LONGINT;
  VAR  colorBV :LONGINT
) ;

Python:

def  vs.GetVPClOvrdPenFore(viewportHandle, className):
   return (colorRV, colorGV, colorBV)

Description:

Fetches the pen foreground color of the class override. The color is returned as three RGB components in the range 0~65535.

説明

ビューポートクラスの線の前景色を返します。色は0~65535の三つのRGB値で返されます。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
className The name of the class. クラスの名前
colorRV Red color value. 色の赤要素
colorGV Green color value. 色の緑要素
colorBV Blue color value. 色の青要素

Result:

True if the viewport has an override for the specified class.
False if it does not have an override or the class or viewport was invalid.

返り値

指定のビューポートクラスがある場合TRUEを返します。
ビューポートクラスがない場合、クラス、ビューポートが不適切な場合FALSEを返します。

See Also:

SetVPClOvrdPenBack  



  GetVPClOvrdPenOpty Viewports 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   GetVPClOvrdPenOpty
(   viewportHandle :HANDLE;
    className :STRING
) :INTEGER ;

Python:

def  vs.GetVPClOvrdPenOpty(viewportHandle, className):
   return INTEGER

Description:

Retrieves the pen opacity for a class override. Opacity is in the range 0-100.

説明

ビューポートクラスの線の不透明度を返します。不透明度は 0-100 です。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
className Name of the class. クラスの名前

Result:

Returns the pen opacity of the class override.

返り値

ビューポートクラスの線の不透明度を返します

See Also:

SetVPClOvrdPenOpty  



  GetVPClOvrdRoofTxt Viewports 
Vectorworks 2018

VectorScript Declaration:

PROCEDURE   GetVPClOvrdRoofTxt
(   viewportHandle :HANDLE;
    className :STRING;
  VAR  topMaterial :LONGINT;
  VAR  dormerMaterial :LONGINT
) ;

Python:

def  vs.GetVPClOvrdRoofTxt(viewportHandle, className):
   return (topMaterial, dormerMaterial)

Parameters:

viewportHandle The viewport handle ビューポートのハンドル
className The name of the class override ビューポートクラスの名前
topMaterial The material of the top 屋根のテクスチャ番号
dormerMaterial The material of the dormer ドーマーのテクスチャ番号



  GetVPClOvrdWallTxt Viewports 
Vectorworks 2018

VectorScript Declaration:

PROCEDURE   GetVPClOvrdWallTxt
(   viewportHandle :HANDLE;
    className :STRING;
  VAR  leftTexture :LONGINT;
  VAR  centerTexture :LONGINT;
  VAR  rightTexture :LONGINT
) ;

Python:

def  vs.GetVPClOvrdWallTxt(viewportHandle, className):
   return (leftTexture, centerTexture, rightTexture)

Parameters:

viewportHandle The viewport handle ビューポートのハンドル
className The name of the class override ビューポートクラスの名前
leftTexture The material of the left side 左側のテクスチャ番号
centerTexture The material of the center 中央のテクスチャ番号
rightTexture The material of the right side 右側のテクスチャ番号



  GetVPLrOvrdCount Viewports 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   GetVPLrOvrdCount
( viewportHandle:HANDLE ) :INTEGER ;

Python:

def  vs.GetVPLrOvrdCount(viewportHandle):
   return INTEGER

Description:

Retrieves the number of layer overrides.

説明

ビューポートレイヤの数を返します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル

Result:

Returns the number of layer overrides associated with the specified viewport.
If the handle is invalid, returns -1.

返り値

指定したビューポートのビューポートレイヤの数を返します。
ハンドルが不適切な場合 -1 を返します。

See Also:

GetVPLrOvrdHandle  



  GetVPLrOvrdFillBack Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   GetVPLrOvrdFillBack
(   viewportHandle :HANDLE;
    layerHandle :HANDLE;
  VAR  colorRV :LONGINT;
  VAR  colorGV :LONGINT;
  VAR  colorBV :LONGINT
) ;

Python:

def  vs.GetVPLrOvrdFillBack(viewportHandle, layerHandle):
   return (colorRV, colorGV, colorBV)

Description:

Gets the fill background color from a layer override.

説明

ビューポートレイヤの背景色を返します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
layerHandle The layer handle. レイヤへのハンドル
colorRV Red value (0-65535) 色の赤要素 (0-65535)
colorGV Green value (0-65535) 色の緑要素 (0-65535)
colorBV Blue value (0-65535) 色の青要素 (0-65535)

See Also:

SetVPLrOvrdFillBack  



  GetVPLrOvrdFillFore Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   GetVPLrOvrdFillFore
(   viewportHandle :HANDLE;
    layerHandle :HANDLE;
  VAR  colorRV :LONGINT;
  VAR  colorGV :LONGINT;
  VAR  colorBV :LONGINT
) ;

Python:

def  vs.GetVPLrOvrdFillFore(viewportHandle, layerHandle):
   return (colorRV, colorGV, colorBV)

Description:

Gets the fill foreground color from a layer override.

説明

ビューポートレイヤの前景色を返します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
layerHandle The layer handle. レイヤへのハンドル
colorRV Red value (0-65535) 色の赤要素 (0-65535)
colorGV Green value (0-65535) 色の緑要素 (0-65535)
colorBV Blue value (0-65535) 色の青要素 (0-65535)

See Also:

SetVPLrOvrdFillFore  



  GetVPLrOvrdHandle Viewports 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   GetVPLrOvrdHandle
(   viewportHandle :HANDLE;
    index :INTEGER
) :HANDLE ;

Python:

def  vs.GetVPLrOvrdHandle(viewportHandle, index):
   return HANDLE

Description:

Retrieves the handle of the layer overridden at the specified index in the overrides list.

説明

ビューポートレイヤ一覧の指定した番号のレイヤのハンドルを返します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
index The index into the layer overrides list. ビューポートレイヤ一覧の番号

Result:

Returns a handle to the layer overriden at the given index.
Returns 0 if the index is out of range.

返り値

ビューポートレイヤ一覧の指定した番号のレイヤのハンドルを返します。
番号が範囲外の時0を返します。

See Also:

GetVPLrOvrdCount  



  GetVPLrOvrdOpty Viewports 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   GetVPLrOvrdOpty
(   viewportHandle :HANDLE;
    layerHandle :HANDLE
) :INTEGER ;

Python:

def  vs.GetVPLrOvrdOpty(viewportHandle, layerHandle):
   return INTEGER

Description:

Gets the opacity for a layer override.

説明

ビューポートレイヤの不透明度を返します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
layerHandle The layer handle. レイヤへのハンドル

Result:

Returns the opacity for a layer override (0-100).

返り値

ビューポートレイヤの不透明度 (0-100) を返します。

See Also:

SetVPLrOvrdOpty  



  GetVPLrOvrdPenBack Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   GetVPLrOvrdPenBack
(   viewportHandle :HANDLE;
    layerHandle :HANDLE;
  VAR  colorRV :LONGINT;
  VAR  colorGV :LONGINT;
  VAR  colorBV :LONGINT
) ;

Python:

def  vs.GetVPLrOvrdPenBack(viewportHandle, layerHandle):
   return (colorRV, colorGV, colorBV)

Description:

Gets the pen background color from a layer override.

説明

ビューポートレイヤの線の背景色を返します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
layerHandle The layer handle. レイヤへのハンドル
colorRV Red value (0-65535) 色の赤要素 (0-65535)
colorGV Green value (0-65535) 色の緑要素 (0-65535)
colorBV Blue value (0-65535) 色の青要素 (0-65535)

See Also:

SetVPLrOvrdPenBack  



  GetVPLrOvrdPenFore Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   GetVPLrOvrdPenFore
(   viewportHandle :HANDLE;
    layerHandle :HANDLE;
  VAR  colorRV :LONGINT;
  VAR  colorGV :LONGINT;
  VAR  colorBV :LONGINT
) ;

Python:

def  vs.GetVPLrOvrdPenFore(viewportHandle, layerHandle):
   return (colorRV, colorGV, colorBV)

Description:

Gets the pen foreground color from a layer override.

説明

ビューポートレイヤの線の前景色を返します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
layerHandle The layer handle. レイヤへのハンドル
colorRV Red value (0-65535) 色の赤要素 (0-65535)
colorGV Green value (0-65535) 色の緑要素 (0-65535)
colorBV Blue value (0-65535) 色の青要素 (0-65535)

See Also:

SetVPLrOvrdPenFore  



  RemoveVPClOvrd Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   RemoveVPClOvrd
(   viewportHandle :HANDLE;
    className :STRING
) ;

Python:

def  vs.RemoveVPClOvrd(viewportHandle, className):
   return None

Description:

Removes a class override from the specified viewport.

説明

指定したビューポートからビューポートクラスを削除します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
className The name of the class. クラスの名前

See Also:

CreateVPClOvrd  



  RemoveVPLrOvrd Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   RemoveVPLrOvrd
(   viewportHandle :HANDLE;
    layerHandle :HANDLE
) ;

Python:

def  vs.RemoveVPLrOvrd(viewportHandle, layerHandle):
   return None

Description:

Removes a layer override.

説明

ビューポートレイヤを削除します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
layerHandle The layer handle. レイヤへのハンドル

See Also:

CreateVPLrOvrd  



  SetVPClOvrdFillBack Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetVPClOvrdFillBack
(   viewportHandle :HANDLE;
    className :STRING;
    colorRV :LONGINT;
    colorGV :LONGINT;
    colorBV :LONGINT
) ;

Python:

def  vs.SetVPClOvrdFillBack(viewportHandle, className, colorRV, colorGV, colorBV):
   return None

Description:

Sets the fill background color of a class override in a viewport. The color is specified by RGB values in the range 0~65535.

説明

ビューポートクラスの背景色を設定します。色は0~65535の三つのRGB値で返されます。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
className The name of the class to override. ビューポートクラスの名前
colorRV Red color value. 色の赤要素
colorGV Green color value. 色の緑要素
colorBV Blue color value. 色の青要素

Result:

Returns true if the color override was applied.
Returns false if the class override does not exist or the handle is invalid.

返り値

色が適用された場合TRUEを返します。
ビューポートクラスがない場合、ハンドルが不適切な場合FALSEを返します。

See Also:

GetVPClOvrdFillBack  



  SetVPClOvrdFillFore Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetVPClOvrdFillFore
(   viewportHandle :HANDLE;
    className :STRING;
    colorRV :LONGINT;
    colorGV :LONGINT;
    colorBV :LONGINT
) ;

Python:

def  vs.SetVPClOvrdFillFore(viewportHandle, className, colorRV, colorGV, colorBV):
   return None

Description:

Sets the fill foreground color of a class override in a viewport. The color is specified by RGB values in the range 0~65535.

説明

ビューポートクラスの前景色を設定します。色は0~65535の三つのRGB値で返されます。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
className The name of the class. クラスの名前
colorRV Red color value. 色の赤要素
colorGV Green color value. 色の緑要素
colorBV Blue color value. 色の青要素

Result:

Returns true if the color override was applied.
Returns false if the class override does not exist or the handle is invalid.

返り値

色が適用された場合TRUEを返します。
ビューポートクラスがない場合、ハンドルが不適切な場合FALSEを返します。

See Also:

GetVPClOvrdFillFore  



  SetVPClOvrdFillOpty Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetVPClOvrdFillOpty
(   viewportHandle :HANDLE;
    className :STRING;
    fillOpacity :INTEGER
) ;

Python:

def  vs.SetVPClOvrdFillOpty(viewportHandle, className, fillOpacity):
   return None

Description:

Sets the fill opacity for a viewport class override.

説明

ビューポートクラスの面の不透明度を設定します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
className Name of the class. クラスの名前
fillOpacity The fill opacity as a percentage (0-100). 不透明度のパーセント (0-100)

Result:

Returns true if the opacitiy could be set for the viewport override.
Returns false otherwise.

返り値

ビューポートクラスの面の不透明度が設定できた場合TRUEを返します。
その他の場合FALSEを返します。



  SetVPClOvrdFillStyle Viewports 
Vectorworks 2018

VectorScript Declaration:

PROCEDURE   SetVPClOvrdFillStyle
(   viewportHandle :HANDLE;
    className :STRING;
    fillStyle :LONGINT
) ;

Python:

def  vs.SetVPClOvrdFillStyle(viewportHandle, className, fillStyle):
   return None

Parameters:

viewportHandle The viewport handle ビューポートのハンドル
className The name of the class クラスの名前
fillStyle The fill style to be set 面の属性



  SetVPClOvrdLineStyle Viewports 
Vectorworks 2018

VectorScript Declaration:

PROCEDURE   SetVPClOvrdLineStyle
(   viewportHandle :HANDLE;
    className :STRING;
    lineStyle :LONGINT
) ;

Python:

def  vs.SetVPClOvrdLineStyle(viewportHandle, className, lineStyle):
   return None

Parameters:

viewportHandle The handle of the viewport. ビューポートのハンドル
className The name of the class クラスの名前
lineStyle The line style to be set to the class override 線の種類



  SetVPClOvrdLnWeight Viewports 
Vectorworks 2018

VectorScript Declaration:

PROCEDURE   SetVPClOvrdLnWeight
(   viewportHandle :HANDLE;
    className :STRING;
    LineWeight :INTEGER
) ;

Python:

def  vs.SetVPClOvrdLnWeight(viewportHandle, className, LineWeight):
   return None

Parameters:

viewportHandle The viewport handle ビューポートのハンドル
className The name of the class override クラスの名前
LineWeight The lineWeight to be set 線の太さ



  SetVPClOvrdObjTxt Viewports 
Vectorworks 2018

VectorScript Declaration:

PROCEDURE   SetVPClOvrdObjTxt
(   viewportHandle :HANDLE;
    className :STRING;
    objectTexture :INTEGER
) ;

Python:

def  vs.SetVPClOvrdObjTxt(viewportHandle, className, objectTexture):
   return None

Parameters:

viewportHandle The viewpoert handle ビューポートのハンドル
className The name of the class override クラスの名前
objectTexture The object texture to be set テクスチャ



  SetVPClOvrdPenBack Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetVPClOvrdPenBack
(   viewportHandle :HANDLE;
    className :STRING;
    colorRV :LONGINT;
    colorGV :LONGINT;
    colorBV :LONGINT
) ;

Python:

def  vs.SetVPClOvrdPenBack(viewportHandle, className, colorRV, colorGV, colorBV):
   return None

Description:

Sets the pen background color of a class override in a viewport. The color is specified by RGB values in the range 0~65535.

説明

ビューポートクラスの線の背景色を設定します。色は0~65535の三つのRGB値で返されます。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
className The name of the class. クラスの名前
colorRV Red color value. 色の赤要素
colorGV Green color value. 色の緑要素
colorBV Blue color value. 色の青要素

Result:

Returns true if the color override was applied.
Returns false if the class override does not exist or the handle is invalid.

返り値

色が適用された場合TRUEを返します。
ビューポートクラスがない場合、ハンドルが不適切な場合FALSEを返します。

See Also:

GetVPClOvrdPenBack  



  SetVPClOvrdPenFore Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetVPClOvrdPenFore
(   viewportHandle :HANDLE;
    className :STRING;
    colorRV :LONGINT;
    colorGV :LONGINT;
    colorBV :LONGINT
) ;

Python:

def  vs.SetVPClOvrdPenFore(viewportHandle, className, colorRV, colorGV, colorBV):
   return None

Description:

Sets the pen foreground color of a class override in a viewport. The color is specified by RGB values in the range 0~65535.

説明

ビューポートクラスの線の前景色を設定します。色は0~65535の三つのRGB値で返されます。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
className The name of the class. クラスの名前
colorRV Red color value. 色の赤要素
colorGV Green color value. 色の緑要素
colorBV Blue color value. 色の青要素

Result:

Returns true if the color override was applied.
Returns false if the class override does not exist or the handle is invalid.

返り値

色が適用された場合TRUEを返します。
ビューポートクラスがない場合、ハンドルが不適切な場合FALSEを返します。

See Also:

GetVPClOvrdPenBack  



  SetVPClOvrdPenOpty Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetVPClOvrdPenOpty
(   viewportHandle :HANDLE;
    className :STRING;
    penOpacity :INTEGER
) ;

Python:

def  vs.SetVPClOvrdPenOpty(viewportHandle, className, penOpacity):
   return None

Description:

Sets the pen opacity for a class override.

説明

ビューポートクラスの線の不透明度を設定します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
className Name of the class. クラスの名前
penOpacity The pen opacity as a percentage (0-100). 線の不透明度のパーセント (0-100)

Result:

True if the class override exists.
False otherwise.

返り値

ビューポートクラスが存在した場合TRUEを返します。
その他の場合FALSEを返します。

See Also:

GetVPClOvrdPenOpty  



  SetVPClOvrdRoofTxt Viewports 
Vectorworks 2018

VectorScript Declaration:

PROCEDURE   SetVPClOvrdRoofTxt
(   viewportHandle :HANDLE;
    className :STRING;
    topMaterial :LONGINT;
    dormerMaterial :LONGINT
) ;

Python:

def  vs.SetVPClOvrdRoofTxt(viewportHandle, className, topMaterial, dormerMaterial):
   return None

Parameters:

viewportHandle The viewport handle ビューポートのハンドル
className The name of the class override クラスの名前
topMaterial The material of the top 屋根のテクスチャ
dormerMaterial The material of the dormer ドーマーのテクスチャ



  SetVPClOvrdWallTxt Viewports 
Vectorworks 2018

VectorScript Declaration:

PROCEDURE   SetVPClOvrdWallTxt
(   viewportHandle :HANDLE;
    className :STRING;
    leftTexture :LONGINT;
    centerTexture :LONGINT;
    rightTexture :LONGINT
) ;

Python:

def  vs.SetVPClOvrdWallTxt(viewportHandle, className, leftTexture, centerTexture, rightTexture):
   return None

Parameters:

viewportHandle The handle of the viewport ビューポートのハンドル
className The name of the class override クラスの名前
leftTexture The left side texture to be set 壁の左側のテクスチャ
centerTexture Thecenter texture to be set 壁の中央のテクスチャ
rightTexture The right side texture to be set 壁の右側のテクスチャ



  SetVPLrOvrdFillBack Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetVPLrOvrdFillBack
(   viewportHandle :HANDLE;
    layerHandle :HANDLE;
    colorRV :LONGINT;
    colorGV :LONGINT;
    colorBV :LONGINT
) ;

Python:

def  vs.SetVPLrOvrdFillBack(viewportHandle, layerHandle, colorRV, colorGV, colorBV):
   return None

Description:

Sets the fill background color for a layer override.

説明

ビューポートレイヤの背景色を設定します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
layerHandle The layer handle. レイヤへのハンドル
colorRV Red value (0-65535) 色の赤要素 (0-65535)
colorGV Green value (0-65535) 色の緑要素 (0-65535)
colorBV Blue value (0-65535) 色の青要素 (0-65535)

See Also:

GetVPLrOvrdFillBack  



  SetVPLrOvrdFillFore Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetVPLrOvrdFillFore
(   viewportHandle :HANDLE;
    layerHandle :HANDLE;
    colorRV :LONGINT;
    colorGV :LONGINT;
    colorBV :LONGINT
) ;

Python:

def  vs.SetVPLrOvrdFillFore(viewportHandle, layerHandle, colorRV, colorGV, colorBV):
   return None

Description:

Sets the fill foreground color for a layer override.

説明

ビューポートレイヤの前景色を設定します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
layerHandle The layer handle. レイヤへのハンドル
colorRV Red value (0-65535) 色の赤要素 (0-65535)
colorGV Green value (0-65535) 色の緑要素 (0-65535)
colorBV Blue value (0-65535) 色の青要素 (0-65535)

See Also:

GetVPLrOvrdFillFore  



  SetVPLrOvrdOpty Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetVPLrOvrdOpty
(   viewportHandle :HANDLE;
    layerHandle :HANDLE;
    opacity :INTEGER
) ;

Python:

def  vs.SetVPLrOvrdOpty(viewportHandle, layerHandle, opacity):
   return None

Description:

Sets the opacity for a layer override.

説明

ビューポートレイヤの不透明度を設定します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
layerHandle The layer handle. レイヤへのハンドル
opacity Opacity (0-100) 不透明度 (0-100)

See Also:

GetVPLrOvrdOpty  



  SetVPLrOvrdPenBack Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetVPLrOvrdPenBack
(   viewportHandle :HANDLE;
    layerHandle :HANDLE;
    colorRV :LONGINT;
    colorGV :LONGINT;
    colorBV :LONGINT
) ;

Python:

def  vs.SetVPLrOvrdPenBack(viewportHandle, layerHandle, colorRV, colorGV, colorBV):
   return None

Description:

Sets the pen background color for a layer override.

説明

ビューポートレイヤの線の背景色を設定します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
layerHandle The layer handle. レイヤへのハンドル
colorRV Red value (0-65535) 色の赤要素 (0-65535)
colorGV Green value (0-65535) 色の緑要素 (0-65535)
colorBV Blue value (0-65535) 色の青要素 (0-65535)

See Also:

GetVPLrOvrdPenBack  



  SetVPLrOvrdPenFore Viewports 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetVPLrOvrdPenFore
(   viewportHandle :HANDLE;
    layerHandle :HANDLE;
    colorRV :LONGINT;
    colorGV :LONGINT;
    colorBV :LONGINT
) ;

Python:

def  vs.SetVPLrOvrdPenFore(viewportHandle, layerHandle, colorRV, colorGV, colorBV):
   return None

Description:

Sets the pen foreground color for a layer override.

説明

ビューポートレイヤの線の前景色を設定します。

Parameters:

viewportHandle The viewport handle. ビューポートへのハンドル
layerHandle The layer handle. レイヤへのハンドル
colorRV Red value (0-65535) 色の赤要素 (0-65535)
colorGV Green value (0-65535) 色の緑要素 (0-65535)
colorBV Blue value (0-65535) 色の青要素 (0-65535)

See Also:

GetVPLrOvrdPenFore