Classes | |
class | BillLine |
No documentation available. More... | |
class | BOM |
No documentation available. More... | |
class | Drawing |
No documentation available. More... | |
class | DrawingReference |
No documentation available. More... | |
class | SheetRevision |
No documentation available. More... |
def Drawing.AdvanceMillPlotOrder | ( | args | ) |
def Drawing.DescriptionPlotOrder | ( | args | ) |
def Drawing.DetailExport | ( | arg1, | |
arg2 | |||
) |
def Drawing.DetailSheetExport | ( | arg1, | |
arg2 | |||
) |
def Drawing.ErectionSheetExport | ( | arg1, | |
arg2 | |||
) |
def Drawing.ErectionViewExport | ( | arg1, | |
arg2 | |||
) |
def Drawing.ExportPDF | ( | drawings, | |
filename, | |||
show_abm, | |||
plot_comments, | |||
plot_revision | |||
) |
Example: ExportPDF(GetAllDetails(), "all_details.pdf", False, False, False)
def Drawing.GatherSheetExport | ( | arg1, | |
arg2 | |||
) |
def Drawing.GetAllDetailNames | ( | args | ) |
def Drawing.GetAllDetailReferrerNames | ( | args | ) |
def Drawing.GetAllDetails | ( | args | ) |
def Drawing.GetAllDetailSheetNames | ( | args | ) |
def Drawing.GetAllDetailSheets | ( | args | ) |
def Drawing.GetAllErectionSheetNames | ( | args | ) |
def Drawing.GetAllErectionSheets | ( | args | ) |
def Drawing.GetAllErectionViewNames | ( | args | ) |
def Drawing.GetAllErectionViewReferrerNames | ( | args | ) |
def Drawing.GetAllErectionViews | ( | args | ) |
def Drawing.GetAllGatherSheetNames | ( | args | ) |
def Drawing.GetAllGatherSheets | ( | args | ) |
def Drawing.GetAllJobStandardReferrerNames | ( | args | ) |
def Drawing.GetAllSubmaterial | ( | args | ) |
def Drawing.GetAllSubmaterialNames | ( | args | ) |
def Drawing.GetAllSubmaterialReferrerNames | ( | args | ) |
def Drawing.GetDrawingPath | ( | arg1, | |
arg2 | |||
) |
def Drawing.GlobalStandardExport | ( | arg1, | |
arg2 | |||
) |
def Drawing.GradePlotOrder | ( | args | ) |
def Drawing.IncrementSheetRevisionAlphabetically | ( | sheet_reference, | |
date_str = '**NOT SET**' , |
|||
description = '' , |
|||
user1 = '' , |
|||
user2 = '' , |
|||
user3 = '' , |
|||
user4 = '' |
|||
) |
Return the new revisions's designation if the sheet could be locked and revision created. Example: from Drawing import ( GetAllDetailSheetNames , GetAllDetailSheets , Drawing , IncrementSheetRevisionAlphabetically ) def GetRevisionDesignations(dwg): return [rev.designation for rev in dwg.GetRevisions()] for _, sht_ref in zip(GetAllDetailSheetNames(), GetAllDetailSheets()): orig_designations = GetRevisionDesignations(Drawing(sht_ref)) new_designation = IncrementSheetRevisionAlphabetically(sht_ref, 'now') assert GetRevisionDesignations(Drawing(sht_ref)) == orig_designations + [new_designation] Return the new revisions's designation if the sheet could be locked and revision created. Example: from Drawing import ( GetAllDetailSheetNames , GetAllDetailSheets , Drawing , IncrementSheetRevisionAlphabetically ) def GetRevisionDesignations(dwg): return [rev.designation for rev in dwg.GetRevisions()] for _, sht_ref in zip(GetAllDetailSheetNames(), GetAllDetailSheets()): orig_designations = GetRevisionDesignations(Drawing(sht_ref)) new_designation = IncrementSheetRevisionAlphabetically(sht_ref, 0) assert GetRevisionDesignations(Drawing(sht_ref)) == orig_designations + [new_designation]
def Drawing.IncrementSheetRevisionManually | ( | sheet_reference, | |
designation, | |||
date_str = '**NOT SET**' , |
|||
description = '' , |
|||
user1 = '' , |
|||
user2 = '' , |
|||
user3 = '' , |
|||
user4 = '' |
|||
) |
Increment the sheet with the specificed designation. Return the new revisions's designation if the sheet could be locked and revision created. Example: from Drawing import ( GetAllDetailSheetNames , GetAllDetailSheets , Drawing , IncrementSheetRevisionManually ) def GetRevisionDesignations(dwg): return [rev.designation for rev in dwg.GetRevisions()] for _, sht_ref in zip(GetAllDetailSheetNames(), GetAllDetailSheets()): orig_designations = GetRevisionDesignations(Drawing(sht_ref)) new_designation = IncrementSheetRevisionManually(sht_ref, '1', 0) assert GetRevisionDesignations(Drawing(sht_ref)) == orig_designations + [new_designation] Increment the sheet with the specificed designation. Return the new revisions's designation if the sheet could be locked and revision created. Example: from Drawing import ( GetAllDetailSheetNames , GetAllDetailSheets , Drawing , IncrementSheetRevisionManually ) def GetRevisionDesignations(dwg): return [rev.designation for rev in dwg.GetRevisions()] for _, sht_ref in zip(GetAllDetailSheetNames(), GetAllDetailSheets()): orig_designations = GetRevisionDesignations(Drawing(sht_ref)) new_designation = IncrementSheetRevisionManually(sht_ref, '1', 'now') assert GetRevisionDesignations(Drawing(sht_ref)) == orig_designations + [new_designation]
def Drawing.IncrementSheetRevisionNumerically | ( | sheet_reference, | |
date_str = '**NOT SET**' , |
|||
description = '' , |
|||
user1 = '' , |
|||
user2 = '' , |
|||
user3 = '' , |
|||
user4 = '' |
|||
) |
Return the new revisions's designation if the sheet could be locked and revision created. Example: from Drawing import ( GetAllDetailSheetNames , GetAllDetailSheets , Drawing , IncrementSheetRevisionNumerically ) def GetRevisionDesignations(dwg): return [rev.designation for rev in dwg.GetRevisions()] for _, sht_ref in zip(GetAllDetailSheetNames(), GetAllDetailSheets()): orig_designations = GetRevisionDesignations(Drawing(sht_ref)) new_designation = IncrementSheetRevisionNumerically(sht_ref, 'now') assert GetRevisionDesignations(Drawing(sht_ref)) == orig_designations + [new_designation] Return the new revisions's designation if the sheet could be locked and revision created. Example: from Drawing import ( GetAllDetailSheetNames , GetAllDetailSheets , Drawing , IncrementSheetRevisionNumerically ) def GetRevisionDesignations(dwg): return [rev.designation for rev in dwg.GetRevisions()] for _, sht_ref in zip(GetAllDetailSheetNames(), GetAllDetailSheets()): orig_designations = GetRevisionDesignations(Drawing(sht_ref)) new_designation = IncrementSheetRevisionNumerically(sht_ref, 0) assert GetRevisionDesignations(Drawing(sht_ref)) == orig_designations + [new_designation]
def Drawing.JobStandardExport | ( | arg1, | |
arg2 | |||
) |
def Drawing.LengthPlotOrder | ( | args | ) |
def Drawing.LineNumberPlotOrder | ( | args | ) |
def Drawing.MinorMarkPlotOrder | ( | args | ) |
def Drawing.PiecemarkPlotOrder | ( | args | ) |
def Drawing.RemarksPlotOrder | ( | args | ) |
def Drawing.RevisionPlotOrder | ( | args | ) |
def Drawing.Route1PlotOrder | ( | args | ) |
def Drawing.Route2PlotOrder | ( | args | ) |
def Drawing.Route3PlotOrder | ( | args | ) |
def Drawing.SequencePlotOrder | ( | args | ) |
def Drawing.SequenceQuantityPlotOrder | ( | args | ) |
def Drawing.SubmaterialExport | ( | arg1, | |
arg2 | |||
) |
def Drawing.TotalAreaPlotOrder | ( | args | ) |
def Drawing.TotalQuantityPlotOrder | ( | args | ) |
def Drawing.TotalWeightPlotOrder | ( | args | ) |
def Drawing.UnitAreaPlotOrder | ( | args | ) |
def Drawing.UnitQuantityPlotOrder | ( | args | ) |
def Drawing.UnitWeightPlotOrder | ( | args | ) |