Function EditTexture opens the Edit Texture dialog for the referenced texture.
FUNCTION EditTexture(texture : HANDLE): BOOLEAN;def vs.EditTexture(texture):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| texture | HANDLE | Handle to texture. |
Brings up the Edit Texture dialog for this texture
BEGIN
BackUpTextureName := TextureName;
DidIt := SetTextureAttributes;
IF DidIt THEN
EditTextureDialog := EditTexture(TextureHand)
ELSE
DelObject(TextureHand);
END;import vs
# Function EditTexture opens the Edit Texture dialog for the referenced texture.
texture = vs.FSActLayer() # handle to the first selected object on the active layer
ok = vs.EditTexture(texture)
if ok:
vs.Message('EditTexture succeeded')
else:
vs.Message('EditTexture failed')Availability: from VectorWorks8.0