GH_PointGetter

public class GH_PointGetter

Properties

AcceptPreselected

#
Gets or sets a value indicating whether or not preselected point objects are accepted.
public bool AcceptPreselected { get; set; }

PointRefType

#
Gets or sets the Point Reference type.
public GH_PointRefType PointRefType { get; set; }

Methods

DefaultRefType

#
Gets the default point reference type based on the layout of the active doc.
public GH_PointRefType DefaultRefType()

GetPoint

#
Utility function for getting single points. This function properly Handles Nothing results.
public static GH_GetterResult GetPoint(
prompt,
Prompt to display during GetPoint.
basePoint,
Base point for getter or Point3d.Unset for not base point.
ref Point3d
outPoint
Resulting point. Only filled out if return is GH_GetterResult.success
)
Result of operation.

GetPoint

#
public GH_Point GetPoint()

GetPoint

#
public GH_Point GetPoint(
base
)

GetPoints

#
public List<GH_Point> GetPoints()

RecreateSetup

#
Use this function to set up all the properties to mimic an initial getter operation similar to the one that resulted in the given point.
public void RecreateSetup(
pt
Point to infer getter options from.
)