Procedure SetTexSpaceStartCap sets the texture status of a referenced sweep or extrude.
PROCEDURE SetTexSpaceStartCap(
textureSpace : HANDLE;
startCapTextured : BOOLEAN);def vs.SetTexSpaceStartCap(textureSpace, startCapTextured):
return None| Name | Type | Description |
|---|---|---|
| textureSpace | HANDLE | Handle to texture space. |
| startCapTextured | BOOLEAN | Texture start cap status. |
Sets whether start cap of extrude or sweep is textured
Note: SetTexMapXXX routines replace the older SetTexSpaceXXX routines. It is recommended that all developers transition to the newer versions.
BEGIN
SetTexSpaceKind(temp2_h, 2);
SetTexSpace2DRadius(temp2_h, JoistMapRadius);
END;
SetTexSpaceStartCap( temp2_h, JoistMapStartCap);
SetTexSpaceEndCap ( temp2_h, JoistMapEndCap);
SetTexSpace2DScale(temp2_h, JoistMapScale);
SetTexSpace2DOffset(temp2_h, JoistMapHorOffset, JoistMapVertOffset );
SetTexSpace2DRot(temp2_h , JoistMapRotation);import vs
# Procedure SetTexSpaceStartCap sets the texture status of a referenced sweep
# or extrude.
textureSpace = vs.FSActLayer() # handle to the first selected object on the active layer
startCapTextured = True
vs.SetTexSpaceStartCap(textureSpace, startCapTextured)Availability: from VectorWorks8.0