Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.13 KB

File metadata and controls

48 lines (38 loc) · 1.13 KB

SetDefaultTextureSpace

Description

Procedure SetDefaultTextureSpace sets the texture space for the referenced object to the VectorWorks object defaults.

PROCEDURE SetDefaultTextureSpace(
				obj      : HANDLE;
				texSpace : HANDLE;
				partID   : INTEGER);
def vs.SetDefaultTextureSpace(obj, texSpace, partID):
    return None

Parameters

Name Type Description
obj HANDLE Handle to object.
texSpace HANDLE Handle to texture space.
partID INTEGER Part ID (pass 1 for non-supporting objects).

Remarks

Sets texSpace to the default values for this type of object.

Examples

SetDefaultTextureSpace(obj, texSpace, 1);
import vs

# Procedure SetDefaultTextureSpace sets the texture space for the referenced
# object to the VectorWorks object defaults.
obj = vs.FSActLayer()  # handle to the first selected object on the active layer
texSpace = vs.NextSObj(vs.FSActLayer())  # handle to the next selected object
partID = 1

vs.SetDefaultTextureSpace(obj, texSpace, partID)

Version

Availability: from VectorWorks8.0

Category