Beispiel #1
0
 def clear(self):
     objects = list(self.object_node.keys())
     objects += list(self.object_edge.keys())
     objects += list(self.object_path.keys())
     compas_blender.delete_objects(objects)
     self._object_node = {}
     self._object_edge = {}
     self._object_path = {}
Beispiel #2
0
 def clear(self):
     objects = list(self.object_node)
     objects += list(self.object_edge)
     objects += list(self.object_path)
     compas_blender.delete_objects(objects, purge_data=True)
     self._object_node = {}
     self._object_edge = {}
     self._object_path = {}
Beispiel #3
0
    def clear_faces(self):
        """Clear the objects contained in the face collection (``self.facecollection``).

        Returns
        -------
        None

        """
        compas_blender.delete_objects(self.facecollection.objects)
Beispiel #4
0
    def clear_edgelabels(self):
        """Clear all objects contained in the edgelabel collection.

        Returns
        -------
        None

        """
        compas_blender.delete_objects(self.edgelabelcollection.objects)
Beispiel #5
0
    def clear_nodes(self):
        """Clear all objects contained in the node collection.

        Returns
        -------
        None

        """
        compas_blender.delete_objects(self.nodecollection.objects)
Beispiel #6
0
 def clear(self):
     """Clear all objects previously drawn by this artist.
     """
     objects = []
     objects += list(self.object_vertex)
     objects += list(self.object_edge)
     objects += list(self.object_face)
     compas_blender.delete_objects(objects, purge_data=True)
     self._object_vertex = {}
     self._object_edge = {}
     self._object_face = {}
Beispiel #7
0
 def clear(self):
     """Clear all objects previously drawn by this artist.
     """
     objects = []
     objects += list(self.object_vertex.keys())
     objects += list(self.object_edge.keys())
     objects += list(self.object_face.keys())
     compas_blender.delete_objects(objects)
     self._object_vertex = {}
     self._object_edge = {}
     self._object_face = {}
Beispiel #8
0
 def clear(self):
     super().clear()
     objects = list(self.object_block)
     compas_blender.delete_objects(objects, purge_data=True)
     self._object_block = {}
Beispiel #9
0
 def clear_edgelabels(self):
     compas_blender.delete_objects(self.edgelabelcollection.objects)
Beispiel #10
0
 def clear_nodes(self):
     compas_blender.delete_objects(self.nodecollection.objects)
Beispiel #11
0
 def clear(self):
     """Delete all objects created by the artist."""
     if not self.objects:
         return
     compas_blender.delete_objects(self.objects)
     self.objects = []
Beispiel #12
0
 def clear_faces(self):
     compas_blender.delete_objects(self.facecollection.objects)
Beispiel #13
0
 def clear_vertices(self):
     compas_blender.delete_objects(self.vertexcollection.objects)