Function GetTexSpace2DRot returns the rotation of the referenced texture space (in degrees).
FUNCTION GetTexSpace2DRot(textureSpace : HANDLE): REAL;def vs.GetTexSpace2DRot(textureSpace):
return REAL| Name | Type | Description |
|---|---|---|
| textureSpace | HANDLE | Handle to texture space. |
_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.
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))Availability: from VectorWorks 8.0