Example #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 = {}
Example #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 = {}
Example #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)
Example #4
0
    def clear_edgelabels(self):
        """Clear all objects contained in the edgelabel collection.

        Returns
        -------
        None

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

        Returns
        -------
        None

        """
        compas_blender.delete_objects(self.nodecollection.objects)
Example #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 = {}
Example #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 = {}
Example #8
0
 def clear(self):
     super().clear()
     objects = list(self.object_block)
     compas_blender.delete_objects(objects, purge_data=True)
     self._object_block = {}
Example #9
0
 def clear_edgelabels(self):
     compas_blender.delete_objects(self.edgelabelcollection.objects)
Example #10
0
 def clear_nodes(self):
     compas_blender.delete_objects(self.nodecollection.objects)
Example #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 = []
Example #12
0
 def clear_faces(self):
     compas_blender.delete_objects(self.facecollection.objects)
Example #13
0
 def clear_vertices(self):
     compas_blender.delete_objects(self.vertexcollection.objects)