def createNextCell(self, cellID=None): if cellID is None: cellID = nextID(self.cells) cell = self.ownerComponent.copy(self.cellTemplate, name=f'cell{cellID}') cell.par.display = 1 self.cells.append(cell) layoutComps(self.cells, columns=1) return cell
def createNextHDivider(self, dividerID=None): if dividerID is None: dividerID = nextID(self.hDividers) template = self.hDividerTemplate divider = self.ownerComponent.copy(template, name=f'hDivider{dividerID}') divider.par.display = 1 self.hDividers.append(divider) layoutComps(self.hDividers, columns=1, xBase=400) return divider
def layoutDeckContainer(self): layoutComps([d['op'] for d in self.decks], columns=3)
def layoutLayerContainer(self): layoutComps(self.layers.values(), columns=1)
def updatEffectNetworkPositions(self): layoutComps(self.effects.values())
def updateClipNetworkPositions(self): layoutComps(self.clipComps.values())
def updateSectionNetowrkPositions(self): layoutComps(self.sections.values(), columns=1)