Sets the texture size in real-world inches.
PROCEDURE SetTextureSize(
texture : HANDLE;
newSize : REAL);def vs.SetTextureSize(texture, newSize):
return None| Name | Type | Description |
|---|---|---|
| texture | HANDLE | |
| newSize | REAL |
BEGIN
SetName(TextureHand,TextureName);
SetTextureSize(TextureHand, 2");
SetTextureAttributes := TRUE;
END;
If ValidNumStr(Concat(2/GetPrefReal(152),'"'),Size) THEN BEGIN END;
SetTextureSize (BrdrBlckTxtrHnd,Size);import vs
# Sets the texture size in real-world inches.
texture = vs.FSActLayer() # handle to the first selected object on the active layer
newSize = 1.0
vs.SetTextureSize(texture, newSize)Availability: from VectorWorks10.1