Skip to content

Latest commit

 

History

History
65 lines (54 loc) · 1.59 KB

File metadata and controls

65 lines (54 loc) · 1.59 KB

CreateRoof

Description

Function CreateRoof creates a new roof object in a VectorWorks document, returning a handle to the object. To define the roof object template, use [[VS:AppendRoofEdge| AppendRoofEdge]].

{| class="wikitable_c" |+ Table - Roof Miter Styles

! Miter Style !! Constant
Vertical
1
-
Horizontal
2
-
Double
3
-
Square
4
}
FUNCTION CreateRoof(
				genGableWall         : BOOLEAN;
				bearingInsetDistance : REAL;
				roofThickDistance    : REAL;
				miterType            : INTEGER;
				vertMiterDistance    : REAL): HANDLE;
def vs.CreateRoof(genGableWall, bearingInsetDistance, roofThickDistance, miterType, vertMiterDistance):
    return HANDLE

Parameters

Name Type Description
genGableWall BOOLEAN Specifies gable roof generation.
bearingInsetDistance REAL Bearing inset distance of wall into roof.
roofThickDistance REAL Roof thickness.
miterType INTEGER Miter style of roof.
vertMiterDistance REAL Vertical component for double miters.

Remarks

Use [VS:AppendRoofEdge| AppendRoofEdge] to define the roof plan. genGableWall: Create wall object on gable ends, otherwise no wall is created. bearingInset is where the weight of the roof rests on the wall. This is an inset from the defining edge of the roof plan. miterType: 1: vertical miter, 2: horizontal miter, 3: double miter , 4: square miter vertMiter: Specifies vertical len of double miter.

Examples

eateRoofObj}}

See Also

VS Functions: AppendRoofEdge

Version

Availability: from VectorWorks 8.0

Category

  • Objects - Roofs