compas_rhino.objects

Functions

delete_object

Delete Rhino object.

delete_objects

Delete multiple Rhino objects.

get_curves

Get all curves.

get_line_coordinates

Get the start and end point coordinates of line curves.

get_lines

Get all lines.

get_objects

Get identifiers of Rhino objects, potentially filtered by name, color, layer, or type.

get_object_layers

Get the layer names of multiple objects.

get_object_name

Get the name of one object.

get_object_names

Get the names of multiple objects.

get_object_types

Get the type of multiple objects.

get_object_attributes

Get attributes from an object's user dictionary.

get_object_attributes_from_name

Get attributes from JSON parsable object names.

get_point_coordinates

Get the coordintes of the locations of point objects.

get_points

Get all points.

get_point_coordinates

Get the coordintes of the locations of point objects.

get_polygon_coordinates

Get the point coordinates of polygons.

get_polyline_coordinates

Get the point coordinates of polylines.

get_polylines

Get all polylines.

get_polygons

Get all polygons.

is_curve_line

Verify that a curve is a line.

is_curve_polyline

is_curve_polygon

purge_objects

Purge objects from memory.

select_curve

Select one curve in the Rhino view.

select_curves

Select multiple curves in the Rhino view.

select_line

Select one line in the Rhino view.

select_lines

Select multiple lines in the Rhino view.

select_mesh

Select one mesh in the Rhino view.

select_meshes

Select multiple meshes in the Rhino view.

select_object

Select one object in the Rhino view.

select_objects

Select multiple objects in the Rhino view.

select_point

Select one point in the Rhino view.

select_points

Select multiple points in the Rhino view.

select_polygon

Select one polygon in the Rhino view.

select_polygons

Select multiple polygons in the Rhino view.

select_polyline

Select one polyline in the Rhino view.

select_polylines

Select multiple polylines in the Rhino view.

select_surface

Select one surface in the Rhino view.

select_surfaces

Select multiple surfaces in the Rhino view.

set_object_attributes

Set the custom attributes of a Rhino object.