def __init__(self): beaverAutoCAD_core.prompt_ascii_art() self.window = gtk.Window() self.window.set_title("beaverAutoCAD - Automating AutoCAD Calculations") self.window.set_position(gtk.WIN_POS_CENTER) self.create_widgets() self.connect_signals() try: self.window.set_icon_from_file("SE_Logo25.png") except Exception, e: print e.message sys.exit(1)
def __init__(self): self.dir_name = os.path.expanduser('~\Desktop') self.filename = '{}_{}'.format( beaverAutoCAD_core.acad.ActiveDocument.Name[0:-4], today_date) beaverAutoCAD_core.prompt_ascii_art()
def __init__(self): self.dir_name = os.path.expanduser('~\Desktop') self.filename = '{}_{}'.format(beaverAutoCAD_core.acad.ActiveDocument.Name[0:-4], today_date) beaverAutoCAD_core.prompt_ascii_art()