VS:SetTrapeziumAttributes/ja

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix


Description

ハンドルで指定した屋根の中の、台形のドーマーを設定します。
PROCEDURE SetTrapeziumAttributes(
roofObject  :HANDLE;
dormerID  :INTEGER;
useHeight  :BOOLEAN;
heightDpthDistance  :REAL)Coordinate); bottomWidthDistance:REAL (Coordinate); useTopWidth:BOOLEAN; topWidthDistance:REAL (Coordinate); leftAngle:REAL; rightAngle:REAL; topAngle:REAL);
def vs.SetTrapeziumAttributes(roofObject, dormerID, useHeight, heightDpthDistance, bottomWidthDistance, useTopWidth, topWidthDistance, leftAngle, rightAngle, topAngle):
    return None

Parameters

roofObject HANDLE 屋根のハンドル
dormerID INTEGER ドーマーの番号
useHeight BOOLEAN 高さ設定の有無
heightDpthDistance REAL (Coordinate) 高さまたは厚み
bottomWidthDistance REAL (Coordinate) 下部の幅
useTopWidth BOOLEAN 上部の幅の有無
topWidthDistance REAL (Coordinate) 上部の幅
leftAngle REAL 左側の傾斜角度
rightAngle REAL 右側の傾斜角度
topAngle REAL 上側の傾斜角度

Example

roofHandle := CreateRoof(TRUE,5 1/2",5 1/2",4,9.52627");
AppendRoofEdge(roofHandle,-77'10",-25'3.18078",#45°0'0",2'0",10'0");
AppendRoofEdge(roofHandle,-41'2",-25'3.18078",#45°0'0",2'0",10'0");
AppendRoofEdge(roofHandle,-41'2",21'4.81922",#45°0'0",2'0",10'0");
AppendRoofEdge(roofHandle, -77'10",21'4.81922",#45°0'0",2'0",10'0");
trapID:=CreateTrapeziumDormer(roofHandle);
SetTrapeziumAttributes(roofHandle,trapID,TRUE,6'0",10'0",TRUE,6'0",#0°0'0",#0°0'0",#8°0'0");
SetDormerAttributes(roofHandle,trapID,3,18'4",TRUE,3'0",63,FALSE,3'0");
SetDormerThick(roofHandle, 2",1.83333");

Version

利用可能バージョン: VectorWorks8.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox
In other languages