VS:GetZVals

From Vectorworks Developer
Revision as of 17:56, 27 April 2008 by Root (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix


Description

Procedure GetZVals returns the Z (layer base elevation) and delta Z (layer thickness) values for the active layer.
PROCEDURE GetZVals(
VAR zVal  :REAL;
VAR deltaZVal  :REAL);
def vs.GetZVals():
    return (zVal, deltaZVal)

Parameters

zVal REAL Layer base elevation(above document ground plane).
deltaZVal REAL Layer thickness.

Remarks

Returns the Z and Delta Z values for the active layer.

[sd 8/14/98]

Example

VectorScript

PROCEDURE GetLayerHeights(layerHandle :HANDLE; VAR baseElev, thickness :REAL);
BEGIN
GetLayerElevation(layerHandle, baseElev, thickness);
baseElev  := baseElev  / (25.4 / GetPrefReal(152));
thickness := thickness / (25.4 / GetPrefReal(152));
END;

Python


Version

Availability: from MiniCAD5.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox