コード例 #1
0
 def __init__(self, commandArray, msgFunction):
     BaseCommand.__init__(self, None)
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception=[]
     self.outputMsg=msgFunction
     self.message=["Print the help Press enter to ally the command "]
     self.commandNames=list(commandArray.keys())
コード例 #2
0
 def __init__(self, application, msgFunction):
     BaseCommand.__init__(self, None)
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception=[]
     self.outputMsg=msgFunction
     self.message=["Press enter to start the test"]
     self.__pyCadApplication=application
コード例 #3
0
 def __init__(self, application, msgFunction):
     BaseCommand.__init__(self, None)
     self.__application=application
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception=[]
     self.message=["Press enter to perform the command"]
     self.outputMsg=msgFunction
コード例 #4
0
 def __init__(self, documents, msgFunction):
     BaseCommand.__init__(self, None)
     self.__docuemnts=documents
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception=[]
     self.message=["Press enter to perform the command"]
     self.outputMsg=msgFunction
コード例 #5
0
ファイル: customevent.py プロジェクト: scrum-1/PythonCAD_py3
 def __init__(self, document, msgFucntion):
     BaseCommand.__init__(self, document)
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.outputMsg = msgFucntion
     self.exception = [ExcText]
     self.message = ["Give Me the Document Type Enter for All"]
コード例 #6
0
 def __init__(self, document, msgFunction ):
     BaseCommand.__init__(self, document)
     self.outputMsg=msgFunction
     self.exception=[ExcText]
     self.message=["Give me the entity id"]
コード例 #7
0
 def __init__(self, document):
     BaseCommand.__init__(self, document)
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception=[ExcText]
     self.message=["Give Me the Style Name"]
コード例 #8
0
 def __init__(self, application):
     BaseCommand.__init__(self, None)
     self.__application=application
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception=[ExcText]
     self.message=["Give Me the Document Name"]
コード例 #9
0
 def __init__(self, document, msgFucntion):
     BaseCommand.__init__(self, document)
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.outputMsg=msgFucntion
     self.exception=[ExcText]
     self.message=["Give Me the Document Type Enter for All"]
コード例 #10
0
 def __init__(self, document, msgFunction):
     BaseCommand.__init__(self, document)
     self.outputMsg = msgFunction
     self.exception = [ExcText]
     self.message = ["Give me the entity id"]
コード例 #11
0
 def __init__(self, document):
     BaseCommand.__init__(self, document)
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception = [ExcText]
     self.message = ["Give Me the Style Name"]
コード例 #12
0
 def __init__(self, application):
     BaseCommand.__init__(self, None)
     self.__application = application
     #PyCadBaseCommand.__exception=[ExcPoint, ExcPoint]
     self.exception = [ExcText]
     self.message = ["Give Me the Document Name"]