draw_points
-
compas_rhino.utilities.
draw_points
(points, **kwargs)[source] Draw points and optionally set individual name, layer, and color properties.
- Parameters
labels (list of dict) – A list of point dictionaries.
- Returns
list of GUID
Notes
A point dict has the following schema:
Schema({ 'pos': And(list, lambda x: len(x) == 3), Optional('name', default=''): str, Optional('color', default=None): (lambda x: len(x) == 3 and all(0 <= y <= 255 for y in x)), Optional('layer', default=None): str })