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| Name | Type | Description |
|---|---|---|
| textureSpace | HANDLE | Handle to texture space. |
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.
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')Availability: from VectorWorks8.0