Skip to content

Latest commit

 

History

History
57 lines (47 loc) · 1.44 KB

File metadata and controls

57 lines (47 loc) · 1.44 KB

GetWallOverallHeights

Description

Gets the overall heights of a wall or round wall.

PROCEDURE GetWallOverallHeights(
				theWall                 : HANDLE;
				VAR overallHeightTop    : REAL;
				VAR overallHeightBottom : REAL);
def vs.GetWallOverallHeights(theWall):
    return (overallHeightTop, overallHeightBottom)

Parameters

Name Type Description
theWall HANDLE The wall or round wall
overallHeightTop REAL The overall height of the top
overallHeightBottom REAL The overall height of the bottom

Examples

BEGIN
Get3DInfo(hobj,dp,wd,ht);
Get3DCntr(hobj,x,y,z);
IF (IsLineBasedWall(hwall)) THEN
	GetWallOverallHeights(hwall,wallh1,wallh2)
ELSE IF IsArcBasedWall(hWall) THEN BEGIN { roundwall condition }
	Get3DInfo(hwall,wt,ww,wh);
	wallh1 := wh;
	wallh2 := wh;
END;
import vs

# Gets the overall heights of a wall or round wall.
theWall = vs.FSActLayer()  # handle to the first selected object on the active layer

overallHeightTop, overallHeightBottom = vs.GetWallOverallHeights(theWall)
vs.Message('GetWallOverallHeights returned: ' + str((overallHeightTop, overallHeightBottom)))

See also in tutorials: 27. Formatted Wall Schedule

See Also

VS Functions: SetWallOverallHeights

Version

Availability: from Vectorworks 2012

Category