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| Name | Type | Description |
|---|---|---|
| obj | HANDLE | Handle to object. |
| texSpace | HANDLE | Handle to texture space. |
| partID | INTEGER | Part ID (pass 1 for non-supporting objects). |
Sets texSpace to the default values for this type of object.
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)Availability: from VectorWorks8.0