Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 1.41 KB

File metadata and controls

54 lines (43 loc) · 1.41 KB

SetTexSpaceEndCap

Description

Procedure SetTexSpaceEndCap sets whether the end cap of a referenced extrude or sweep is textured.

PROCEDURE SetTexSpaceEndCap(
				textureSpace   : HANDLE;
				endCapTextured : BOOLEAN);
def vs.SetTexSpaceEndCap(textureSpace, endCapTextured):
    return None

Parameters

Name Type Description
textureSpace HANDLE Handle to texture space.
endCapTextured BOOLEAN Texture end cap status.

Remarks

Sets whether end 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.

Examples

	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 SetTexSpaceEndCap sets whether the end cap of a referenced
# extrude or sweep is textured.
textureSpace = vs.FSActLayer()  # handle to the first selected object on the active layer
endCapTextured = True

vs.SetTexSpaceEndCap(textureSpace, endCapTextured)

Version

Availability: from VectorWorks8.0

Category