AlignDistribute2D | General Edit Vectorworks 2014 |
VectorScript Declaration:
PROCEDURE AlignDistribute2D
( MenuAction :LONGINT; AlignDist2DParms :LONGINT ) ; Python:
return None
def vs.AlignDistribute2D(MenuAction, AlignDist2DParms): Description:
2D Object Alignment/Distribution説明
2Dオブジェクトの整列
AlignDistribute3D | General Edit Vectorworks 2014 |
VectorScript Declaration:
PROCEDURE AlignDistribute3D
( MenuAction :LONGINT; AlignDist3DParms :LONGINT ) ; Python:
return None
def vs.AlignDistribute3D(MenuAction, AlignDist3DParms): Description:
3D Object Alignment/Distribution説明
3Dオブジェクトの整列
Backward | General Edit MiniCAD |
VectorScript Declaration:
PROCEDURE Backward
; Python:
return None
def vs.Backward(): Description:
Procedure Backward moves the selected objects down one level in the onscreen object stacking order.
説明
選択されている図形の前後関係を、ひとつ後ろに移動させます。
CreateScriptResource | General Edit Vectorworks 2014 |
VectorScript Declaration:
FUNCTION CreateScriptResource
( scriptName :STRING; paletteName :STRING; paletteOpen :BOOLEAN; script :DYNARRAY[] of CHAR; python :BOOLEAN ) :BOOLEAN ; Python:
return BOOLEAN
def vs.CreateScriptResource(scriptName, paletteName, paletteOpen, script, python): Description:
Create a document script resource.説明
ファイルのスクリプトリソースを作成します。Parameters:
scriptName A unique name for the new document script. ファイルのスクリプトの独自の名前 paletteName A name of the script palette that will contain the new script. If the script palette doesn't exist, it will be created. 新しいスクリプトを保持するためのスクリプトパレットの名前。スクリプトパレットがなかった場合は新しく作成されます。 paletteOpen Pass in TRUE if the script palette should be opened when created, and FALSE if it should be closed. If the palette exist, this parameter has no effect. 作成されたときにスクリプトパレット開く場合にはTRUEを、閉じておく場合にはFALSEを渡す。パレットが既に存在する場合にはこのパラメータは効果がありません。 script The script text. スクリプトのテキスト python Pass TRUE if the script text contains python script. Otherwise it will be considered VectorScript. スクリプトがPythonの場合TRUEをわたす。そうでなければ、VectorScriptと認識されます。 Result:
Return TRUE if the creation was successful. The routine will fail if script with the specified name already exist.返り値
成功した場合TRUEを返します。同じ名前のスクリプトが存在している場合は失敗します。See Also:
GetScriptResource SetScriptResource OpenScriptResPal
FlipHor | General Edit MiniCAD |
VectorScript Declaration:
PROCEDURE FlipHor
; Python:
return None
def vs.FlipHor(): Description:
Procedure FlipHor horizontally mirrors selected objects about the center of the object(s). This procedure produces the same effect as the command 'Flip Horizontal' .
説明
選択されている図形を水平反転させます。
FlipVer | General Edit MiniCAD |
VectorScript Declaration:
PROCEDURE FlipVer
; Python:
return None
def vs.FlipVer(): Description:
Procedure FlipVer vertically mirrors selected objects about the center of the
object(s). This procedure produce the same effect as the command 'Flip Vertical'.
説明
選択されている図形を垂直反転させます。
Forward | General Edit MiniCAD |
VectorScript Declaration:
PROCEDURE Forward
; Python:
return None
def vs.Forward(): Description:
Procedure Forward moves the selected objects up one level in the onscreen object stacking order.
Objects in the document are drawn in the order in which they are created, with newer objects drawn on top of previously created objects. It is sometimes necessary to adjust this drawing, or stacking, order in order to make objects visible or create a desired effect.
説明
選択されている図形の前後関係を、ひとつ前に移動させます。See Also:
HMoveForward
GetNumResourceTags | General Edit Vectorworks 2017 |
VectorScript Declaration:
FUNCTION GetNumResourceTags
( handle:HANDLE ) :INTEGER ; Python:
return INTEGER
def vs.GetNumResourceTags(handle): Description:
Returns the number of tags attached to the specified resource.説明
指定したリソースに付いているタグの数を返します。Parameters:
handle The handle to the resource リソースのハンドル Result:
The number of tags attached to the specified resource.返り値
指定したリソースに付いているタグの数See Also:
SetResourceTags GetResourceTags
GetObjectTags | General Edit Vectorworks 2019 |
VectorScript Declaration:
FUNCTION GetObjectTags
( objHandle :HANDLE; VAR outArrTags :ARRAY ) :BOOLEAN ; Python:
return (BOOLEAN, outArrTags)
def vs.GetObjectTags(objHandle): Description:
Lets the user query the list of Tags set on an object such as a Class,Layer or Resource.説明
クラスやレイヤ、リソースなどに設定されているタグのリストを返します。Parameters:
objHandle The handle to the object to query Tags from. オブジェクトのハンドル outArrTags The output array of Tags queried from the object. タグのリスト
GetResourceTags | General Edit Vectorworks 2017 |
VectorScript Declaration:
PROCEDURE GetResourceTags
( handle :HANDLE; VAR tags :ARRAY ) ; Python:
return tags
def vs.GetResourceTags(handle): Description:
Gets the tags attached to the specified resource.説明
指定したリソースに付いているタグを返します。Parameters:
handle The handle to the resource. リソースのハンドル tags The list of tags. タグのリスト See Also:
SetResourceTags GetNumResourceTags
GetScriptResource | General Edit Vectorworks 2014 |
VectorScript Declaration:
FUNCTION GetScriptResource
( scriptName :STRING; VAR script :DYNARRAY[] of CHAR; VAR python :BOOLEAN ) :BOOLEAN ; Python:
return (BOOLEAN, script, python)
def vs.GetScriptResource(scriptName): Description:
Return the script text of the specified script resource.説明
指定したスクリプトリソースのスクリプトを返します。Parameters:
scriptName The script name identifying the resource. リソースを特定するスクリプト名 script Return the script text. スクリプトのテキストを返します。 python Return if the script text is a python script. Pythonスクリプトの場合TRUEを返します。 Result:
Return TRUE if the creation was successful. The routine will fail if script with the specified name does't exist.返り値
成功した場合TRUEを返します。指定した名前のスクリプトが存在しない場合、この関数は失敗します。See Also:
CreateScriptResource SetScriptResource OpenScriptResPal
LckObjs | General Edit MiniCAD |
VectorScript Declaration:
PROCEDURE LckObjs
; Python:
return None
def vs.LckObjs(): Description:
Procedure LckObjs locks the selected objects. When an object is locked, it
may be copied or duplicated, but it may not be changed in any other way.
説明
アクティブなレイヤ上で選択されている図形をロックします。コピー、複製を行うことはできますが、その他の変更はできません。Example:
SelectObj((C='Structure To Remain')); LckObjs;
MirrorXY3D | General Edit MiniCAD5.0.2 |
VectorScript Declaration:
PROCEDURE MirrorXY3D
; Python:
return None
def vs.MirrorXY3D(): Description:
Procedure MirrorXY3D mirrors the currently selected object through the XY plane.説明
選択されている3次元図形をXY座標を軸に反転します。
MoveBack | General Edit MiniCAD |
VectorScript Declaration:
PROCEDURE MoveBack
; Python:
return None
def vs.MoveBack(): Description:
Procedure MoveBack moves the selected objects to the back (bottom) of the onscreen object stacking order.
説明
選択されている図形の前後関係を、最後に移動させます。
MoveFront | General Edit MiniCAD |
VectorScript Declaration:
PROCEDURE MoveFront
; Python:
return None
def vs.MoveFront(): Description:
Procedure MoveFront moves the selected objects to the front (top) of the onscreen object stacking order.
説明
選択されている図形の前後関係を、最前に移動させます。
ResetOrientation3D | General Edit MiniCAD5.0.2 |
VectorScript Declaration:
PROCEDURE ResetOrientation3D
; Python:
return None
def vs.ResetOrientation3D(): Description:
ResetOrientation3D resets the 3D environment parameters of the active Vectorworks document.
Call this procedure after 3D object creation to ensure correct orientation and display of the new object in 3D space.
説明
3次元表示のパラメータをリセットします。Example:
Poly3D(1,1,0,1.5,1.5,1,2.5,1.5,1,); ResetOrientation3D;
Rotate | General Edit MiniCAD |
VectorScript Declaration:
PROCEDURE Rotate
( rotationAngle:REAL ) ; Python:
return None
def vs.Rotate(rotationAngle): Description:
Procedure Rotate rotates the currently selected objects on the active layer. The rotation angle may be specified in any valid angle format. When a locus is selected with a group of objects, the objects are rotated around the locus. If two or more loci are selected, the objects are rotated around the center of the selected objects.
説明
選択されている図形を、中心を基点として回転させます。Parameters:
rotationAngle Rotation angle. 回転角度 Example:
Rotate(45d15'23");
Rotate3D | General Edit MiniCAD |
VectorScript Declaration:
PROCEDURE Rotate3D
( xAngle :REAL; yAngle :REAL; zAngle :REAL ) ; Python:
return None
def vs.Rotate3D(xAngle, yAngle, zAngle): Description:
Procedure Rotate3D rotates the most recently created three-dimensional object. Rotation values are applied about the respective axes.
説明
直前に作成された3次元図形を、指定した角度で回転させます。Parameters:
xAngle Rotation about X-axis. X軸周りの回転角 yAngle Rotation about Y-axis Y軸周りの回転角 zAngle Rotation about Z-axis. Z軸周りの回転角 Example:
BeginXtrd(0",4"); Rect(0",3",1",0"); EndXtrd; Rotate3D(21d 10' 22",-18d 44' 50",-7d 5' 45");
RotatePoint | General Edit MiniCAD6.0 |
VectorScript Declaration:
PROCEDURE RotatePoint
( pX :REAL; pY :REAL; rotationAngle :REAL ) ; Python:
return None
def vs.RotatePoint(p, rotationAngle): Description:
Procedure RotatePoint rotates selected Vectorworks objects about the specified coordinate point.説明
選択されている図形を、指定した座標を基点として回転させます。Parameters:
p Point of rotation. 回転の基準となるX、Y座標 rotationAngle Rotation angle. 回転角度 返り値
回転角度Example:
SetSelect(LNewObj); RotatePoint(0,3,45d);
Scale | General Edit MiniCAD |
VectorScript Declaration:
PROCEDURE Scale
( scaleXR :REAL; scaleYR :REAL ) ; Python:
return None
def vs.Scale(scaleXR, scaleYR): Description:
Procedure Scale rescales selected objects. Scaling occurs about the center of the selected object(s).
説明
アクティブなレイヤ上の選択されている図形を拡大/縮小します。Parameters:
scaleXR X scale factor. X軸方向の拡大/縮小率 scaleYR Y scale factor. Y軸方向の拡大/縮小率 Example:
Scale(2,3);
SetObjectTags | General Edit Vectorworks 2019 |
VectorScript Declaration:
FUNCTION SetObjectTags
( objectHandle :HANDLE; arrTags :ARRAY ) :BOOLEAN ; Python:
return BOOLEAN
def vs.SetObjectTags(objectHandle, arrTags): Description:
Lets the user set a list of Tags on an object such as a Class,Layer or Resource.説明
クラスやレイヤ、リソースなどにタグのリストを設定します。Parameters:
objectHandle The object to set Tags on. オブジェクトのハンドル arrTags The arra of Tag Strings. タグのリスト.
SetResourceTags | General Edit Vectorworks 2017 |
VectorScript Declaration:
PROCEDURE SetResourceTags
( handle :HANDLE; tags :ARRAY ) ; Python:
return None
def vs.SetResourceTags(handle, tags): Description:
Adds the specified tags to the specified resource.説明
指定したリソースにタグを付与します。Parameters:
handle The handle to the resource. リソースのハンドル tags The list of tags. タグのリスト See Also:
GetResourceTags GetNumResourceTags
SetScriptResource | General Edit Vectorworks 2014 |
VectorScript Declaration:
FUNCTION SetScriptResource
( scriptName :STRING; script :DYNARRAY[] of CHAR; python :BOOLEAN ) :BOOLEAN ; Python:
return BOOLEAN
def vs.SetScriptResource(scriptName, script, python): Description:
Set the script text of the specified script resource.説明
指定したスクリプトリソースのスクリプトテキストを入力します。Parameters:
scriptName The script name identifying the resource. リソースを特定するスクリプト名 script The script text. スクリプトのテキスト python Pass TRUE if the script text contains python script. Otherwise it will be considered VectorScript. スクリプトがPythonの場合TRUEをわたす。そうでなければ、VectorScriptと認識されます。 Result:
Return TRUE if the creation was successful. The routine will fail if script with the specified name does't exist.返り値
成功した場合TRUEを返します指定した名前のスクリプトが存在しない場合、この関数は失敗します。See Also:
CreateScriptResource GetScriptResource OpenScriptResPal
UnLckObjs | General Edit MiniCAD |
VectorScript Declaration:
PROCEDURE UnLckObjs
; Python:
return None
def vs.UnLckObjs(): Description:
Procedure UnLckObjs unlocks the selected objects.説明
アクティブなレイヤ上で選択されている図形のロックを解除します。Example:
SelectObj((C='Structure To Remain')); UnLckObjs;