Added ability to extract PCB revision date in addition to BoM revision date

This commit is contained in:
Oliver 2016-05-15 16:28:56 +10:00
parent ebf679392d
commit dc0669e363
1 changed files with 5 additions and 0 deletions

View File

@ -425,6 +425,11 @@ class netlist():
def getSheet(self):
return self.design.getChild("sheet")
def getSheetDate(self):
sheet= self.getSheet()
if sheet == None: return ""
return sheet.get("date")
def getVersion(self):
"""Return the verison of the sheet info"""
sheet = self.getSheet()