Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.23 KB

File metadata and controls

47 lines (35 loc) · 1.23 KB

GetTexSpace2DRadius

Description

Function GetTexSpace2DRadius returns the radius of the referenced texture space for applicable mapping types.

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

Parameters

Name Type Description
textureSpace HANDLE Handle to texture space.

Remarks

_c_ (2018 Dec. 29) Use GetTexMapRealN instead.

For applicable mapping types, gets the radius of the texture space.

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

Examples

tmpReal := GetTexSpace2DRadius( wallTextureSpace );
SetTexSpace2DRadius( objTextureSpace, tmpReal );
import vs

# Function GetTexSpace2DRadius returns the radius of the referenced texture
# space for applicable mapping types.
textureSpace = vs.FSActLayer()  # handle to the first selected object on the active layer

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

Version

Availability: from VectorWorks 8.0

Category