drdEnablePixelThreshold
drdEnablePixelThreshold(
g_enable
)
=> t / nil
Description
Enables a pixel threshold. When you move an object toward another object and you cross this pixel threshold, the object being moved is automatically snapped to the closest edge of the DRC halo or the target object, if DRD Smart Snap mode is enabled. You can disable this pixel threshold to temporarily disable smart snapping during interactive editing.
Arguments
|
When set to |
Value Returned
Examples
drdEnablePixelThreshold(t)
Enables the pixel threshold, which, in turn, enables snapping.
drdEnablePixelThreshold(nil)
Return to top