def copySelection(self): """Summary Returns: TYPE: Description """ part_instance = self.part_item.partInstance() copy_dict = v3encode.encodePartList(part_instance, list(self.selection_set)) self.clipboard = copy_dict
def copySelection(self): """Copy Selection Group to a Clip board """ part_item = self.part_item part_instance = part_item.partInstance() # SAVE the CORNER POINT of the selection box bri = self.group.bounding_rect_item br = bri.rect() delta = QPointF(br.width() / 2 , br.height()/2) self.copy_pt = bri.pos() + delta # print("NEW Grid copy point", self.copy_pt) copy_dict = v3encode.encodePartList(part_instance, list(self.selection_set)) self.clip_board = copy_dict self.vhi_hint_item.hide()
def copySelection(self): """Copy Selection Group to a Clip board """ part_item = self.part_item part_instance = part_item.partInstance() # SAVE the CORNER POINT of the selection box bri = self.group.bounding_rect_item br = bri.rect() delta = QPointF(br.width() / 2, br.height() / 2) self.copy_pt = bri.pos() + delta # print("NEW Grid copy point", self.copy_pt) copy_dict = v3encode.encodePartList(part_instance, list(self.selection_set)) self.clip_board = copy_dict self.vhi_hint_item.hide()