Returns the texture size in real-world inches.
FUNCTION GetTextureSize(texture : HANDLE): REAL;def vs.GetTextureSize(texture):
return REAL| Name | Type | Description |
|---|---|---|
| texture | HANDLE |
resultVal := GetTextureSize(texture);import vs
# Returns the texture size in real-world inches.
texture = vs.FSActLayer() # handle to the first selected object on the active layer
value = vs.GetTextureSize(texture)
vs.Message('GetTextureSize returned: ' + str(value))Availability: from VectorWorks10.1