Applies the given Wall Style to the given wall, aligning to the given offsets.
FUNCTION SetWallStyle(
theWall : HANDLE;
wallStyle : STRING;
selectedOffDistance : REAL;
replacingOffDistance : REAL): BOOLEAN;def vs.SetWallStyle(theWall, wallStyle, selectedOffDistance, replacingOffDistance):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| theWall | HANDLE | The wall. |
| wallStyle | STRING | The Wall Style to apply. |
| selectedOffDistance | REAL | The offset of the wall to align to. |
| replacingOffDistance | REAL | The offset of the Wall Style to align to. |
Example
PROCEDURE Example;
VAR
theWall :HANDLE;
wallStyle :STRING;
selectedOffDistance :REAL;
replacingOffDistance :REAL;
BEGIN
theWall := FSActLayer;
wallStyle := 'Ext-2x4-Brick veneer';
selectedOffDistance := 0;
replacingOffDistance := 0;
Message(SetWallStyle(theWall, wallStyle, selectedOffDistance, replacingOffDistance));
END;
RUN(Example);VS Functions: GetWallStyle
Availability: from VectorWorks12.5