Function DeleteTextureSpace deletes the texture space attached to the referenced object or object part.
PROCEDURE DeleteTextureSpace(
obj : HANDLE;
partID : INTEGER);def vs.DeleteTextureSpace(obj, partID):
return None| Name | Type | Description |
|---|---|---|
| obj | HANDLE | Handle to object. |
| partID | INTEGER | Part ID (pass 1 for non-supporting objects). |
Removes the texture space from this object. To render textures correctly, an object must have both a non-zero texture ref and a texture space attached. The reverse of this means that the texture ref for the object should be set to zero when this function is called.
DeleteTextureSpace(obj, 1);import vs
# Function DeleteTextureSpace deletes the texture space attached to the
# referenced object or object part.
obj = vs.FSActLayer() # handle to the first selected object on the active layer
partID = 1
vs.DeleteTextureSpace(obj, partID)Availability: from VectorWorks8.0