Skip to content

Latest commit

 

History

History
61 lines (50 loc) · 1 KB

File metadata and controls

61 lines (50 loc) · 1 KB

IsLWByClass

Description

Function IsLWByClass returns whether a class line weight is used for the referenced object.

FUNCTION IsLWByClass(h : HANDLE): BOOLEAN;
def vs.IsLWByClass(h):
    return BOOLEAN

Parameters

Name Type Description
h HANDLE Handle to object.

Remarks

Returns an indication of whether the class line weight is used for the object referenced by h. [sd 8/19/98]

Examples

VectorScript

PROCEDURE Example;
VAR
symDefHandle, h :HANDLE;

PROCEDURE AlertMe;
BEGIN
Message(GetSDName(symDefHandle));
SetSelect(h);
END;

BEGIN
DSelectAll;
ClrMessage;
symDefHandle := FSymDef;
WHILE symDefHandle <> NIL DO BEGIN
h := FInSymDef(symDefHandle);
WHILE h <> NIL DO BEGIN
IF IsLWByClass(h) THEN AlertMe;
h := NextObj(h);
END;
symDefHandle := NextObj(symDefHandle);
END;
END;
RUN(Example);

Python

Version

Availability: from VectorWorks8.0

Category