Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 694 Bytes

File metadata and controls

38 lines (29 loc) · 694 Bytes

GetTextureSize

Description

Returns the texture size in real-world inches.

FUNCTION GetTextureSize(texture : HANDLE): REAL;
def vs.GetTextureSize(texture):
    return REAL

Parameters

Name Type Description
texture HANDLE

Examples

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))

Version

Availability: from VectorWorks10.1

Category