Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.08 KB

File metadata and controls

46 lines (34 loc) · 1.08 KB

GetTexSpace2DRot

Description

Function GetTexSpace2DRot returns the rotation of the referenced texture space (in degrees).

FUNCTION GetTexSpace2DRot(textureSpace : HANDLE): REAL;
def vs.GetTexSpace2DRot(textureSpace):
    return REAL

Parameters

Name Type Description
textureSpace HANDLE Handle to texture space.

Remarks

_c_ (2018.12.29) Use GetTexMapRealN instead.

Returns rotation in degrees

Note: GetTexMapXXX routines replace the older GetTexSpaceXXX routines. It is recommended that all developers transition to the newer versions.

Examples

tmpReal := GetTexSpace2DRot(wallTextureSpace);
import vs

# Function GetTexSpace2DRot returns the rotation of the referenced texture
# space (in degrees).
textureSpace = vs.FSActLayer()  # handle to the first selected object on the active layer

value = vs.GetTexSpace2DRot(textureSpace)
vs.Message('GetTexSpace2DRot returned: ' + str(value))

Version

Availability: from VectorWorks 8.0

Category