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| Name | Type | Description |
|---|---|---|
| textureSpace | HANDLE | Handle to texture space. |
_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.
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))Availability: from VectorWorks 8.0