def open(filename):
''' '''
kursor = QtGui.QCursor()
kursor.setShape(QtCore.Qt.ArrowCursor)
QtGui.QApplication.setOverrideCursor(kursor)
wersjaFormatu = wersjaFormatuF(filename)
if wersjaFormatu[0]:
FreeCAD.Console.PrintMessage("The file was created in {0}.\n".format(wersjaFormatu[1]))
importBRD(filename, wersjaFormatu[0])
else:
FreeCAD.Console.PrintError("Incompatible file format.\n")
QtGui.QApplication.restoreOverrideCursor()
评论列表
文章目录