AddCavity Objects - Walls 
MiniCAD4.0 - obsolete as of VectorWorks12.0

VectorScript Declaration:

PROCEDURE   AddCavity
(   pair :BOOLEAN;
    leftOffDistance :REAL (Coordinate);
    rightOffDistance :REAL (Coordinate);
    pairFill :LONGINT
) ;

Python:

def  vs.AddCavity(pair, leftOffDistance, rightOffDistance, pairFill):
   return None

Special Notes:

AddCavity is obsolete as of VectorWorks12.0

Description:

Procedure AddCavity creates a wall cavity in a new wall object. The newly defined cavity becomes the default for all subsequently defined walls.

To apply a bitmap fill pattern, use positive value corresponding to the index of the bitmap pattern. To apply a vector fill pattern, use the negative of the vector fill index (index * -1).

Fill patterns and their associated constants can be found in the VectorScript Appendix.

説明

壁に中心線を追加します。

ビットマップは0から71までの正の値で示されています。ハッチングは負の値で示されています。

Parameters:

pair Double line display mode. 二重線の場合はTRUE
leftOffDistance Left edge offset from wall centerline. 右側のオフセット値
rightOffDistance Right edge offset from wall centerline. 左側のオフセット値
pairFill Fill index for filled cavities. 模様番号

Example:

