AngularDim | Dimensions MiniCAD |
VectorScript Declaration:
PROCEDURE AngularDim
( startPtX :REAL; startPtY :REAL; endPtX :REAL; endPtY :REAL; vert1X :REAL; vert1Y :REAL; textOffsetDistance :REAL (Coordinate); arrow :INTEGER; textFlag :INTEGER; posAngle :REAL ) ; Python:
return None
def vs.AngularDim(startPt, endPt, vert1, textOffsetDistance, arrow, textFlag, posAngle): Description:
Procedure AngularDim creates an angular dimension in the document.
Bit code values for dimension flags can be found in the VectorScript Appendix.
Angular Dimension
説明
角度の寸法線を作成します。Parameters:
startPt X-Y coordinates of dimension start point. 始点の座標 endPt X-Y coordinates of dimension end point 終点の座標 vert1 X-Y coordinates of dimension arc center. 測定点の座標 textOffsetDistance Offset from dimension arc center (radius of the dimension arc). 寸法線の半径 arrow Dimension arrowhead style flag. マーカの種類 textFlag Dimension text style flag. 文字の種類 posAngle Position angle of dimension text(from start). Auto position text overrides this value. 寸法値の位置 Example:
AngularDim(1 1/2",3/8",-1/4",-1/2",7/8",-1/2",1.7001838",771,770,#35d 32'16");
AssociateLinearDimension | Dimensions VectorWorks12.5 |
VectorScript Declaration:
PROCEDURE AssociateLinearDimension
( h :HANDLE; selectedObjectsMode :BOOLEAN ) ; Python:
return None
def vs.AssociateLinearDimension(h, selectedObjectsMode): Description:
Associates a linear dimension with an object when the dimension's endpoints are coincident with objects in the drawing. When selectedObjectsMode is true, only selected objects will be checked to see if they should be associated with the linear dimension.説明
寸法の終点がオブジェクトと一致した場合、寸法線をオブジェクトと関連づけます。selectedObjectsModeがTRUEならば、選択されているオブジェクトだけがチェックされます。
CircularDim | Dimensions MiniCAD |
VectorScript Declaration:
PROCEDURE CircularDim
( startPtX :REAL; startPtY :REAL; endPtX :REAL; endPtY :REAL; box1X :REAL; box1Y :REAL; box2X :REAL; box2Y :REAL; textOffsetDistance :REAL (Coordinate); dimType :INTEGER; arrow :INTEGER; textFlag :INTEGER; shoulder :REAL ) ; Python:
return None
def vs.CircularDim(startPt, endPt, box1, box2, textOffsetDistance, dimType, arrow, textFlag, shoulder): Description:
Procedure CircularDim creates a diameter or radial dimension in a Vectorworks document.
Bit code values for dimension flags can be found in the VectorScript Appendix.
Circular Dimension
説明
半径、直径の寸法線を作成します。Parameters:
startPt X-Y coordinates of dimension start point. 始点の座標 endPt X-Y coordinates of dimension end point. 終点の座標 box1 X-Y coordinates of top left corner of object bounding box 測定開始点の座標 box2 X-Y coordinates of bottom right corner of object bounding box 測定終了点の座標 textOffsetDistance Offset distance of text from dimension line(witness leader length). オフセット dimType Dimension type flag. 寸法の種類 arrow Arrow style flag. マーカの種類 textFlag Text style flag. 文字の種類 shoulder Shoulder extension line length. 寸法線と寸法値の間隔 Example:
CircularDim(-4 3/8",3",-4 3/8",1/4",-5 3/4",3",-3",1/4",1 1/8",1,3, 1025,1/4");
CreateChainDimension | Dimensions VectorWorks12.5 |
VectorScript Declaration:
FUNCTION CreateChainDimension
( h1 :HANDLE; h2 :HANDLE ) :HANDLE ; Python:
return HANDLE
def vs.CreateChainDimension(h1, h2): Description:
Creates and returns a single chain dimension object when the two dimensions or chains that are passed in meet the requirements for being in a single chain dimension object.説明
通過する2つの寸法線または直列寸法線が、単体の直列寸法線オブジェクトになるための要件に合致すれば、新しい直列寸法線オブジェクトを作成して返します。
DimArcText | Dimensions MiniCAD |
VectorScript Declaration:
PROCEDURE DimArcText
; Python:
return None
def vs.DimArcText(): Description:
Procedure DimArcText creates an angular dimension object from the last arc object that was drawn using VectorScript.説明
直前に作成した円弧から寸法を作成します。Example:
Arc(0,0,2,2,45d,90d); DimArcText; { creates a dimension from the new arc object }
DimText | Dimensions MiniCAD |
VectorScript Declaration:
PROCEDURE DimText
; Python:
return None
def vs.DimText(): Description:
Procedure DimText converts the most recently created line object in VectorScript to a dimension.説明
直前に作成した直線から寸法を作成します。Example:
LineTo(2,2); DimText;
DoubleFixedTolerance | Dimensions MiniCAD4.0 |
VectorScript Declaration:
PROCEDURE DoubleFixedTolerance
( showVal :BOOLEAN; boxText :BOOLEAN; leader :STRING; trailer :STRING; topStr :STRING; botStr :STRING ) ; Python:
return None
def vs.DoubleFixedTolerance(showVal, boxText, leader, trailer, topStr, botStr): Description:
Procedure DoubleFixedTolerance is used with dimensioning procedures to define a tolerance for the most recently created dimension object.
説明
作成直後の寸法線に対して、上下別の公差寸法(文字)を設定します。Parameters:
showVal Dimension text display flag. 寸法値表示 boxText Boxed text display flag. 枠線表示 leader Dimension leader text string. 前記号 trailer Dimension trailer text string. 後記号 topStr Tolerance value text string. 上限値 botStr Tolerance value text string. 下限値 Example:
LinearDim(-2",2",1",2",-3",0,771,771,0.75); DoubleFixedTolerance(TRUE,FALSE,'','','yes','no'); {defines a dimension with a double fixed tolerance}
DoubleTolerance | Dimensions MiniCAD4.0 |
VectorScript Declaration:
PROCEDURE DoubleTolerance
( showVal :BOOLEAN; boxText :BOOLEAN; leader :STRING; trailer :STRING; topDistance :REAL (Coordinate); botDistance :REAL (Coordinate) ) ; Python:
return None
def vs.DoubleTolerance(showVal, boxText, leader, trailer, topDistance, botDistance): Description:
Procedure DoubleTolerance is used with dimensioning procedures to define a tolerance for the most recently created dimension.
説明
作成直後の寸法線に対して、上下別の公差寸法表示を設定します。Parameters:
showVal Dimension text display flag. 寸法値表示 boxText Boxed text display flag. 枠線表示 leader Dimension leader text string. 前記号 trailer Dimension trailer text string. 後記号 topDistance Tolerance value text string. 上限値 botDistance Tolerance value text string. 下限値 Example:
LinearDim(-2",2",1",2",-3",0,771,771,0.75); DoubleTolerance(True,False,'est. ','',1/16",1/16"); {defines a dimension with a double tolerance}
GetDimText | Dimensions MiniCAD |
VectorScript Declaration:
FUNCTION GetDimText
( h:HANDLE ) :STRING ; Python:
return STRING
def vs.GetDimText(h): Description:
Function GetDimText returns the dimension value displayed with the referenced object.
説明
ハンドルで指定した寸法線の値を文字列で返します。Parameters:
h Handle to object. 寸法線のハンドル Example:
DimValue:=GetDimText(HandleToObj);
HasDim | Dimensions MiniCAD |
VectorScript Declaration:
FUNCTION HasDim
( h:HANDLE ) :BOOLEAN ; Python:
return BOOLEAN
def vs.HasDim(h): Description:
Function HasDim returns TRUE if a line or arc object has dimension text associated with it, otherwise it returns FALSE.
説明
ハンドルで指定した図形が寸法文字を含んでいればTRUEを、含んでいなければFALSEを返します。Parameters:
h Handle to object. 図形のハンドル 返り値
寸法の有無Example:
isDimension:=HasDim(HandleToObject);
LimitTolerance | Dimensions MiniCAD4.0 |
VectorScript Declaration:
PROCEDURE LimitTolerance
( showVal :BOOLEAN; boxText :BOOLEAN; leader :STRING; trailer :STRING; lowDistance :REAL (Coordinate); hiDistance :REAL (Coordinate) ) ; Python:
return None
def vs.LimitTolerance(showVal, boxText, leader, trailer, lowDistance, hiDistance): Description:
Procedure LimitTolerance is used with dimensioning procedures to define a tolerance for the most recently created dimension object.説明
作成直後の寸法線に対して、許容限界公差寸法を設定します。Parameters:
showVal Dimension text display flag. 寸法値表示 boxText Boxed text display flag. 枠線表示 leader Dimension leader text string. 前記号 trailer Dimension trailer text string. 後記号 lowDistance Tolerance value text string. 下限値 hiDistance Tolerance value text string. 上限値 Example:
LinearDim(-2",2",1",2",-3",0,771,771,0.75); LimitTolerance(TRUE,FALSE,'','',-1",1");
LinearDim | Dimensions MiniCAD |
VectorScript Declaration:
PROCEDURE LinearDim
( startPtX :REAL; startPtY :REAL; endPtX :REAL; endPtY :REAL; offsetDistance :REAL (Coordinate); dimType :INTEGER; arrow :INTEGER; textFlag :INTEGER; textOffset :REAL ) ; Python:
return None
def vs.LinearDim(startPt, endPt, offsetDistance, dimType, arrow, textFlag, textOffset): Description:
Procedure LinearDim creates a linear dimension in a Vectorworks document.
Bit code values for dimension flags can be found in the VectorScript Appendix.
Linear Dimension
説明
横、縦、斜めの寸法線を作成します。Parameters:
startPt X-Y coordinates of dimension start point. 始点のX、Y座標 endPt X-Y coordinates of dimension end point. 終点のX、Y座標 offsetDistance Offset distance of dimension line from object. オフセット dimType Dimension type flag. 寸法の種類 arrow Arrowhead style flag. マーカの種類 textFlag Text style flag. 文字の種類 textOffset Dimension text offset distance. 寸法線と寸法値の間隔 Example:
LinearDim(-2",2",1",2",-3",0,771,770,0.75);
SetDimNote | Dimensions Vectorworks 2015 |
VectorScript Declaration:
PROCEDURE SetDimNote
( h :HANDLE; note :STRING ) ; Python:
return None
def vs.SetDimNote(h, note): Description:
Procedure SetDimNote sets the note text of the referenced dimension to the specified value.説明
ハンドルで指定した寸法線の注釈の文字を、指定した文字列に置き換えます。Parameters:
h Handle to dimension. 寸法線のハンドル note Note string. 注釈の文字列 Example:
SetDimNote(dimHandle,'DLO');
SetDimText | Dimensions MiniCAD4.0 |
VectorScript Declaration:
PROCEDURE SetDimText
( h :HANDLE; leaderTrailer :STRING ) ; Python:
return None
def vs.SetDimText(h, leaderTrailer): Description:
Procedure SetDimText will set the dimension text of the referenced dimension to the specified value.
The maximum length for dimension text is 60 characters. The first 30 characters of the specified dimension text string will be displayed in the primary dimension string; the remaining characters will be displayed in the secondary dimension string, if it exists.説明
ハンドルで指定した寸法線の値を、指定した文字列に置き換えます。
寸法の文字列の上限は60文字です。指定した寸法の最初の30文字は主単位の文字列として表示されます。残りの文字は補助単位があれば、補助単位単位の文字列として表示されます。Parameters:
h Handle to a dimension object. 寸法線のハンドル leaderTrailer Dimension text string. 寸法の文字列 Example:
SetDimText(dimHandle,'Length varies');
SingleTolerance | Dimensions MiniCAD4.0 |
VectorScript Declaration:
PROCEDURE SingleTolerance
( showVal :BOOLEAN; boxText :BOOLEAN; leader :STRING; trailer :STRING; limDistance :REAL (Coordinate) ) ; Python:
return None
def vs.SingleTolerance(showVal, boxText, leader, trailer, limDistance): Description:
Procedure SingleTolerance is used with dimensioning procedures to define a tolerance for the most recently created dimension.説明
作成直後の寸法線に対して、上下等の公差寸法表示を設定します。Parameters:
showVal Dimension text display flag. 寸法値表示 boxText Boxed text display flag. 枠線表示 leader Dimension leader text string. 前記号 trailer Dimension trailer text string. 後記号 limDistance Limit tolerance string. 限界値 Example:
LinearDim(-2",2",1",2",-3",0,771,770,0.75); SingleTolerance(True,False,'approx. ','',1/16");