Sets the overall heights of a wall or round wall.
FUNCTION SetWallOverallHeights(
theWall : HANDLE;
botBoundType : INTEGER;
botBoundStory : INTEGER;
botLayerLevelType : STRING;
botOffset : REAL;
topBoundType : INTEGER;
topBoundStory : INTEGER;
topLayerLevelType : STRING;
topOffset : REAL): BOOLEAN;def vs.SetWallOverallHeights(theWall, botBoundType, botBoundStory, botLayerLevelType, botOffset, topBoundType, topBoundStory, topLayerLevelType, topOffset):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| theWall | HANDLE | The wall or round wall |
| botBoundType | INTEGER | The type of the bottom bound |
| botBoundStory | INTEGER | The story of the bottom bound |
| botLayerLevelType | STRING | The layer level type of the bottom bound |
| botOffset | REAL | The offset of the bottom bound |
| topBoundType | INTEGER | The type of the top bound |
| topBoundStory | INTEGER | The story of the top bound |
| topLayerLevelType | STRING | The layer level type of the top bound |
| topOffset | REAL | The offset of the top bound |
SetObjExpandTexture(lNewObj,FALSE);
SetTextureRef(lNewObj,-1,7);
WallCap(FALSE,FALSE,FALSE,-3*upi,3*upi);
WallCap(TRUE,FALSE,FALSE,3*upi,-3*upi);
result := SetWallOverallHeights(lnewobj,0,0,'',cHeight,0,0,'',cHeight);
WallPeak((cWidth/2-3*upi),cRise+cHeight);
ResetObject(lNewObj);
BEGIN
wallH1 := wallH [i];
SetSelect (wallH1);
IF (NOT useStyle) & (NOT useHeight) THEN
OK := SetWallOverallHeights(wallH1,0,0,'',0,0,0,'',deltaZ);import vs
# Sets the overall heights of a wall or round wall.
theWall = vs.FSActLayer() # handle to the first selected object on the active layer
botBoundType = 0
botBoundStory = 1
botLayerLevelType = 'Design Layer-1'
botOffset = 0.0
topBoundType = 0
topBoundStory = 2
topLayerLevelType = 'Design Layer-1'
topOffset = 0.0
ok = vs.SetWallOverallHeights(theWall, botBoundType, botBoundStory, botLayerLevelType, botOffset, topBoundType, topBoundStory, topLayerLevelType, topOffset)
if ok:
vs.Message('SetWallOverallHeights succeeded')
else:
vs.Message('SetWallOverallHeights failed')See also in tutorials: 01. Draw a Room with Walls, 20. Read a Polyline and Build Walls Along Its Path
VS Functions: GetWallOverallHeights
Availability: from Vectorworks 2012