RhinoNetworkObject

class compas_ui.rhino.objects.RhinoNetworkObject(*args, **kwargs)[source]

Bases: RhinoObject, NetworkObject

Class for representing COMPAS networkes in Rhino.

Attributes:
  • guid_node (dict[System.Guid, int]) – Map between Rhino object GUIDs and mesh node identifiers.

  • guid_edge (dict[System.Guid, tuple[int, int]]) – Map between Rhino object GUIDs and mesh edge identifiers.

Methods

clear

draw

modify

Update the attributes of the network.

modify_edges

Update the attributes of the edges.

modify_nodes

Update the attributes of the nodes.

move_node

Move a single node of the network object and update the data structure accordingly.

select_edges

Select edges of the network.

select_nodes

Select nodes of the network.

Inherited Methods

add

move

move_edge

redraw

register

remove

select