Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 919 Bytes

File metadata and controls

48 lines (38 loc) · 919 Bytes

SetLayerElevation

Description

Sets the elevation and thickness of the specified layer.

PROCEDURE SetLayerElevation(
				h         : HANDLE;
				baseElev  : REAL;
				thickness : REAL);
def vs.SetLayerElevation(h, baseElev, thickness):
    return None

Parameters

Name Type Description
h HANDLE Handle to the layer
baseElev REAL Base elevation of the layer
thickness REAL Thickness of the layer

Examples

SetLayerElevation(h, 1.0, 2.0);
import vs

# Sets the elevation and thickness of the specified layer.
h = vs.FSActLayer()  # handle to the first selected object on the active layer
baseElev = 0.0
thickness = 0.1

vs.SetLayerElevation(h, baseElev, thickness)

See Also

VS Functions: GetLayerElevation

Version

Availability: from VectorWorks10.0

Category