Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.11 KB

File metadata and controls

47 lines (36 loc) · 1.11 KB

GetTexSpaceEndCap

Description

Function GetTexSpaceEndCap returns whether the end cap of the referenced extrude or sweep is textured.

FUNCTION GetTexSpaceEndCap(textureSpace : HANDLE): BOOLEAN;
def vs.GetTexSpaceEndCap(textureSpace):
    return BOOLEAN

Parameters

Name Type Description
textureSpace HANDLE Handle to texture space.

Remarks

Returns whether end cap of extrude or sweep is textured

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

Examples

resultOK := GetTexSpaceEndCap(textureSpace);
import vs

# Function GetTexSpaceEndCap returns whether the end cap of the referenced
# extrude or sweep is textured.
textureSpace = vs.FSActLayer()  # handle to the first selected object on the active layer

ok = vs.GetTexSpaceEndCap(textureSpace)
if ok:
    vs.Message('GetTexSpaceEndCap succeeded')
else:
    vs.Message('GetTexSpaceEndCap failed')

Version

Availability: from VectorWorks8.0

Category