Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 899 Bytes

File metadata and controls

45 lines (35 loc) · 899 Bytes

GetClTextureT

Description

Function GetClTextureT returns the roof top texture of the specified class.

FUNCTION GetClTextureT(className : STRING): LONGINT;
def vs.GetClTextureT(className):
    return LONGINT

Parameters

Name Type Description
className STRING Class name.

Remarks

Returns the roof top texture of the class named className.

Examples

BEGIN
regtex := GetClTextureG(roof_class);
rooftex := GetClTextureT(roof_class);
IF ((rooftex = 0) & (regtex <> 0)) THEN SetClTextureT(roof_class,regtex);
END;
import vs

# Function GetClTextureT returns the roof top texture of the specified class.
className = 'None'

resultN = vs.GetClTextureT(className)
vs.Message('GetClTextureT returned: ' + str(resultN))

Version

Availability: from VectorWorks8.0

Category