CreateHLHandle | View / Zoom Vectorworks 2014 |
VectorScript Declaration:
PROCEDURE CreateHLHandle
( VAR HLOptionsHandle:HANDLE ) ; Python:
return HLOptionsHandle
def vs.CreateHLHandle(): Description:
Create a new Hidden Line Rendering options handle.説明
新しいVW-陰線レンダリング設定へのハンドルを作ります。
CreateOpenGLHandle | View / Zoom Vectorworks 2014 |
VectorScript Declaration:
PROCEDURE CreateOpenGLHandle
( VAR GLHandle:HANDLE ) ; Python:
return GLHandle
def vs.CreateOpenGLHandle(): Description:
Return a new OpenGL options handle.説明
新しいOpenGL設定へのハンドルを返します。
CreateRenderworksStyle | View / Zoom Vectorworks 2012 |
VectorScript Declaration:
FUNCTION CreateRenderworksStyle
:HANDLE ; Python:
return HANDLE
def vs.CreateRenderworksStyle():
CreateRWHandle | View / Zoom Vectorworks 2014 |
VectorScript Declaration:
PROCEDURE CreateRWHandle
( VAR RWHandle:HANDLE ) ; Python:
return RWHandle
def vs.CreateRWHandle(): Description:
Create a new RenderWorks options handle.説明
新しいRenderWorks設定へのハンドルを返します。
EditOpenGLPrefs | View / Zoom Vectorworks 2014 |
VectorScript Declaration:
PROCEDURE EditOpenGLPrefs
( VAR updateRendering:BOOLEAN ) ; Python:
return updateRendering
def vs.EditOpenGLPrefs(): Description:
Allows the user to edit OpenGL renderer preferences and stores them in the current drawing.説明
ユーザーが現在の書類にOpenGL設定を編集して保存するできるようにします。
EditRenderWorksPrefs | View / Zoom Vectorworks 2014 |
VectorScript Declaration:
PROCEDURE EditRenderWorksPrefs
( VAR updateRendering:BOOLEAN ) ; Python:
return updateRendering
def vs.EditRenderWorksPrefs(): Description:
Allows the user to edit RenderWorks renderer preferences and stores them in the current drawing.説明
ユーザーが現在の書類にRenderWorks設定を編集して保存するできるようにします。
GetHLLineStyle | View / Zoom Vectorworks 2019 |
VectorScript Declaration:
PROCEDURE GetHLLineStyle
( HLOptionsHandle :HANDLE; VAR lineStyle :INTEGER ) ; Python:
return lineStyle
def vs.GetHLLineStyle(HLOptionsHandle): Description:
Gets the Line Style of the specified Hidden Line Rendering options handle.説明
指定した陰線レンダリングオプションのハンドルのラインスタイルを返します。
GetProjection | View / Zoom VectorWorks 2008 |
VectorScript Declaration:
FUNCTION GetProjection
( theyLayer:HANDLE ) :INTEGER ; Python:
return INTEGER
def vs.GetProjection(theyLayer): Description:
Returns the projection index from the specified layer.説明
レイヤの投影方法の状態を返します。Parameters:
theyLayer Layer which the projection is returned for. レイヤの投影方法の状態
GetVCenter | View / Zoom VectorWorks8.0 |
VectorScript Declaration:
PROCEDURE GetVCenter
( VAR centerX :REAL; VAR centerY :REAL ) ; Python:
return center
def vs.GetVCenter(): Description:
Procedure GetVCenter returns the Vectorworks document coordinates at the center of the drawing window.説明
ドキュメントウインドウで表示されている中心の座標を返します。Parameters:
center Returns view center point. 中心の座標 Example:
PROCEDURE GetWindowSizeProc; CONST kLeftPaletteMargin = 54; kRightPaletteMargin = 176; kScrollMargin = 18; kTopDocumentMargin = 48; kRulerMargin = 16; kBottomDocumentMargin = 50; VAR ViewCenterX, ViewCenterY :REAL; ViewWidth, ViewHeight :REAL; ScnX1, ScnY1, ScnX2, ScnY2 :REAL; ViewX1, ViewY1, ViewX2, ViewY2 :REAL; LayerScale :REAL; TopBottomMargin :REAL; LeftRightMargin :REAL; BEGIN LayerScale := GetLScale(ActLayer); GetVCenter(ViewCenterX, ViewCenterY); GetScreen(ScnX1, ScnY1, ScnX2, ScnY2); TopBottomMargin := kTopDocumentMargin + kBottomDocumentMargin; LeftRightMargin := 0; IF GetPref(22) THEN begin {Left Palette Margin Turned On} LeftRightMargin := LeftRightMargin + kLeftPaletteMargin; END; IF GetPref(23) THEN begin {Right Palette Margin Turned On} LeftRightMargin := LeftRightMargin + kRightPaletteMargin; END; IF GetPref(6) THEN BEGIN {Show Rulers} TopBottomMargin := TopBottomMargin + kRulerMargin; LeftRightMargin := LeftRightMargin + kRulerMargin; END; IF GetPref(7) THEN BEGIN {Show Scroll Bars} TopBottomMargin := TopBottomMargin + kScrollMargin; LeftRightMargin := LeftRightMargin + kScrollMargin; END; ViewWidth := (ScnX2 - LeftRightMargin) * LayerScale / (72 * GetZoom / 100); ViewHeight := (ScnY2 - TopBottomMargin) * LayerScale / (72 * GetZoom / 100); ViewX1 := ViewCenterX - (ViewWidth / 2) {+ (LeftRightMargin / 2)}; ViewX2 := ViewCenterX + (ViewWidth / 2) {- (LeftRightMargin / 2)}; ViewY1 := ViewCenterY + (ViewHeight / 2) {- (TopBottomMargin / 2)}; ViewY2 := ViewCenterY - (ViewHeight / 2) {+ (TopBottomMargin / 2)}; Rect(ViewX1, ViewY1, ViewX2, ViewY2); END; RUN(GetWindowSizeProc);
GetView | View / Zoom VectorWorks8.0 |
VectorScript Declaration:
PROCEDURE GetView
( VAR xAngleR :REAL; VAR yAngelR :REAL; VAR zAngleR :REAL; VAR offsetX :REAL; VAR offsetY :REAL; VAR offsetZ :REAL ) ; Python:
return (xAngleR, yAngelR, zAngleR, offset)
def vs.GetView(): Description:
Returns information about the current 3D view.説明
現在の視点の情報を返します。Parameters:
xAngleR Returns X rotation angle of view. X軸の角度 yAngelR Returns Y rotation angle of view. Y軸の角度 zAngleR Returns Z rotation angle of view. Z軸の角度 offset Center of view rotation. X、Y、Z軸方向の距離 Example:
PROCEDURE Example; VAR xAngleR, yAngelR, zAngleR, offsetX, offsetY, offsetZ :REAL; BEGIN GetView(xAngleR, yAngelR, zAngleR, offsetX, offsetY, offsetZ); Message(xAngleR, ' ', yAngelR, ' ', zAngleR, ' ', offsetX, ' ', offsetY, ' ', offsetZ); END; RUN(Example);
GetZoom | View / Zoom VectorWorks8.0 |
VectorScript Declaration:
FUNCTION GetZoom
:REAL ; Python:
return REAL
def vs.GetZoom(): Description:
Function GetZoom returns the percentage of the zoom factor in the current document view.説明
現在の画面の拡大/縮小率を返します。返り値
拡大縮小率
Projection | View / Zoom MiniCAD4.0 |
VectorScript Declaration:
PROCEDURE Projection
( proj :INTEGER; rMode :INTEGER; viewDistance :REAL (Coordinate); clip1X :REAL; clip1Y :REAL; clip2X :REAL; clip2Y :REAL ) ; Python:
return None
def vs.Projection(proj, rMode, viewDistance, clip1, clip2): Description:
Procedure Projection sets the projection mode of a Vectorworks document.
Parameters viewDistance, clip1, and clip2 are used only in perspective projection mode.
説明
3次元の見え方やレンダリングの種類を設定します。Parameters:
proj Projection mode of document. 3次元の見え方 rMode Render mode of document. レンダリングの種類 viewDistance View length. 物体から視点までの距離 clip1 Top left coordinate of clipping rectangle. クリッピング枠の左上の座標 clip2 Bottom right coordinate of clipping rectangle. クリッピング枠の右下の座標 Example:
Projection(1,2,3',-2,-2,2,2);
RetrieveCustomRWPrefs | View / Zoom Vectorworks 2014 |
VectorScript Declaration:
PROCEDURE RetrieveCustomRWPrefs
( VAR useTextures :BOOLEAN; VAR useTransparency :BOOLEAN; VAR useShadows :BOOLEAN; VAR useRayTracing :BOOLEAN; VAR useAntiAliasing :BOOLEAN; VAR useDithering :BOOLEAN; VAR tessellationDetail :INTEGER; VAR shadowStyle :INTEGER; VAR rayTracingRecursion :INTEGER ) ; Python:
return (useTextures, useTransparency, useShadows, useRayTracing, useAntiAliasing, useDithering, tessellationDetail, shadowStyle, rayTracingRecursion)
def vs.RetrieveCustomRWPrefs(): Description:
Retrieves the current custom RenderWorks rendering preferences from data stored in the current drawing.説明
現在の図面のRenderworksレンダリング設定を取得します。
RetrieveHLPrefs | View / Zoom Vectorworks 2014 |
VectorScript Declaration:
PROCEDURE RetrieveHLPrefs
( VAR smoothingAngle :REAL; VAR lineStyle :INTEGER; VAR shadeFactorIndex :INTEGER; VAR doIntersections :BOOLEAN ) ; Python:
return (smoothingAngle, lineStyle, shadeFactorIndex, doIntersections)
def vs.RetrieveHLPrefs(): Description:
Retrieves the current Hidden Line rendering preferences from data stored in the current drawing.説明
現在の図面の隠線消去レンダリング設定を取得します。
RetrieveOpenGLPrefs | View / Zoom Vectorworks 2014 |
VectorScript Declaration:
PROCEDURE RetrieveOpenGLPrefs
( VAR useTextures :BOOLEAN; VAR tessellationDetail :INTEGER; VAR useNURBS :BOOLEAN ) ; Python:
return (useTextures, tessellationDetail, useNURBS)
def vs.RetrieveOpenGLPrefs(): Description:
Retrieves the current OpenGL rendering preferences from data stored in the current drawing.説明
現在の図面のOpenGLレンダリング設定を取得します。
SaveSheet | View / Zoom VectorWorks8.0 |
VectorScript Declaration:
PROCEDURE SaveSheet
( name :STRING; saveView :BOOLEAN; saveClass :BOOLEAN; saveLayer :BOOLEAN ) ; Python:
return None
def vs.SaveSheet(name, saveView, saveClass, saveLayer): Description:
Procedure SaveSheet saves current view, page, class, and layer settings in a new sheet with a specified name. The saveView, saveClass and saveLayer parameters can be used to selectively not save an aspect of the view. Also after the sheet is created, the SetObjectVariableBoolean function can be used to control whether to utilize the view, page, class or layer settings.説明
現在の画面を、指定した名前で登録します。Parameters:
name Name of saved sheet. 登録画面の名前 saveView Saves view settings. 画面を登録する場合はTRUE saveClass Saves class settings. クラスの状態を登録する場合はTRUE saveLayer Saves layer settings. レイヤの状態を登録する場合はTRUE Example:
PROCEDURE Example; VAR savedViewHandle :HANDLE; ovSheetSaveView :BOOLEAN; ovSheetSavePage :BOOLEAN; ovSheetSaveClass :BOOLEAN; ovSheetSaveLayer :BOOLEAN; BEGIN savedViewHandle := GetObject('Untitled View'); IF savedViewHandle <> NIL THEN BEGIN ovSheetSaveView := GetObjectVariableBoolean(savedViewHandle, 450); ovSheetSavePage := GetObjectVariableBoolean(savedViewHandle, 451); ovSheetSaveClass := GetObjectVariableBoolean(savedViewHandle, 452); ovSheetSaveLayer := GetObjectVariableBoolean(savedViewHandle, 453); AlrtDialog(Concat( 'handle type: ', GetType(savedViewHandle), Chr(13), 'save view: ', ovSheetSaveView, Chr(13), 'save page: ', ovSheetSavePage, Chr(13), 'save class: ', ovSheetSaveClass, Chr(13), 'save layer: ', ovSheetSaveLayer)); END; END; RUN(Example);
SetHLLineStyle | View / Zoom Vectorworks 2019 |
VectorScript Declaration:
PROCEDURE SetHLLineStyle
( HLOptionsHandle :HANDLE; lineStyle :INTEGER ) ; Python:
return None
def vs.SetHLLineStyle(HLOptionsHandle, lineStyle): Description:
Sets the Line Style of the specified Hidden Line Rendering options handle.説明
指定した陰線レンダリングオプションのハンドルのラインスタイルを設定します。
SetVCenter | View / Zoom MiniCAD6.0 |
VectorScript Declaration:
PROCEDURE SetVCenter
( viewCenterX :REAL; viewCenterY :REAL ) ; Python:
return None
def vs.SetVCenter(viewCenter): Description:
Procedure SetVCenter sets the Vectorworks document view center.
説明
画面の表示位置を、指定した座標に移動します。Parameters:
viewCenter Coordinates of document view center. 表示位置の中心の座標 Example:
SetVCenter(2,4);
SetView | View / Zoom MiniCAD |
VectorScript Declaration:
PROCEDURE SetView
( xAngle :REAL; yAngle :REAL; zAngle :REAL; xDistance :REAL (Coordinate); yDistance :REAL (Coordinate); zDistance :REAL (Coordinate) ) ; Python:
return None
def vs.SetView(xAngle, yAngle, zAngle, xDistance, yDistance, zDistance): Description:
Procedure SetView sets the view of a Vectorworks document. The projection must be non-plan to modify the view.
説明
視点を、指定した3次元軸を中心に、指定した角度で回転させます。Parameters:
xAngle X axis rotation angle. X座標の角度 yAngle Y axis rotation angle. Y座標の角度 zAngle Z axis rotation angle. Z座標の角度 xDistance X coordinate of view center. 視点の中心のX座標 yDistance Y coordinate of view center. 視点の中心のY座標 zDistance Z coordinate of view center. 視点の中心のZ座標 Example:
SetView(45d,30d,30d,0,2,2);
SetViewVector | View / Zoom VectorWorks9.0 |
VectorScript Declaration:
PROCEDURE SetViewVector
( locationX :REAL; locationY :REAL; locationZ :REAL; targetX :REAL; targetY :REAL; targetZ :REAL; upX :REAL; upY :REAL; upZ :REAL ) ; Python:
return None
def vs.SetViewVector(location, target, up): Description:
Sets the view direction of the active document.説明
3D視点の座標を設定します。Parameters:
location 3D coordinate of view origin. カメラの座標 target 3D coordinate of view target. 視点の座標 up 3D coordinate indicating camera up direction. 視線角度
SetZoom | View / Zoom MiniCAD6.0 |
VectorScript Declaration:
PROCEDURE SetZoom
( zoomfactor:LONGINT ) ; Python:
return None
def vs.SetZoom(zoomfactor): Description:
Procedure SetZoom sets the zoom factor of the active Vectorworks document.
説明
画面の拡大/縮小率を設定します。Parameters:
zoomfactor Zoom percentage setting. 画面の拡大/縮小率
VDelete | View / Zoom MiniCAD |
VectorScript Declaration:
PROCEDURE VDelete
( name:STRING ) ; Python:
return None
def vs.VDelete(name): Description:
Procedure VDelete deletes the specified saved view.説明
登録されている画面を削除します。Parameters:
name Name of view to be deleted. 登録画面の名前 Example:
VDelete('Detail A-A');
VRestore | View / Zoom MiniCAD |
VectorScript Declaration:
PROCEDURE VRestore
( name:STRING ) ; Python:
return None
def vs.VRestore(name): Description:
Procedure VRestore restores the specified saved view (i.e., sheet name).
説明
登録されている画面を呼び出して表示します。Parameters:
name Name of view to be displayed. 登録画面の名前
VSave | View / Zoom MiniCAD |
VectorScript Declaration:
PROCEDURE VSave
( name:STRING ) ; Python:
return None
def vs.VSave(name): Description:
Procedure VSave saves the current Vectorworks document view.
説明
現在の画面を、指定した名前で登録します。Parameters:
name Name of view to save. 登録画面の名前