drdAddTarget
drdAddTarget(
w_winID
l_point
)
=> t / nil
Description
Sets the shape located at the specified point in the specified window as a DRD target. The function does not remove from the selection the shapes already set as DRD targets. If two or more shapes overlap at the specified point, the shape on the active layer is set as a DRD target.
For example, if a shape on Poly layer and a shape on Metal1 layer overlap at the specified point and you want to set the shape on Poly layer as a DRD target, set Poly as the active layer in the Palette.
You can bind a key to this function and use the bindkey during interactive editing to set objects as DRD targets. For more information, see
Arguments
Value Returned
Examples
drdAddTarget(hiGetCurrentWindow() 2000:1000)
drdAddTarget(window(2) 10000:10000)
drdAddTarget(window(3) list(12000 1000))
Return to top