Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 794 Bytes

File metadata and controls

45 lines (35 loc) · 794 Bytes

SetTextureSet

Description

Sets the texture set of an object.

PROCEDURE SetTextureSet(
				obj        : HANDLE;
				textureSet : INTEGER);
def vs.SetTextureSet(obj, textureSet):
    return None

Parameters

Name Type Description
obj HANDLE The object.
textureSet INTEGER The texture set. 0 - Object textures, 1 - Component textures

Examples

SetTextureSet(obj, 1);
import vs

# Sets the texture set of an object.
obj = vs.FSActLayer()  # handle to the first selected object on the active layer
textureSet = 1

vs.SetTextureSet(obj, textureSet)

See Also

VS Functions: GetTextureSet

Version

Availability: from Vectorworks 2011

Category