Returns the line weight of the specified class.
FUNCTION GetClLW(className : STRING): INTEGER;def vs.GetClLW(className):
return INTEGER| Name | Type | Description |
|---|---|---|
| className | STRING | Name of class. |
Returns the line weight of the class named className.
pbLineWt:= GetClLW('Property Bounds');pbLineWt = vs.GetClLW('Property Bounds')SetLSN( h4, GetClLSN( kModifierClass ) );
SetLW( h4, GetClLW( kModifierClass ) );
IF GetClLW (UserClassName) <> TmpClassInfo.LW THEN SetClLW (UserClassName, TmpClassInfo.LW);
IF GetClLW (UserClassName) <> TmpClassInfo.LW THEN
BEGIN
gClassList [classIndex].LW := GetClLW (UserClassName);
WriteToClassWS (classIndex, 2, GetClLW (UserClassName), '');
END;import vs
# Returns the line weight of the specified class.
className = 'None'
resultN = vs.GetClLW(className)
vs.Message('GetClLW returned: ' + str(resultN))Availability: from VectorWorks8.0