Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.39 KB

File metadata and controls

47 lines (38 loc) · 1.39 KB

GetPtL3D

Description

Procedure GetPtL3D creates a temporary "rubberband" 3D line from a specified point to the user selected end point. This cannot be used if there is a function anywhere in the calling chain.

PROCEDURE GetPtL3D(
				p1        : REAL;
				VAR p2    : REAL;
				useWPOnly : BOOLEAN);
def vs.GetPtL3D(useWPOnly, callback):
    return None

Parameters

Name Type Description
p1 REAL Coordinates of line start point.
p2 REAL Returns coordinates of mouse click.
useWPOnly BOOLEAN TRUE if the returned point have to be on the active Working Plane. Snapping to arbitrary 3D geometry will produce vertical projection result on the WP; FALSE if the point can be arbitrary 3D point (produced, for example, by snapping to a 3D geometry)

Remarks

In Python this function will NOT block execution. It will execute a callback function with the resulted line (two points as callback function parameters).

Examples

on sample is similar to the sample in GetPt.

See Also

VS Functions: GetPt | GetPtL | GetPt3D | GetPtL3D | GetLine | GetLine3D | GetRect | GetRect3D | TrackObject

Version

Availability: from Vectorworks 2010

Category