osnap


(osnap  point  snapMode)

This function runs a non-interactive point snapping operation, searching for an appropriate geometry point.

Arguments

point  a 2d/3d point list, used as reference or start point for the snapping operation

snapMode  string, specifies the snap mode(s) to be used; multiple modes can be specified using comma separator;

Return

3d snapped point, if any; NIL if no snappable geometry can be found

Example

(osnap ptRef "mid,cen,end")  (10.5 10.5 20)

Remarks

size of aperture box matters, defined by APERTURE system variable



©  Bricsys NV. All rights reserved.