{ Create wall object with 1" wide cavity using black pattern fill.}
DoubLines(6");
AddCavity(True, 1", 2", 2);
Wall(0, 1, 9, 1);

{ Create wall object with 1" wide cavity using a custom hatch fill.}
DoubLines(6");
AddCavity(True, 1", 2", -Name2Index('My Hatch'));
Wall(0, 1, 9, 1);



  AddSymToWall Objects - Walls 
MiniCAD6.0

VectorScript Declaration:

PROCEDURE   AddSymToWall
(   wallHd :HANDLE;
    offDistance :REAL (Coordinate);
    heightDistance :REAL (Coordinate);
    flip :BOOLEAN;
    right :BOOLEAN;
    symbolName :STRING
) ;

Python:

def  vs.AddSymToWall(wallHd, offDistance, heightDistance, flip, right, symbolName):
   return None

Description:

Procedure AddSymToWall inserts a specified symbol into the referenced wall.

説明

ハンドルで指定した壁に、シンボルを挿入します。

Parameters:

wallHd Handle to wall. 壁のハンドル
offDistance Offset distance from wall start. 壁の始点から挿入点までの距離
heightDistance Elevation of symbol. 挿入位置の高さ
flip Flipped status of symbol. シンボルを反転する場合はTRUE
right Left-right orientation of symbol. 右側に挿入する場合はTRUE
symbolName Name of symbol to insert in wall. シンボルの名前

Example:

AddSymToWall(HandleToWall,3',0',FALSE,FALSE,'Door-1');

See Also:

AddSymToWallEdge  



  AddSymToWallEdge Objects - Walls 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   AddSymToWallEdge
(   h :HANDLE;
    alongDistance :REAL (Coordinate);
    heightDistance :REAL (Coordinate);
    flip :BOOLEAN;
    right :BOOLEAN;
    symbolName :STRING;
    insertMode :INTEGER
) ;

Python:

def  vs.AddSymToWallEdge(h, alongDistance, heightDistance, flip, right, symbolName, insertMode):
   return None

Description:

Procedure AddSymToWallEdge inserts a symbol in the referenced wall using the specified parameters to define placement.

Table - Symbol Insertion Alignment

Alignment Constant
Centerline 0
Left Edge 1
Right Edge 2

説明

ハンドルで指定した壁に、挿入モードを指定してシンボルを挿入します。

Parameters:

h Handle to wall. 壁のハンドル
alongDistance Offset distance from wall start of insertion point. 壁の始点から挿入点までの距離
heightDistance Elevation of symbol. 挿入位置の高さ
flip Flip orientation of symbol. シンボルを反転する場合はTRUE
right Left-right orientation of symbol. 右側に挿入する場合はTRUE
symbolName Name of symbol to be inserted. シンボルの名前
insertMode Edge insertion mode. 挿入モード



  AddWallBottomPeak Objects - Walls 
VectorWorks9.0

VectorScript Declaration:

PROCEDURE   AddWallBottomPeak
(   wallHd :HANDLE;
    offDistance :REAL (Coordinate);
    heightDistance :REAL (Coordinate)
) ;

Python:

def  vs.AddWallBottomPeak(wallHd, offDistance, heightDistance):
   return None

Description:

Adds a peak to the bottom of the referenced wall.

説明

ハンドルで指定した壁の底面に、頂点を追加します。

Parameters:

wallHd Handle to wall. 壁のハンドル
offDistance Offset distance of peak from wall start. 頂点までの距離
heightDistance Height of peak. 頂点の高さ

Example:

AddWallBottomPeak(h,24'0",2'6");



  AddWallPeak Objects - Walls 
MiniCAD6.0

VectorScript Declaration:

PROCEDURE   AddWallPeak
(   wallHd :HANDLE;
    offDistance :REAL (Coordinate);
    heightDistance :REAL (Coordinate)
) ;

Python:

def  vs.AddWallPeak(wallHd, offDistance, heightDistance):
   return None

Description:

Procedure AddWallPeak creates a wall peak in the referenced wall object.

説明

ハンドルで指定した壁に頂点を追加します。

Parameters:

wallHd Handle to wall. 壁のハンドル
offDistance Offset distance from wall start. 壁の始点からの距離
heightDistance Elevation of wall peak. 頂点の高さ



  BreakWall Objects - Walls 
MiniCAD4.0

VectorScript Declaration:

PROCEDURE   BreakWall
(   offsetDistance :REAL (Coordinate);
    breakWidthDistance :REAL (Coordinate);
    right :BOOLEAN
) ;

Python:

def  vs.BreakWall(offsetDistance, breakWidthDistance, right):
   return None

Description:

Procedure BreakWall creates a break in a wall object on the left or the right at a specified offset location.

説明

直前に作成された壁を、指定した位置と長さで切り欠きます。

Parameters:

offsetDistance Offset distance from wall start. 壁の始点からの距離
breakWidthDistance Width of wall break. 切り欠きの長さ
right Left-right edge status of break. 切り欠きの位置(TRUE:右/FALSE:左)

Example:

MoveTo(2,3);
WallTo(7,3);
BreakWall(3",1",True);
{creates a right hand 1" wall break 3" from the start of the wall}



  ClearCavities Objects - Walls 
MiniCAD4.0 - obsolete as of VectorWorks12.5

VectorScript Declaration:

PROCEDURE   ClearCavities
;

Python:

def  vs.ClearCavities():
   return None

Special Notes:

ClearCavities is obsolete as of VectorWorks12.5

Description:

Procedure ClearCavities resets the default cavity style of wall objects to no cavities.

説明

壁の中心線をすべて消去します。

Example:

DoubLines(6");
AddCavity(True,1",2",2);
Wall(0,1,9,1);
ClearCavities;
Wall(0,2,11,2);
{creates a wall with a cavity, then creates a wall without a cavity}



  ClearWallPeaks Objects - Walls 
VectorWorks9.0

VectorScript Declaration:

PROCEDURE   ClearWallPeaks
( h:HANDLE ) ;

Python:

def  vs.ClearWallPeaks(h):
   return None

Description:

Removes all wall peaks from the referenced wall.

説明

ハンドルで指定した壁の頂点を、すべて消去します。

Parameters:

h Handle to wall. 壁のハンドル



  ConvertToUnstyledWall Objects - Walls 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   ConvertToUnstyledWall
( h:HANDLE ) :BOOLEAN ;

Python:

def  vs.ConvertToUnstyledWall(h):
   return BOOLEAN

Description:

Sets a wall to be unstyled.

説明

壁を<unstyled>に設定します。成功した場合はTRUEを返します。



  CreateWallFeature Objects - Walls 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   CreateWallFeature
(   wall :HANDLE;
    profile :HANDLE;
    wallFeatureType :INTEGER
) :HANDLE ;

Python:

def  vs.CreateWallFeature(wall, profile, wallFeatureType):
   return HANDLE

Description:

Creates a Wall Feature in the wall from the profile object. The Wall Feature can be a projection from the wall or a recess in the wall.

説明

壁フィーチャーを輪郭形状から作成します。

Parameters:

wall The handle to the wall in which to create the Wall Feature. 壁フィーチャーを作る壁のハンドル
profile The handle to the object to use as the Wall Feature profile. 壁フィーチャーの輪郭として使う図形のハンドル
wallFeatureType The Wall Feature type. 0 - Projection 1 - Recess 壁フィーチャーの種類タイプ 0 - 突出 1 - 窪み

Result:

The handle to the created Wall Feature.

返り値

作成された壁フィーチャーのハンドル



  CreateWallStyle Objects - Walls 
VectorWorks12.5

VectorScript Declaration:

FUNCTION   CreateWallStyle
( wallStyleName:STRING ) :HANDLE ;

Python:

def  vs.CreateWallStyle(wallStyleName):
   return HANDLE

Description:

Creates a new Wall Style of the give name. If the name is already in use, the next available name will be used.

説明

新しい壁スタイルを指定した名前で作成します。指定した名前の壁スタイルが存在する場合は、指定した名前に文字を追加し、利用できる名前で作成します。

Parameters:

wallStyleName The name of the new Wall Style. If the name is already in use, the next available name will be used. 壁スタイルの名前
名前が既に使われている場合は、次に可能な名前が使われます。

Result:

Returns a handle to the new Wall Style.

返り値

新しい壁スタイルのハンドルを返します。

Example:

PROCEDURE Example;
CONST
   wallStyleName = 'Example Wall Style';
VAR
   wallStyleHandle :HANDLE;
   wdth :REAL;
   fill :LONGINT;
   pwLeft, pwRight, psLeft, psRight :INTEGER;
   boo :BOOLEAN;
BEGIN
   wallStyleHandle := CreateWallStyle(wallStyleName);
   wdth    := 1";
   fill    :=  1; {solid white}
   pwLeft  := 14; {in mils}
   pwRight := 14; {in mils}
   psLeft  :=  2; {solid black}
   psRight :=  2; {solid black}
   boo := InsertNewComponent(wallStyleHandle, 1, wdth, fill, pwLeft, pwRight, psLeft, psRight);
   SetName(wallStyleHandle, wallStyleName); {Reset the wall style name.}
END;
RUN(Example);



  DeleteWallPeak Objects - Walls 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   DeleteWallPeak
(   wallHandle :HANDLE;
    index :INTEGER
) ;

Python:

def  vs.DeleteWallPeak(wallHandle, index):
   return None

Description:

Deletes the wall peak at the given index number

説明

指定した番号の壁の頂点を削除します。



  DeleteWallSym Objects - Walls 
MiniCAD6.0

VectorScript Declaration:

FUNCTION   DeleteWallSym
( symbolHd:HANDLE ) :BOOLEAN ;

Python:

def  vs.DeleteWallSym(symbolHd):
   return BOOLEAN

Description:

Function DeleteWallSym deletes the referenced symbol from a wall object.

説明

ハンドルで指定したシンボルを、選択された壁から削除します。削除に成功した場合はTRUEを返します。

Parameters:

symbolHd Handle to symbol. シンボルのハンドル



  GetCurtainWallCutPl Objects - Walls 
Vectorworks 2016

VectorScript Declaration:

FUNCTION   GetCurtainWallCutPl
( wall:HANDLE ) :REAL ;

Python:

def  vs.GetCurtainWallCutPl(wall):
   return REAL

Description:

Gets the curtain wall cut plane of the wall.

説明

カーテンウォールの断面高さを取得します。

Parameters:

wall The wall. 壁のハンドル

See Also:

SetCurtainWallCutPl  



  GetCWFramesFromPt Objects - Walls 
Vectorworks 2015

VectorScript Declaration:

FUNCTION   GetCWFramesFromPt
(   hWall :HANDLE;
    testPt :POINT;
    includeBottomFrame :BOOLEAN;
  VAR  panelThickness :REAL;
  VAR  panelOffset :REAL;
  VAR  frameInsetTop :REAL;
  VAR  frameInsetBottom :REAL;
  VAR  frameInsetRight :REAL;
  VAR  frameInsetLeft :REAL
) :BOOLEAN ;

Python:

def  vs.GetCWFramesFromPt(hWall, testPt, includeBottomFrame):
   return (BOOLEAN, panelThickness, panelOffset, frameInsetTop, frameInsetBottom, frameInsetRight, frameInsetLeft)

Description:

Returns information about the frames in a curtain wall from a given point.

Used for placing objects inside a panel in a curtain wall. When passing the center point of the object in the wall, it will find the panel in the curtain wall and return information about the surrounding frames.

説明

壁のポイントからカーテンウォールのフレーム情報を取得します。

カーテンウォールのパネルの中にオブジェクトを配置するために使用します。壁の中のオブジェクトの中心点を渡すと、カーテンウォールのパネルを探し出し、パネル周辺のフレームの情報を返します。

Parameters:

hWall Handle to the curtain wall カーテンウォールのハンドル
testPt Point to test on the curtain wall. Typically the center point of the object to be placed in the curtain wall panel. カーテンウォール中の探索点。典型的には、カーテンウォールのパネルに入れるオブジェクトの中心点。
includeBottomFrame Include the bottom frame. 返値の高さに下枠を含む
panelThickness This is the thickness of the panel as it subtracts from the frames. It is a property of the panel パネルの厚さ
panelOffset This is the dimension from the center of the panel to the center of the wall パネルのオフセット
frameInsetTop The frame inset is the distance the panel extends into and subtracts from the frame. フレームのインセット

Result:

Returns TRUE if hWall is a curtain wall and frames are found.
Returns FALSE is hWall is not a curtain wall or the test point is not found on the wall.

返り値

hWallがカーテンウォールでパネルが見つかった場合TRUEを返します。
hWallがカーテンウォールでないか、点が壁の中になかった場合にFALSEを返します。



  GetCWPanelFromPt Objects - Walls 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   GetCWPanelFromPt
(   hWall :HANDLE;
    testPt :POINT;
    includeBottomFrame :BOOLEAN;
    centerPt :POINT;
  VAR  width :REAL;
  VAR  height :REAL
) :BOOLEAN ;

Python:

def  vs.GetCWPanelFromPt(hWall, testPt, includeBottomFrame):
   return (BOOLEAN, centerPt, width, height)

Description:

Returns information about a panel in a curtain wall from a given point.

Used for placing objects inside a panel in a curtain wall. When passing the center point of the object in the wall, it will find the panel in the curtain wall and return a new center point and the height and width of the panel.

説明

カーテンウォールの指定した点にあるパネルに関する情報を返します。

カーテンウォールのパネルの中にオブジェクトを配置するために使用します。壁の中のオブジェクトの中心点を渡すと、カーテンウォールのパネルを探し出し、パネルの中心点、高さ、幅を返します。

Parameters:

hWall Handle to the curtain wall カーテンウォールのハンドル
testPt Point to test on the curtain wall. Typically the center point of the object to be placed in the curtain wall panel. カーテンウォール中の探索点。典型的には、カーテンウォールのパネルに入れるオブジェクトの中心点。
includeBottomFrame Include the bottom frame in the return height. 返値の高さに下枠を含む。
centerPt Returns the center point of the rectangle in witch to place the object. オブジェクトを配置する長方形の中心点を返します。
width The width of the rectangle in which to place the object. オブジェクトを配置する長方形の幅。
height The height of the rectangle in which to place the object. オブジェクトを配置する長方形の高さ。

Result:

Returns TRUE if hWall is a curtain wall and a panel is found.
Returns FALSE is hWall is not a curtain wall or the test point is not found on the wall.

返り値

hWallがカーテンウォールでパネルが見つかった場合TRUEを返します。
hWallがカーテンウォールでないか、点が壁の中になかった場合にFALSEを返します。



  GetLayerDeltaZOffset Objects - Walls 
VectorWorks12.5 - obsolete as of Vectorworks 2012

VectorScript Declaration:

FUNCTION   GetLayerDeltaZOffset
( theWall:HANDLE ) :REAL ;

Python:

def  vs.GetLayerDeltaZOffset(theWall):
   return REAL

Special Notes:

GetLayerDeltaZOffset is obsolete as of Vectorworks 2012

Description:

Returns the wall height's offset to the layer delta z.

説明

ハンドルで指定した壁の、レイヤの厚み(ΔZ)からのオフセット値を返します。

Parameters:

theWall The wall. 壁のハンドル

See Also:

SetLayerDeltaZOffset  



  GetLinkHeightToLayerDeltaZ Objects - Walls 
VectorWorks12.5 - obsolete as of Vectorworks 2012

VectorScript Declaration:

FUNCTION   GetLinkHeightToLayerDeltaZ
( theWall:HANDLE ) :BOOLEAN ;

Python:

def  vs.GetLinkHeightToLayerDeltaZ(theWall):
   return BOOLEAN

Special Notes:

GetLinkHeightToLayerDeltaZ is obsolete as of Vectorworks 2012

Description:

Returns whether or not the wall's height is linked to the layer delta z.

説明

ハンドルで指定した壁の高さが、レイヤの厚み(ΔZ)にリンクしている/いないを返します。

Parameters:

theWall The wall. 壁のハンドル

See Also:

SetLinkHeightToLayerDeltaZ  



  GetNumOfWallBreaks Objects - Walls 
VectorWorks 2008

VectorScript Declaration:

FUNCTION   GetNumOfWallBreaks
(   wallH :HANDLE;
  VAR  numWallBreaks :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetNumOfWallBreaks(wallH):
   return (BOOLEAN, numWallBreaks)

Description:

Gets the number of breaks in a wall.

説明

ハンドルで指定した壁の、切断箇所数を返します。



  GetNumWallPeaks Objects - Walls 
VectorWorks9.0

VectorScript Declaration:

FUNCTION   GetNumWallPeaks
( h:HANDLE ) :INTEGER ;

Python:

def  vs.GetNumWallPeaks(h):
   return INTEGER

Description:

Returns the number of peaks in the referenced wall.

説明

ハンドルで指定した壁の頂点の数を返します。

Parameters:

h Handle to wall. 壁のハンドル

Result:

Returns the number of wall peaks.

返り値

頂点の数を返します。



  GetObjectWallHeight Objects - Walls 
Vectorworks 2015

VectorScript Declaration:

FUNCTION   GetObjectWallHeight
(   objH :HANDLE;
    wallH :HANDLE;
  VAR  height :REAL
) :BOOLEAN ;

Python:

def  vs.GetObjectWallHeight(objH, wallH):
   return (BOOLEAN, height)

Description:

Gets an object's height value in it's break record.

The object (objH) must be contained in wall (wallH) to succeed.

説明

壁の中の図形の高さを返します。

図形(objH)が壁(wallH)の中に含まれている必要があります。

Result:

True or False upon successful setting of the flag.

False can occur for the following conditions:
objH is null.
wallH is null.
objH is not contained in wallH.

返り値

正しく動作したかどうかのフラグを返します。

以下の条件では正常に動作しません:
objH が null のとき
wallH が null のとき
objH が wallH に含まれていないとき



  GetObjectWallOffset Objects - Walls 
Vectorworks 2015

VectorScript Declaration:

FUNCTION   GetObjectWallOffset
(   objH :HANDLE;
    wallH :HANDLE;
  VAR  offset :REAL
) :BOOLEAN ;

Python:

def  vs.GetObjectWallOffset(objH, wallH):
   return (BOOLEAN, offset)

Description:

Gets an object's offset value in it's break record.

The object (objH) must be contained in wall (wallH) to succeed.

説明

壁の中の図形のオフセットを返します。

図形(objH)が壁(wallH)の中に含まれている必要があります。

Result:

True or False upon successful setting of the flag.

False can occur for the following conditions:
objH is null.
wallH is null.
objH is not contained in wallH.

返り値

正しく動作したかどうかのフラグを返します。

以下の条件では正常に動作しません:
objH が null のとき
wallH が null のとき
objH が wallH に含まれていないとき



  GetObjectWallPerpOff Objects - Walls 
Vectorworks 2023

VectorScript Declaration:

FUNCTION   GetObjectWallPerpOff
(   objectHandle :HANDLE;
    wallHandle :HANDLE;
  VAR  perpendicularOffset :REAL
) :BOOLEAN ;

Python:

def  vs.GetObjectWallPerpOff(objectHandle, wallHandle):
   return (BOOLEAN, perpendicularOffset)

Description:

Gets the perpendicular offset of an object in a wall.

説明

壁内のオブジェクトの垂直方向のオフセットを取得します。

Parameters:

objectHandle The object in the wall. 壁の中のオブジェクト
wallHandle The wall.
perpendicularOffset Returns the perpendicular offset. 垂直オフセットを返します。

Result:

Whether the call succeeded.

返り値

呼び出し成功の可否



  GetObjExtentsInWall Objects - Walls 
VectorWorks 2008

VectorScript Declaration:

FUNCTION   GetObjExtentsInWall
(   symH :HANDLE;
    wallH :HANDLE;
  VAR  startPtX :REAL;
  VAR  startPtY :REAL;
  VAR  endPtX :REAL;
  VAR  endPtY :REAL
) :BOOLEAN ;

Python:

def  vs.GetObjExtentsInWall(symH, wallH):
   return (BOOLEAN, startPt, endPt)

Description:

Gets the extents of a Plugin object or symbol that is in a wall. Returns the object's start point and end point along the wall line.

説明

ハンドルで指定した壁に挿入されているプラグインオブジェクトまたはシンボルの、挿入位置の始点座標と終点座標を返します。



  GetObjWallBreakMode Objects - Walls 
Vectorworks 2017

VectorScript Declaration:

FUNCTION   GetObjWallBreakMode
(   objH :HANDLE;
    wallH :HANDLE;
  VAR  breakMode :INTEGER
) :Boolean ;

Python:

def  vs.GetObjWallBreakMode(objH, wallH, breakMode):
   return (Boolean, breakMode)

Description:

Returns the break mode for an object in a wall.

1 - Full Break with Caps
2 - Full Break no Caps
3 - Half Break
4 - No Break

The object (objH) must be contained in wall (wallH) to succeed.

説明

壁に挿入したオブジェクトの、壁の処理モードを返します。

1 - 線を消す(小口あり)
2 - 線を消す(小口なし)
3 - 線を見せる(一方のみ)
4 - 線を見せる(両方)

オブジェクトが壁に挿入されている必要があります。

Result:

True or False upon successful retrieving of the break mode.

False can occur for the following conditions:
objH is null.
wallH is null.
objH is not contained in wallH.

返り値

壁の処理を正常に取得できた場合にTrueを返します。

次のような場合にFalseを返します:
オブジェクトのハンドルが null
壁のハンドルが null
オブジェクトが壁に挿入されていない



  GetObjWallInsertMode Objects - Walls 
Vectorworks 2017

VectorScript Declaration:

FUNCTION   GetObjWallInsertMode
(   objH :HANDLE;
    wallH :HANDLE;
  VAR  insertMode :INTEGER
) :Boolean ;

Python:

def  vs.GetObjWallInsertMode(objH, wallH, insertMode):
   return (Boolean, insertMode)

Description:

Returns the insertion mode for an object in a wall.

0 - Insert on the center of the wall
1 - Insert on the left edge of the wall
2 - Insert on the right edge of the wall
3 - Insert on the center of the wall core component
4 - Insert on the left edge of the wall core component
5 - Insert on the right edge of the wall core component

The object (objH) must be contained in wall (wallH) to succeed.

説明

壁に挿入したオブジェクトの、壁への挿入位置を返します。

1 - 壁の中心
2 - 壁の左面
3 - 壁の右面


オブジェクトが壁に挿入されている必要があります。

Result:

True or False upon successful retrieving of the insertion mode.

False can occur for the following conditions:
objH is null.
wallH is null.
objH is not contained in wallH.

返り値

壁への挿入位置を正常に取得できた場合にTrueを返します。

次のような場合にFalseを返します:
オブジェクトのハンドルが null
壁のハンドルが null
オブジェクトが壁に挿入されていない



  GetObjWallInsLocOff Objects - Walls 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   GetObjWallInsLocOff
(   objectHandle :HANDLE;
    wallHandle :HANDLE;
  VAR  insertLocationOffset :REAL
) :BOOLEAN ;

Python:

def  vs.GetObjWallInsLocOff(objectHandle, wallHandle):
   return (BOOLEAN, insertLocationOffset)

Description:

Gets the insert location offset of an object in a wall.

説明

壁内オブジェクトの挿入位置のオフセットを取得します。

Parameters:

objectHandle The object in the wall. 壁の中のオブジェクトのハンドル
wallHandle The wall. 壁のハンドル
insertLocationOffset Returns the insert location offset. 挿入位置のオフセット

Result:

Whether the call succeeded.

返り値

呼び出しが成功したかどうかを返します。

See Also:

SetObjWallInsLocOff  



  GetWallBelCutPlClass Objects - Walls 
Vectorworks 2017

VectorScript Declaration:

FUNCTION   GetWallBelCutPlClass
( wall:HANDLE ) :LONGINT ;

Python:

def  vs.GetWallBelCutPlClass(wall):
   return LONGINT

Description:

Gets the below cut plane class of the wall.

説明

壁の切断面より下の属性のクラスを取得します。

Parameters:

wall The wall. 壁のハンドル

Result:

The below cut plane class of the wall.

返り値

壁の切断面より下の属性のクラス

See Also:

SetWallBelCutPlClass  



  GetWallCapAttributesType Objects - Walls 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetWallCapAttributesType
( wall:HANDLE ) :INTEGER ;

Python:

def  vs.GetWallCapAttributesType(wall):
   return INTEGER

Description:

Gets the wall cap attributes type of a wall or round wall. The wall cap attributes type determines whether the wall caps have the wall line attributes or the component lines attributes. If they have the component lines attributes, each wall component is capped with its own left line attributes.

説明

壁の端の属性を返します。

Parameters:

wall The handle to the wall or round wall. 壁または円弧壁のハンドル

Result:

The wall cap attributes type.

0 - The wall cap attributes are the wall line attributes
1 - The wall cap attributes are the wall component lines attributes

返り値

壁の端の属性を返します

See Also:

SetWallCapAttributesType  



  GetWallCaps Objects - Walls 
VectorWorks12.5

VectorScript Declaration:

PROCEDURE   GetWallCaps
(   theWall :HANDLE;
  VAR  leftCap :BOOLEAN;
  VAR  rightCap :BOOLEAN;
  VAR  round :BOOLEAN
) ;

Python:

def  vs.GetWallCaps(theWall):
   return (leftCap, rightCap, round)

Description:

Gets the wall's caps.

説明

壁の端部の表示状況、形状を取得します。

Parameters:

theWall The wall. 壁のハンドル
leftCap Returns whether or not the wall has a left cap. 始点側の端を表示する/しない
rightCap Returns whether or not the wall has a right cap. 終点側の端を表示する/しない
round Returns whether or not the wall's caps are round. 端の形状を丸にする/しない

See Also:

SetWallCaps  



  GetWallCapsOffsets Objects - Walls 
VectorWorks12.5

VectorScript Declaration:

PROCEDURE   GetWallCapsOffsets
(   theWall :HANDLE;
  VAR  leftCapLeftOffset :REAL;
  VAR  leftCapRightOffset :REAL;
  VAR  rightCapLeftOffset :REAL;
  VAR  rightCapRightOffset :REAL
) ;

Python:

def  vs.GetWallCapsOffsets(theWall):
   return (leftCapLeftOffset, leftCapRightOffset, rightCapLeftOffset, rightCapRightOffset)

Description:

Get the wall's caps' offsets.

説明

壁の端部のオフセットを取得します。

Parameters:

theWall The wall. 壁のハンドル
leftCapLeftOffset Returns the left offset of the left wall cap. 左側の壁の左端のオフセット値
leftCapRightOffset Returns the right offset of the left wall cap. 左側の壁の右端のオフセット値
rightCapLeftOffset Returns the left offset of the right wall cap. 右側の壁の左端のオフセット値
rightCapRightOffset Returns the right offset of the right wall cap. 右側の壁の右端のオフセット値

See Also:

SetWallCapsOffsets  



  GetWallCompEndPts Objects - Walls 
Vectorworks 2015

VectorScript Declaration:

PROCEDURE   GetWallCompEndPts
(   wall :HANDLE;
    componentIndex :INTEGER;
    leftPoint :POINT;
    centerPoint :POINT;
    rightPoint :POINT
) ;

Python:

def  vs.GetWallCompEndPts(wall, componentIndex):
   return (leftPoint, centerPoint, rightPoint)

Description:

Gets the end points of a wall component.

説明

壁の構成要素の終点の座標を取得します。

Parameters:

wall The wall or round wall 壁または円弧壁のハンドル
componentIndex The component index 構成要素の番号
leftPoint Returns the left end point of the component 構成要素の左端点
centerPoint Returns the center end point of the component 構成要素の中心点
rightPoint Returns the right end point of the component 構成要素の右端点

Result:

None

返り値

None

See Also:

GetWallCompStartPts  



  GetWallCompStartPts Objects - Walls 
Vectorworks 2015

VectorScript Declaration:

PROCEDURE   GetWallCompStartPts
(   wall :HANDLE;
    componentIndex :INTEGER;
    leftPoint :POINT;
    centerPoint :POINT;
    rightPoint :POINT
) ;

Python:

def  vs.GetWallCompStartPts(wall, componentIndex):
   return (leftPoint, centerPoint, rightPoint)

Description:

Gets the start points of a wall component.

説明

壁の構成要素の始点の座標を取得します。

Parameters:

wall The wall or round wall 壁または円弧壁のハンドル
componentIndex The component index 構成要素の番号
leftPoint Returns the left start point of the component 構成要素の左端点
centerPoint Returns the center start point of the component 構成要素の中心点
rightPoint Returns the right start point of the component 構成要素の右端点

Result:

None

返り値

None

See Also:

GetWallCompEndPts  



  GetWallControlOffset Objects - Walls 
VectorWorks8.5 - obsolete as of VectorWorks12.5

VectorScript Declaration:

FUNCTION   GetWallControlOffset
:REAL ;

Python:

def  vs.GetWallControlOffset():
   return REAL

Special Notes:

GetWallControlOffset is obsolete as of VectorWorks12.5

Description:

Returns the default wall control line offset value.

説明

壁のオフセットの値を返します。

返り値

壁のオフセットの値



  GetWallCornerHeights Objects - Walls 
Vectorworks 2012

VectorScript Declaration:

PROCEDURE   GetWallCornerHeights
(   theWall :HANDLE;
  VAR  startHeightTop :REAL;
  VAR  startHeightBottom :REAL;
  VAR  endHeightTop :REAL;
  VAR  endHeightBottom :REAL
) ;

Python:

def  vs.GetWallCornerHeights(theWall):
   return (startHeightTop, startHeightBottom, endHeightTop, endHeightBottom)

Description:

Gets the corner heights of a wall or round wall.

説明

壁または円弧壁のコーナーの高さを取得します。

Parameters:

theWall The wall or round wall 壁または円弧壁のハンドル
startHeightTop The height of the start top corner 始点のオフセット高さ(上)
startHeightBottom The height of the start bottom corner 始点のオフセット高さ(下)
endHeightTop The height of the end top corner 終点のオフセット高さ(上)
endHeightBottom The height of the end bottom corner 終点のオフセット高さ(下)

See Also:

SetWallCornerHeights  



  GetWallHalfBreakInfo Objects - Walls 
VectorWorks 2008

VectorScript Declaration:

FUNCTION   GetWallHalfBreakInfo
(   wallH :HANDLE;
    breakIndex :INTEGER;
  VAR  startPtX :REAL;
  VAR  startPtY :REAL;
  VAR  centerPtX :REAL;
  VAR  centerPtY :REAL;
  VAR  endPtX :REAL;
  VAR  endPtY :REAL
) :BOOLEAN ;

Python:

def  vs.GetWallHalfBreakInfo(wallH, breakIndex):
   return (BOOLEAN, startPt, centerPt, endPt)

Description:

Gets the start point, center point and end point of a half break in a wall along the wall line.

説明

壁の線に沿った、壁内の半破断線の始点、中心点、終点を取得します。



  GetWallOverallHeights Objects - Walls 
Vectorworks 2012

VectorScript Declaration:

PROCEDURE   GetWallOverallHeights
(   theWall :HANDLE;
  VAR  overallHeightTop :REAL;
  VAR  overallHeightBottom :REAL
) ;

Python:

def  vs.GetWallOverallHeights(theWall):
   return (overallHeightTop, overallHeightBottom)

Description:

Gets the overall heights of a wall or round wall.

説明

壁または円弧壁の全高を取得します。

Parameters:

theWall The wall or round wall 壁または円弧壁のハンドル
overallHeightTop The overall height of the top オフセット高さ(上)
overallHeightBottom The overall height of the bottom オフセット高さ(下)

See Also:

SetWallOverallHeights  



  GetWallPathType Objects - Walls 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   GetWallPathType
( wall:HANDLE ) :INTEGER ;

Python:

def  vs.GetWallPathType(wall):
   return INTEGER

Description:

Gets the path type of a wall.

説明

壁のパスのタイプを返します。

Parameters:

wall The wall. 壁のハンドル

Result:

The wall path type.

0 - Line
1 - Arc

返り値

壁のパスタイプ。

0 - 線
1 - 円弧



  GetWallPeak Objects - Walls 
VectorWorks9.0

VectorScript Declaration:

PROCEDURE   GetWallPeak
(   h :HANDLE;
    index :INTEGER;
  VAR  xPeak :REAL;
  VAR  yPeak :REAL;
  VAR  zPeak :REAL
) ;

Python:

def  vs.GetWallPeak(h, index):
   return (xPeak, yPeak, zPeak)

Description:

Returns the coordinates of a wall peak in the referenced wall.

説明

ハンドルで指定した壁の頂点座標を返します。

Parameters:

h Handle to wall. 壁のハンドル
index Index of wall peak. 頂点番号
xPeak X-coordinate of wall peak. 頂点のX座標
yPeak Y-coordinate of wall peak. 頂点のY座標
zPeak Z-coordinate of wall peak. 頂点のZ座標



  GetWallPerpOffOfData Objects - Walls 
Vectorworks 2023

VectorScript Declaration:

FUNCTION   GetWallPerpOffOfData
(   wall :HANDLE;
    insertLocation :INTEGER;
    insertLocationOffset :REAL (Coordinate)
) :REAL ;

Python:

def  vs.GetWallPerpOffOfData(wall, insertLocation, insertLocationOffset):
   return REAL

Description:

Gets the perpendicular offset of an object in a wall from the insert data.

説明

挿入データから、壁内のオブジェクトの垂直オフセットを取得します。

Parameters:

wall The wall.
insertLocation The wall insert location. -1 - Insert on the nearest edge of the wall 0 - Insert on the center of the wall 1 - Insert on the left edge of the wall 2 - Insert on the right edge of the wall 3 - Insert on the center of the wall core component 4 - Insert on the left edge of the wall core component 5 - Insert on the right edge of the wall core component 6 - Insert on the wall insert location 7 - Insert on the wall closure insert location 壁挿入位置 -1 - 壁の最も近い端に挿入 0 - 壁の中央に挿入 1 - 壁の左端に挿入 2 - 壁の右端に挿入 3 - 壁のコア(構成要素)の中央に挿入 4 - 壁のコア(構成要素)の左端に挿入 5 - 壁のコア(構成要素)の右端に挿入 6 - 壁挿入位置に挿入 7 - 壁との取り合い挿入位置に挿入
insertLocationOffset The wall insert location offset. 壁の挿入位置のオフセット

Result:

The perpendicular offset.

返り値

垂直オフセット



  GetWallStyle Objects - Walls 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetWallStyle
( theWall:HANDLE ) :STRING ;

Python:

def  vs.GetWallStyle(theWall):
   return STRING

Description:

Gets the name of the Wall Style for theWall.

説明

壁スタイルの名前を返します。

Parameters:

theWall The wall. 壁のハンドル

See Also:

SetWallStyle  



  GetWallThickness Objects - Walls 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetWallThickness
(   h :HANDLE;
  VAR  thicknessDist :REAL
) :BOOLEAN ;

Python:

def  vs.GetWallThickness(h):
   return (BOOLEAN, thicknessDist)

Description:

Gets the thickness of a wall

説明

壁の厚みを返します。



  GetWallWidth Objects - Walls 
MiniCAD6.0

VectorScript Declaration:

FUNCTION   GetWallWidth
:REAL ;

Python:

def  vs.GetWallWidth():
   return REAL

Description:

Function GetWallWidth returns the default wall width setting of the document.

説明

デフォルトの壁の幅を返します。

返り値

壁の幅



  HWallHeight Objects - Walls 
MiniCAD6.0 - obsolete as of Vectorworks 2012

VectorScript Declaration:

PROCEDURE   HWallHeight
(   wallHd :HANDLE;
    startHeightDistance :REAL (Coordinate);
    endHeightDistance :REAL (Coordinate)
) ;

Python:

def  vs.HWallHeight(wallHd, startHeightDistance, endHeightDistance):
   return None

Special Notes:

HWallHeight is obsolete as of Vectorworks 2012

Description:

Procedure HWallHeight sets the wall heights of the referenced wall object.

説明

ハンドルで指定した壁の始点と終点の高さを設定します。

Parameters:

wallHd Handle to wall. 壁のハンドル
startHeightDistance New start height of wall. 始点の高さ
endHeightDistance New end height of wall. 終点の高さ



  HWallWidth Objects - Walls 
MiniCAD6.0

VectorScript Declaration:

PROCEDURE   HWallWidth
(   wallHd :HANDLE;
    widthDistance :REAL (Coordinate)
) ;

Python:

def  vs.HWallWidth(wallHd, widthDistance):
   return None

Description:

Procedure HWallWidth sets the wall width of the referenced wall object.

説明

ハンドルで指定した壁の幅を設定します。

Parameters:

wallHd Handle to wall. 壁のハンドル
widthDistance New wall width. 壁の幅

Example:

PROCEDURE Example;
VAR
	targetWall, sourceWall :HANDLE;
	cnt1, cnt2, cavs :INTEGER;
BEGIN
	targetWall := FSActLayer;
	MoveTo(0,0);
	WallTo(1,0);
	sourceWall := LNewObj;
	cavs := GetObjectVariableInt(sourceWall, 199);
	HWallWidth(targetWall, WallWidth(sourceWall));
	SetObjectVariableInt(targetWall, 199, cavs);
	FOR cnt2 := 0 TO cavs - 1 DO BEGIN
		SetObjectVariableBoolean(targetWall, 240 + cnt2, GetObjectVariableBoolean(sourceWall, 240 + cnt2)); {cavity is pair}
		SetObjectVariableReal   (targetWall, 200 + cnt2, GetObjectVariableReal   (sourceWall, 200 + cnt2)); {left offset}
		SetObjectVariableReal   (targetWall, 220 + cnt2, GetObjectVariableReal   (sourceWall, 220 + cnt2)); {right offset}
		SetObjectVariableLongInt(targetWall, 260 + cnt2, GetObjectVariableLongInt(sourceWall, 260 + cnt2)); {cavity fill}
		SetObjectVariableInt    (targetWall, 280 + cnt2, GetObjectVariableInt    (sourceWall, 280 + cnt2)); {pen weight}
		SetObjectVariableInt    (targetWall, 300 + cnt2, GetObjectVariableInt    (sourceWall, 300 + cnt2)); {pen style}
	END;
	ResetObject(targetWall);
	DelObject(sourceWall);
END;
RUN(Example);



  InsertSymbol Objects - Walls 
MiniCAD4.0

VectorScript Declaration:

PROCEDURE   InsertSymbol
(   offsetDistance :REAL (Coordinate);
    heightDistance :REAL (Coordinate);
    flipped :BOOLEAN;
    right :BOOLEAN;
    capped :BOOLEAN;
    symbolName :STRING
) ;

Python:

def  vs.InsertSymbol(offsetDistance, heightDistance, flipped, right, capped, symbolName):
   return None

Description:

Procedure InsertSymbol places a specified symbol into a wall.

説明

壁の中の指定した位置にシンボルを配置します。

Parameters:

offsetDistance Offset distance from wall start. 壁の始点からの距離
heightDistance Elevation of symbol. 挿入位置の高さ
flipped Flip orientation of symbol. シンボルを反転する場合はTRUE
right Left-right orientation of symbol. 右側に挿入する場合はTRUE
capped Cap wall breaks. 挿入位置の壁を閉じる場合はTRUE
symbolName Name of symbol to be inserted in wall. シンボルの名前

Example:

MoveTo(3,1);
WallTo(5',5');
InsertSymbol(1',False,False,True,'Door');
{inserts the symbol 'Door' at 1' from the start point of the last wall segment}

See Also:

AddSymToWall   AddSymToWallEdge  



  IsCurtainWall Objects - Walls 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IsCurtainWall
( wall:HANDLE ) :BOOLEAN ;

Python:

def  vs.IsCurtainWall(wall):
   return BOOLEAN

Description:

Gets whether or not a wall is a curtain wall.

説明

壁がカーテンウォールの場合はTRUEを返します。

Parameters:

wall The wall. 壁のハンドル

返り値

カーテンウォールと設定されていればTRUEを返します。
壁でないか、カーテンウォールとして設定されていなければFALSEを返します。

See Also:

SetIsCurtainWall  



  IsWallPeakTop Objects - Walls 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IsWallPeakTop
(   hWall :HANDLE;
    peakIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.IsWallPeakTop(hWall, peakIndex):
   return BOOLEAN

Description:

Returns true if specified peak (by index) of a wall is top.

説明

(番号で)指定した壁の頂点が上端にあるならばTRUEを返します。



  JoinWalls Objects - Walls 
VectorWorks10.0

VectorScript Declaration:

FUNCTION   JoinWalls
(   firstWall :HANDLE;
    secondWall :HANDLE;
    firstWallX :REAL;
    firstWallY :REAL;
    secondWallX :REAL;
    secondWallY :REAL;
    joinModifier :INTEGER;
    capped :BOOLEAN;
    showAlerts :BOOLEAN
) :BOOLEAN ;

Python:

def  vs.JoinWalls(firstWall, secondWall, firstWall, secondWall, joinModifier, capped, showAlerts):
   return BOOLEAN

Description:

This function provides a VectorScript interface to the Wall Join Tool. The parameters firstWall and secondWall are used to specify the pick points that determine which ends of the walls are to be joined, similar to the points requested by the Wall Join Tool.

説明

壁結合ツールのインターフェイスをVectorScriptで提供します。

Parameters:

firstWall The first wall of the join operation. For T joins this is the wall that is extended to meet the second wall. 壁1のハンドル
T型結合では2番目に指定する壁と結合するために伸ばします。
secondWall The second wall of the join operation. 壁2のハンドル
firstWall The first and second wall points are used to clarify corner joins. 壁1の結合する点の座標
secondWall The first and second wall points are used to clarify corner joins. 壁2の結合する点の座標
joinModifier Specifies the type of join: T-join = 1, L-join = 2, X-join = 3, and auto join = 4. 結合の種類 (1:T型結合/2:L型結合/3:X型結合/4:自動結合)
capped True for capped joins, false for un-capped joins. 端の表示(TRUE:表示/FALSE:非表示)
showAlerts Show an alert dialog if the join operation fails. 警告ダイアログの設定(TRUE:表示/FALSE:非表示)



  MoveWallByOffset Objects - Walls 
VectorWorks10.0

VectorScript Declaration:

PROCEDURE   MoveWallByOffset
(   theWall :HANDLE;
  VAR  offset :REAL
) ;

Python:

def  vs.MoveWallByOffset(theWall, offset):
   return offset

Description:

Available in Architect only. Moves the wall perpendicular to its definition line by the specified offset and maintains all wall connections. Wall movement may be constrained by the surrounding geometry so the actual amount of the offset is returned.

説明

ARCHITECTでのみ利用可能です。すべての壁の連結を維持したまま、壁を指定した値で定義した線に垂直に動かします。壁の移動の幾何学的に拘束されているので、実際に壁が動いた値を返します。

Parameters:

theWall A handle to the wall to move. 壁のハンドル
offset The distance to move the given wall. Negative offsets move the wall to the left and positive offsets move the wall to the right. The actual amount the wall was moved is returned in this field. 壁を動かす距離
負の値は左へ、正の値は右へ動かします。実際に動いた距離はこのフィールドに返されます。

Result:

The actual amount the wall was moved is passed back in the offset parameter.

返り値

実際に壁が移動した値を返します。



  ReverseWallSides Objects - Walls 
VectorWorks10.0

VectorScript Declaration:

PROCEDURE   ReverseWallSides
( theWall:HANDLE ) ;

Python:

def  vs.ReverseWallSides(theWall):
   return None

Description:

Switch the left and right side of a wall by reversing the direction of the wall. This is an interface to the button with the same name on the Object Info palette.

説明

ハンドルで指定した壁の向きを逆にすることで壁の左右を切り替えます。

Parameters:

theWall Handle to the wall to operate on. 壁のハンドル

Example:

PROCEDURE ReverseWallSidesExample;
VAR
	center_pt, start_pt, end_pt :VECTOR;
	h :HANDLE;
BEGIN
	center_pt.x := 0;
	center_pt.y := 0;
	start_pt.x := 100;
	start_pt.y := 0;
	end_pt.x := 0;
	end_pt.y := 100;
	RoundWall(center_pt.x, center_pt.y, start_pt.x, start_pt.y, end_pt.x, end_pt.y);
	h := LNewObj;
	ReverseWallSides(h);
END;
RUN(ReverseWallSidesExample);



  RoundWall Objects - Walls 
MiniCAD7.0

VectorScript Declaration:

PROCEDURE   RoundWall
(   centerPtX :REAL;
    centerPtY :REAL;
    startPtX :REAL;
    startPtY :REAL;
    endPtX :REAL;
    endPtY :REAL
) ;

Python:

def  vs.RoundWall(centerPt, startPt, endPt):
   return None

Description:

Procedure RoundWall creates a counter-clockwise round wall.

説明

円弧の壁を作成します。

Parameters:

centerPt Center point of wall arc. 壁の中心の座標
startPt Start point of wall arc. 壁の始点の座標
endPt End point of wall arc. 壁の終点の座標

Example:

PROCEDURE Example;
VAR
	x1, y1, x2, y2, x3, y3 :REAL;
	lineHandle :HANDLE;
BEGIN
	GetPt(x1, y1);
	GetPtL(x1, y1, x2, y2);
	MoveTo(x1, y1);
	LineTo(x2, y2);
	lineHandle := LNewObj;
	GetPtL(x2, y2, x3, y3);
	IF lineHandle <> NIL THEN DelObject(lineHandle);
	RoundWall(x1, y1, x2, y2, x3, y3);
END;
RUN(Example);

See Also:

Wall  



  SetCurtainWallCutPl Objects - Walls 
Vectorworks 2016

VectorScript Declaration:

PROCEDURE   SetCurtainWallCutPl
(   wall :HANDLE;
    curtainWallCutPlane :REAL
) ;

Python:

def  vs.SetCurtainWallCutPl(wall, curtainWallCutPlane):
   return None

Description:

Sets the curtain wall cut plane of the wall.

説明

カーテンウォールの断面高さを設定します。

Parameters:

wall The wall. 壁のハンドル
curtainWallCutPlane The curtain wall cut plane of the wall. カーテンウォールの断面高さ

See Also:

GetCurtainWallCutPl  



  SetIsCurtainWall Objects - Walls 
Vectorworks 2016

VectorScript Declaration:

PROCEDURE   SetIsCurtainWall
(   wall :HANDLE;
    isCurtainWall :BOOLEAN
) ;

Python:

def  vs.SetIsCurtainWall(wall, isCurtainWall):
   return None

Description:

Sets whether or not a wall is a curtain wall.

説明

壁をカーテンウォールにする/しないを設定します。

Parameters:

wall The wall. 壁のハンドル
isCurtainWall Whether or not the wall is a curtain wall. 壁をカーテンウォールにする/しない

See Also:

IsCurtainWall  



  SetLayerDeltaZOffset Objects - Walls 
VectorWorks12.5 - obsolete as of Vectorworks 2012

VectorScript Declaration:

FUNCTION   SetLayerDeltaZOffset
(   theWall :HANDLE;
    layerDeltaZOffset :REAL
) :BOOLEAN ;

Python:

def  vs.SetLayerDeltaZOffset(theWall, layerDeltaZOffset):
   return BOOLEAN

Special Notes:

SetLayerDeltaZOffset is obsolete as of Vectorworks 2012

Description:

Sets the wall height's offset to the layer delta z.

説明

ハンドルで指定した壁の高さの、レイヤの厚み(ΔZ)からのオフセット値を設定します。

Parameters:

theWall The wall. 壁のハンドル
layerDeltaZOffset The wall height's offset to the layer delta z. レイヤの厚み(ΔZ)からのオフセット値

Result:

Returns success status.

返り値

実行した結果を返します。

See Also:

GetLayerDeltaZOffset  



  SetLinkHeightToLayerDeltaZ Objects - Walls 
VectorWorks12.5 - obsolete as of Vectorworks 2012

VectorScript Declaration:

FUNCTION   SetLinkHeightToLayerDeltaZ
(   theWall :HANDLE;
    linkToLayerDeltaZ :BOOLEAN
) :BOOLEAN ;

Python:

def  vs.SetLinkHeightToLayerDeltaZ(theWall, linkToLayerDeltaZ):
   return BOOLEAN

Special Notes:

SetLinkHeightToLayerDeltaZ is obsolete as of Vectorworks 2012

Description:

Sets whether or not the wall's height is linked to the layer delta z.

説明

ハンドルで指定した壁の高さを、レイヤの厚み(ΔZ)にリンクする/しないを設定します。

Parameters:

theWall The wall. 壁のハンドル
linkToLayerDeltaZ Whether or not the wall's height is linked to the layer delta z. レイヤの厚み(ΔZ)にリンクする/しない

Result:

Returns success status.

返り値

実行した結果を返します。

See Also:

GetLinkHeightToLayerDeltaZ  



  SetObjectAsCornerBreak Objects - Walls 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   SetObjectAsCornerBreak
(   objH :HANDLE;
    wallH :HANDLE;
    cornerBreak :BOOLEAN
) :BOOLEAN ;

Python:

def  vs.SetObjectAsCornerBreak(objH, wallH, cornerBreak):
   return BOOLEAN

Description:

Sets an object's corner break flag in it's corner break record.

Setting the flag to TRUE will force the object into the closest end of the wall and set the offset position of the break record to reflect this.

Setting the flag to FALSE will unset the corner flag, but no further updating to the object will occur.

The oject (objH) must be contained in wall (wallH) for the setting to succeed.

説明

図形の頂点レコードのコーナー頂点フラグを設定します。

Parameters:

objH The handle of the object to update. 更新する図形のハンドル
wallH The handle of the wall cotainting the object referenced in objH. 更新する図形が参照している図形を含む壁へのハンドル
cornerBreak Boolean value to set or unset the cornerBreak flag for the object. この図形のcornerBreakを設定します

Result:

True or False upon successfull setting of the flag.

False can occur for the following conditions:
objH is null.
wallH is null.
objH is not contained in wallH.

返り値

設定が成功したかどうか。



  SetObjectAsSpanBreak Objects - Walls 
Vectorworks 2016

VectorScript Declaration:

FUNCTION   SetObjectAsSpanBreak
(   objH :HANDLE;
    wallH :HANDLE;
    spanWallBreak :BOOLEAN
) :BOOLEAN ;

Python:

def  vs.SetObjectAsSpanBreak(objH, wallH, spanWallBreak):
   return BOOLEAN

Description:

Sets an object's span wall flag in it's break record.

Setting the flag to TRUE will force the object the center of the wall and set the offset position of the break record to reflect this.

Setting the flag to FALSE will unset the span wall flag, but no further updating to the object will occur.

The oject (objH) must be contained in wall (wallH) for the setting to succeed.

説明

図形の頂点レコードの壁の長さに合わせるフラグを設定します。

図形(objH)が壁(wallH)の中に含まれている必要があります。

Parameters:

objH The handle of the object to update. 更新する図形のハンドル
wallH The handle of the wall cotainting the object referenced in objH. 更新する図形が参照している図形を含む壁へのハンドル
spanWallBreak Boolean value to set or unset the span wall flag for the object. 壁の長さに合わせる/合わせない

Result:

True or False upon successfull setting of the flag

False can occur for the following conditions:
objH is null.
wallH is null.
objH is not contained in wallH.

返り値

正しく動作したかどうかのフラグを返します。

以下の条件では正常に動作しません:
objH が null のとき
wallH が null のとき
objH が wallH に含まれていないとき



  SetObjectWallHeight Objects - Walls 
Vectorworks 2015

VectorScript Declaration:

FUNCTION   SetObjectWallHeight
(   objH :HANDLE;
    wallH :HANDLE;
    height :REAL (Coordinate)
) :BOOLEAN ;

Python:

def  vs.SetObjectWallHeight(objH, wallH, height):
   return BOOLEAN

Description:

Sets an object's height value in it's break record.

The object (objH) must be contained in wall (wallH) to succeed.

説明

壁の中の図形の高さを設定します。

図形(objH)が壁(wallH)の中に含まれている必要があります。

Result:

True or False upon successful setting of the flag.

False can occur for the following conditions:
objH is null.
wallH is null.
objH is not contained in wallH.

返り値

正しく動作したかどうかのフラグを返します。

以下の条件では正常に動作しません:
objH が null のとき
wallH が null のとき
objH が wallH に含まれていないとき



  SetObjectWallOffset Objects - Walls 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   SetObjectWallOffset
(   objH :HANDLE;
    wallH :HANDLE;
    offset :REAL (Coordinate)
) :BOOLEAN ;

Python:

def  vs.SetObjectWallOffset(objH, wallH, offset):
   return BOOLEAN

Description:

Sets an object's offset value in it's break record.

The oject (objH) must be contained in wall (wallH) for the setting to succeed.

説明

壁の中の図形のオフセットを設定します。

Parameters:

objH Handle of object to set a new offset value for. オフセットさせるオブジェクトハンドル
wallH Handle of wall containing the object refernces in objH. 壁のハンドル
offset Value of new offset for object within wall. 壁の中の図形のオフセット

Result:

True or False upon successfull setting of the flag.

False can occur for the following conditions:
objH is null.
wallH is null.
objH is not contained in wallH.

返り値

設定が成功したかどうかを返します。



  SetObjWallBreakMode Objects - Walls 
Vectorworks 2017

VectorScript Declaration:

FUNCTION   SetObjWallBreakMode
(   objH :HANDLE;
    wallH :HANDLE;
    breakMode :INTEGER
) :Boolean ;

Python:

def  vs.SetObjWallBreakMode(objH, wallH, breakMode):
   return Boolean

Description:

Set the break mode for an object in a wall.

1 - Full Break with Caps
2 - Full Break no Caps
3 - Half Break
4 - No Break

The object (objH) must be contained in wall (wallH) to succeed.

説明

壁に挿入したオブジェクトの、壁の処理モードを設定します。

1 - 線を消す(小口あり)
2 - 線を消す(小口なし)
3 - 線を見せる(一方のみ)
4 - 線を見せる(両方)

オブジェクトが壁に挿入されている必要があります。

Result:

True or False upon successful setting of the break mode.

False can occur for the following conditions:
objH is null.
wallH is null.
objH is not contained in wallH.

返り値

壁の処理を正常に設定できた場合にTrueを返します。

次のような場合にFalseを返します:
オブジェクトのハンドルが null
壁のハンドルが null
オブジェクトが壁に挿入されていない



  SetObjWallInsertMode Objects - Walls 
Vectorworks 2017

VectorScript Declaration:

FUNCTION   SetObjWallInsertMode
(   objH :HANDLE;
    wallH :HANDLE;
    insertMode :INTEGER
) :Boolean ;

Python:

def  vs.SetObjWallInsertMode(objH, wallH, insertMode):
   return Boolean

Description:

Set the insertion mode for an object in a wall.

0 - Insert on the center of the wall
1 - Insert on the left edge of the wall
2 - Insert on the right edge of the wall
3 - Insert on the center of the wall core component
4 - Insert on the left edge of the wall core component
5 - Insert on the right edge of the wall core component

The object (objH) must be contained in wall (wallH) to succeed.

説明

壁に挿入したオブジェクトの、壁への挿入位置を設定します。

1 - 壁の中心
2 - 壁の左面
3 - 壁の右面


オブジェクトが壁に挿入されている必要があります。

Result:

True or False upon successful setting of the insertion mode.

False can occur for the following conditions:
objH is null.
wallH is null.
objH is not contained in wallH.

返り値

壁への挿入位置を正常に設定できた場合にTrueを返します。

次のような場合にFalseを返します:
オブジェクトのハンドルが null
壁のハンドルが null
オブジェクトが壁に挿入されていない



  SetObjWallInsLocOff Objects - Walls 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   SetObjWallInsLocOff
(   objectHandle :HANDLE;
    wallHandle :HANDLE;
    insertLocationOffset :REAL (Coordinate)
) :BOOLEAN ;

Python:

def  vs.SetObjWallInsLocOff(objectHandle, wallHandle, insertLocationOffset):
   return BOOLEAN

Description:

Sets the insert location offset for an object in a wall.

説明

壁内のオブジェクトの挿入位置オフセットを設定します。

Parameters:

objectHandle The object in the wall. オブジェクトのハンドル
wallHandle The wall. 壁のハンドル
insertLocationOffset The insert location offset. 挿入位置オフセット

Result:

Whether the call succeeded.

返り値

関数が成功したかどうか。

See Also:

GetObjWallInsLocOff  



  SetWallBelCutPlClass Objects - Walls 
Vectorworks 2017

VectorScript Declaration:

PROCEDURE   SetWallBelCutPlClass
(   wall :HANDLE;
    belowCutPlaneClass :LONGINT
) ;

Python:

def  vs.SetWallBelCutPlClass(wall, belowCutPlaneClass):
   return None

Description:

Sets the below cut plane class of the wall.

説明

壁の切断面より下の属性のクラスを設定します。

Parameters:

wall The wall. 壁のハンドル
belowCutPlaneClass The below cut plane class. クラス

See Also:

GetWallBelCutPlClass  



  SetWallCapAttributesType Objects - Walls 
Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetWallCapAttributesType
(   wall :HANDLE;
    wallCapAttributesType :INTEGER
) ;

Python:

def  vs.SetWallCapAttributesType(wall, wallCapAttributesType):
   return None

Description:

Sets the wall cap attributes type of a wall or round wall. The wall cap attributes type determines whether the wall caps have the wall line attributes or the component lines attributes. If they have the component lines attributes, each wall component is capped with its own left line attributes.

説明

壁の端の属性を設定します。

Parameters:

wall The handle to the wall or round wall. 壁または円弧壁のハンドル
wallCapAttributesType The wall cap attributes type. 0 - The wall cap attributes are the wall line attributes 1 - The wall cap attributes are the wall component lines attributes 壁の端の属性

See Also:

GetWallCapAttributesType  



  SetWallCaps Objects - Walls 
VectorWorks12.5

VectorScript Declaration:

FUNCTION   SetWallCaps
(   theWall :HANDLE;
    leftCap :BOOLEAN;
    rightCap :BOOLEAN;
    round :BOOLEAN
) :BOOLEAN ;

Python:

def  vs.SetWallCaps(theWall, leftCap, rightCap, round):
   return BOOLEAN

Description:

Set the wall's caps.

説明

壁の端部の表示状態、形状を設定します。

Parameters:

theWall The wall. 壁のハンドル
leftCap Whether or not the wall has a left cap. 始点側の端を表示する/しない
rightCap Whether or not the wall has a right cap. 終点側の端を表示する/しない
round Whether or not the wall's caps are round. 端の形状を丸にする/しない

Result:

Returns success status.

返り値

実行した結果を返します。

See Also:

GetWallCaps  



  SetWallCapsOffsets Objects - Walls 
VectorWorks12.5

VectorScript Declaration:

FUNCTION   SetWallCapsOffsets
(   theWall :HANDLE;
    leftCapLeftDistance :REAL (Coordinate);
    leftCapRightDistance :REAL (Coordinate);
    rightCapLeftDistance :REAL (Coordinate);
    rightCapRightDistance :REAL (Coordinate)
) :BOOLEAN ;

Python:

def  vs.SetWallCapsOffsets(theWall, leftCapLeftDistance, leftCapRightDistance, rightCapLeftDistance, rightCapRightDistance):
   return BOOLEAN

Description:

Set the wall's caps' offsets.

説明

壁の端部のオフセットを設定します。

Parameters:

theWall The wall. 壁のハンドル
leftCapLeftDistance The left offset of the left wall cap. 左側の壁の左端のオフセット値
leftCapRightDistance The right offset of the left wall cap. 左側の壁の右端のオフセット値
rightCapLeftDistance The left offset of the right wall cap. 右側の壁の左端のオフセット値
rightCapRightDistance The right offset of the right wall cap. 右側の壁の右端のオフセット値

Result:

Returns success status.

返り値

実行した結果を返します。

See Also:

GetWallCapsOffsets  



  SetWallControlOffset Objects - Walls 
VectorWorks8.5 - obsolete as of VectorWorks12.5

VectorScript Declaration:

PROCEDURE   SetWallControlOffset
( offset:REAL ) ;

Python:

def  vs.SetWallControlOffset(offset):
   return None

Special Notes:

SetWallControlOffset is obsolete as of VectorWorks12.5

Description:

Sets the default wall control line offset value.

説明

壁のオフセットの値を設定します。

Parameters:

offset New offset value. 壁のオフセット値



  SetWallCornerHeights Objects - Walls 
Vectorworks 2012

VectorScript Declaration:

FUNCTION   SetWallCornerHeights
(   theWall :HANDLE;
    startHeightTop :REAL (Coordinate);
    startHeightBottom :REAL (Coordinate);
    endHeightTop :REAL (Coordinate);
    endHeightBottom :REAL (Coordinate)
) :BOOLEAN ;

Python:

def  vs.SetWallCornerHeights(theWall, startHeightTop, startHeightBottom, endHeightTop, endHeightBottom):
   return BOOLEAN

Description:

Sets the corner heights of a wall or round wall.

説明

壁または円弧壁のコーナーの高さを設定します。

Parameters:

theWall The wall or round wall 壁または円弧壁のハンドル
startHeightTop The height of the start top corner 始点のオフセット高さ(上)
startHeightBottom The height of the start bottom corner 始点のオフセット高さ(下)
endHeightTop The height of the end top corner 終点のオフセット高さ(上)
endHeightBottom The height of the end bottom corner 終点のオフセット高さ(下)

Result:

Whether or not the call succeeded

返り値

設定が正しくされたかどうか返します。

See Also:

GetWallCornerHeights  



  SetWallHeights Objects - Walls 
VectorWorks12.0 - obsolete as of Vectorworks 2012

VectorScript Declaration:

FUNCTION   SetWallHeights
(   h :HANDLE;
    startHtDistance :REAL (Coordinate);
    endHtDistance :REAL (Coordinate)
) :BOOLEAN ;

Python:

def  vs.SetWallHeights(h, startHtDistance, endHtDistance):
   return BOOLEAN

Special Notes:

SetWallHeights is obsolete as of Vectorworks 2012

Description:

Sets the wall heights of an unstyled wall. Will return false for a styled wall.

説明

仕様が設定されていない壁の高さを設定します。仕様が設定されている壁の場合はFALSEを返します。

Example:

PROCEDURE Example;
VAR
	h :HANDLE;
	boo :BOOLEAN;
BEGIN
	CallTool(-208);
	h := FSActLayer;
	boo := SetWallHeights(h, 12, 23);
END;
RUN(Example);



  SetWallOverallHeights Objects - Walls 
Vectorworks 2012

VectorScript Declaration:

FUNCTION   SetWallOverallHeights
(   theWall :HANDLE;
    botBoundType :INTEGER;
    botBoundStory :INTEGER;
    botLayerLevelType :STRING;
    botOffset :REAL (Coordinate);
    topBoundType :INTEGER;
    topBoundStory :INTEGER;
    topLayerLevelType :STRING;
    topOffset :REAL (Coordinate)
) :BOOLEAN ;

Python:

def  vs.SetWallOverallHeights(theWall, botBoundType, botBoundStory, botLayerLevelType, botOffset, topBoundType, topBoundStory, topLayerLevelType, topOffset):
   return BOOLEAN

Description:

Sets the overall heights of a wall or round wall.

説明

壁または円弧壁の全高を設定します。

Parameters:

theWall The wall or round wall 壁または円弧壁のハンドル
botBoundType The type of the bottom bound 0 - Layer Z; 1 - Default Wall Height; 2 - Story タイプ(下)
0 - レイヤ高さ Z; 1 - デフォルトの壁の高さ; 2 - 高さ基準
botBoundStory The story of the bottom bound 0 - Object's story; 1 - Story above; 2 - Story below 高さ基準(下)
0 - 図形の高さ基準; 1 - 上のストーリ; 2 - 下のストーリ
botLayerLevelType The layer level type of the bottom bound レイヤのレベルタイプ(下)
botOffset The offset of the bottom bound オフセット(下)
topBoundType The type of the top bound 0 - Layer Z; 1 - Default Wall Height; 2 - Story タイプ(上)
0 - レイヤ高さ Z; 1 - デフォルトの壁の高さ; 2 - 高さ基準
topBoundStory The story of the top bound 0 - Object's story; 1 - Story above; 2 - Story below 高さ基準(上)
0 - 図形の高さ基準; 1 - 上のストーリ; 2 - 下のストーリ
topLayerLevelType The layer level type of the top bound レイヤのレベルタイプ(上)
topOffset The offset of the top bound オフセット(上)

Result:

Whether or not the call succeeded

返り値

設定が正しくされたかどうか返します。

See Also:

GetWallOverallHeights  



  SetWallStyle Objects - Walls 
VectorWorks12.5

VectorScript Declaration:

FUNCTION   SetWallStyle
(   theWall :HANDLE;
    wallStyle :STRING;
    selectedOffDistance :REAL (Coordinate);
    replacingOffDistance :REAL (Coordinate)
) :BOOLEAN ;

Python:

def  vs.SetWallStyle(theWall, wallStyle, selectedOffDistance, replacingOffDistance):
   return BOOLEAN

Description:

Applies the given Wall Style to the given wall, aligning to the given offsets.

説明

ハンドルで指定した壁に、壁スタイルを設定し、指定したオフセットに揃えます。

Parameters:

theWall The wall. 壁のハンドル
wallStyle The Wall Style to apply. 壁スタイル
selectedOffDistance The offset of the wall to align to. 壁のオフセット
replacingOffDistance The offset of the Wall Style to align to. 壁スタイルのオフセット

Result:

Returns success status.

返り値

実行した結果を返します。

See Also:

GetWallStyle  



  SetWallThickness Objects - Walls 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   SetWallThickness
(   h :HANDLE;
    thicknessDistance :REAL (Coordinate)
) :BOOLEAN ;

Python:

def  vs.SetWallThickness(h, thicknessDistance):
   return BOOLEAN

Description:

Sets the thickness of an unstyled wall without components. Will return false for a styled wall or a wall with components. To change the thickness of a wall with components, add, remove or resize components with InsertNewComponent, DeleteComponent, and SetComponent Width

説明

スタイルも設定されておらず、構成要素もない壁の厚みを設定します。
スタイルが設定されているか、構成要素がある壁の場合、FALSEを返します。
構成要素がある壁の厚みを設定する場合は、InsertNewComponent/DeleteComponent/SetComponentWidthを用いて、構成要素を追加/削除/変形して行います。



  SetWallWidth Objects - Walls 
MiniCAD6.0 - obsolete as of VectorWorks12.0

VectorScript Declaration:

PROCEDURE   SetWallWidth
( widthDistance:REAL (Coordinate) ) ;

Python:

def  vs.SetWallWidth(widthDistance):
   return None

Special Notes:

SetWallWidth is obsolete as of VectorWorks12.0

Description:

Procedure SetWallWidth sets the default wall width of the document.

説明

ドキュメントでデフォルトとする壁の幅を設定します。

Parameters:

widthDistance New default wall width. 壁の幅



  Wall Objects - Walls 
MiniCAD4.0

VectorScript Declaration:

PROCEDURE   Wall
(   p1X :REAL;
    p1Y :REAL;
    p2X :REAL;
    p2Y :REAL
) ;

Python:

def  vs.Wall(p1, p2):
   return None

Description:

Procedure Wall creates a wall object in a Vectorworks document. The wall will adopt the current default settings for walls when created.

説明

指定した座標に壁を作成します。

Parameters:

p1 Start point of wall. 壁の始点の座標
p2 End point of wall. 壁の終点の座標

See Also:

RoundWall  



  WallCap Objects - Walls 
MiniCAD4.0

VectorScript Declaration:

PROCEDURE   WallCap
(   atStart :BOOLEAN;
    closed :BOOLEAN;
    round :BOOLEAN;
    rightOffDistance :REAL (Coordinate);
    leftOffDistance :REAL (Coordinate)
) ;

Python:

def  vs.WallCap(atStart, closed, round, rightOffDistance, leftOffDistance):
   return None

Description:

Procedure WallCap creates a wall cap on a newly created wall object.

Specifying nonzero values for the cap offset values will create angled wall caps.

説明

壁の端の処理を設定します。

Parameters:

atStart Start-end location of wall cap. 始点の場合はTRUE
closed Controls display status of cap. 端を表示する場合はTRUE
round Specifies flat or round cap. 端を丸める場合はTRUE
rightOffDistance Right extension of wall line beyond end point. 右側のオフセット値
leftOffDistance Left extension of wall line beyond end point. 左側のオフセット値

Example:

Wall(0,0,7',0);
WallCap(True, True, False, 1.0', 0.0);
{sets the cap status of the starting cap of the wall as flat cap, bevelled, with the right side extending 1' beyond the wall end point}



  WallFootPrint Objects - Walls 
VectorWorks10.0

VectorScript Declaration:

FUNCTION   WallFootPrint
( wallHandle:HANDLE ) :HANDLE ;

Python:

def  vs.WallFootPrint(wallHandle):
   return HANDLE

Description:

Returns the handle of a polyline representing the footprint of a wall.

説明

壁の設置跡を表す曲線を作成し、そのハンドルを返します。

Parameters:

wallHandle Handle to the wall 壁のハンドル

Result:

Returns the handle of a polyline representing the footprint of a wall.

返り値

壁の設置跡を表す曲線のハンドルを返します。

Example:

PROCEDURE GetWallFootPrint;
VAR
	h1, h2 :HANDLE;
BEGIN
	h1 := FSActLayer;
	h2 := WallFootPrint(h1);
END;
RUN(GetWallFootPrint);



  WallHeight Objects - Walls 
MiniCAD6.0 - obsolete as of Vectorworks 2012

VectorScript Declaration:

PROCEDURE   WallHeight
(   wallHd :HANDLE;
  VAR  startHt :REAL;
  VAR  endHt :REAL
) ;

Python:

def  vs.WallHeight(wallHd):
   return (startHt, endHt)

Special Notes:

WallHeight is obsolete as of Vectorworks 2012

Description:

Procedure WallHeight returns the wall heights of the referenced wall object.

説明

ハンドルで指定した壁の始点と終点の高さを返します。

Parameters:

wallHd Handle to wall. 壁のハンドル
startHt Returns start height of wall. 始点の高さ
endHt Returns end height of wall. 終点の高さ



  WallPeak Objects - Walls 
MiniCAD4.0

VectorScript Declaration:

PROCEDURE   WallPeak
(   alongDistance :REAL (Coordinate);
    heightDistance :REAL (Coordinate)
) ;

Python:

def  vs.WallPeak(alongDistance, heightDistance):
   return None

Description:

Creates a wall peak of the specified height at a specified distance from the wall start point.

There is no error checking of the distance or peak height parameters; it is left to the programmer to ensure that the parameter values are valid.

説明

壁の上部に頂点を追加します。

Parameters:

alongDistance Location of peak (measured from wall start point). 壁の始点からの距離
heightDistance Elevation of wall peak. 頂点の高さ

Example:

SetZVal(0',8');
Wall(0,0,7,0);
WallPeak(3'-6",9'-0");
{creates a 9' wall peak 3'-6" from the start point of the wall}



  WallTo Objects - Walls 
MiniCAD4.0

VectorScript Declaration:

PROCEDURE   WallTo
(   pX :REAL;
    pY :REAL
) ;

Python:

def  vs.WallTo(p):
   return None

Description:

Procedure WallTo creates a wall object in a Vectorworks document. WallTo begins the wall at the current graphics pen position, with the end point at the specified location.

To explicitly set the start point of the wall, WallTo must be preceded by either Procedure MoveTo, LineTo, Wall, or WallTo. The procedure automatically performs a join/cleanup operation an intersection if the previous procedure was a wall creation procedure.

説明

現在のペン位置から指定した座標まで壁を作成します。

Parameters:

p End point of wall. 壁の終点の座標

Example:

PROCEDURE Example;
VAR
	x1, y1, x2, y2 :REAL;
	resourceID :LONGINT;
	wallStyleCnt :INTEGER;
	wallStyleName :STRING;
	wallStyleHand :HANDLE;
BEGIN
	resourceID := BuildResourceList(127, 113, '', wallStyleCnt);
	IF wallStyleCnt > 0 THEN BEGIN
		wallStyleName := GetNameFromResourceList(resourceID, 1);
		AlrtDialog(wallStyleName);
		wallStyleHand := ImportResourceToCurrentFile(resourceID, 1);
		SetWallPrefStyle(wallStyleName);
	END ELSE BEGIN
		SetWallWidth(3.5");
	END;
	GetPt(x1, y1);
	GetPtL(x1, y1, x2, y2);
	MoveTo(x1, y1);
	WallTo(x2, y2);
END;
RUN(Example);



  WallWidth Objects - Walls 
MiniCAD6.0

VectorScript Declaration:

FUNCTION   WallWidth
( wallHd:HANDLE ) :REAL ;

Python:

def  vs.WallWidth(wallHd):
   return REAL

Description:

Function WallWidth returns the wall width of the referenced wall object.

説明

ハンドルで指定した壁の幅を返します。

Parameters:

wallHd Handle to wall. 壁のハンドル

See Also:

GetWallThickness   HWallWidth