Function GetClTextureT returns the roof top texture of the specified class.
FUNCTION GetClTextureT(className : STRING): LONGINT;def vs.GetClTextureT(className):
return LONGINT| Name | Type | Description |
|---|---|---|
| className | STRING | Class name. |
Returns the roof top texture of the class named className.
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))Availability: from VectorWorks8.0