Skip to content

Latest commit

 

History

History
64 lines (50 loc) · 1.4 KB

File metadata and controls

64 lines (50 loc) · 1.4 KB

SetMarker

Description

Specifies marker information for the referenced object - OBSOLETE procedure: Use SetObjBeginningMarker and/or SetObjEndMarker instead.

PROCEDURE SetMarker(
				h     : HANDLE;
				start : BOOLEAN;
				end   : BOOLEAN;
				style : INTEGER;
				size  : REAL);
def vs.SetMarker(h, start, end, style, size):
    return None

Parameters

Name Type Description
h HANDLE Handle to the object
start BOOLEAN True if a marker is visible at start of object.
end BOOLEAN True if a marker is visible at end of object.
style INTEGER Marker style:
size REAL Size of marker

Remarks

OBSOLETE for VW2008: Use SetObjBeginningMarker and/or SetObjEndMarker instead.

This changes the document defaults.

Examples

VectorScript

PROCEDURE Example;
BEGIN
MoveTo(0, 0);
LineTo(100, 0);
SetMarker(LNewObj, TRUE, FALSE, 2, 10000);
END;
RUN(Example);

Python

See Also

VS Functions: GetMarker | SetObjBeginningMarker | SetObjEndMarker

Version

SetMarker is obsolete as of VectorWorks13.0

Availability: from VectorWorks10.0

Category