Function GetTexSpaceStartCap returns whether the start cap of an extrude or sweep is textured.
FUNCTION GetTexSpaceStartCap(textureSpace : HANDLE): BOOLEAN;def vs.GetTexSpaceStartCap(textureSpace):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| textureSpace | HANDLE | Handle to texture space. |
Returns whether start 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 := GetTexSpaceStartCap(textureSpace);import vs
# Function GetTexSpaceStartCap returns whether the start cap of an extrude or
# sweep is textured.
textureSpace = vs.FSActLayer() # handle to the first selected object on the active layer
ok = vs.GetTexSpaceStartCap(textureSpace)
if ok:
vs.Message('GetTexSpaceStartCap succeeded')
else:
vs.Message('GetTexSpaceStartCap failed')Availability: from VectorWorks8.0