Xyz coordinates to replace a mouse click

Hi, The Curve Boolean command requires a mouse click, I would like to script this command but instead of using a mouse click I need to enter a location by it’s coordinates.

Hi Phil,

Should be scriptable, I’ve done this in the past - something like

import rhinoscriptsyntax as rs

objs=rs.GetObjects("Select some coplanar curves",4,select=True)
#add a small amount to make sure you're outside the bounding box
comm_str="_-CurveBoolean _DeleteInput=All _CombineRegions=_Yes {} _Enter".format(pick_pt)

(assumes collection of planar curves that form at least one enclosed area)

Cool Mitch, it works fine.
Cheers Phil