Photonic Design Automation
Module reference: photonforge.pda
photonforge.pda.ProjectLive view of a PDA project or library document.
Result Classes
Section titled “Result Classes”photonforge.pda.AttachmentStatusWhat a project holds, and which of its files no longer describe it.photonforge.pda.BoundQueryA saved pointer attached to a component, and what it points at.photonforge.pda.EditOne change in a document’s chain, with the state it produced.photonforge.pda.EditLogThe chain behind one document, oldest first.photonforge.pda.HistoryAn ordered view of the versions and tags on one or more documents.photonforge.pda.HistoryEntryOne version or tag, as a plain dict with convenience accessors.photonforge.pda.ProjectTreeWhat a project holds, as a tree of nodes. A mapping over its plain data.photonforge.pda.TraceThe result of walking one attachment back to a component.photonforge.pda.TraceabilityMatrixWhich file belongs to which version: one row per file, one column per version.photonforge.pda.VersionWhat one call toProject.add_versiondid.photonforge.pda.WatcherA running watch. Callcancelwhen you are done with it.
Functions
Section titled “Functions”photonforge.pda.create_projectCreate a new PDA project from current PhotonForge configuration.photonforge.pda.initInitialize global clients.photonforge.pda.last_timing_reportReturn the most recent rendered PDA timing report.photonforge.pda.list_librariesList versioned project libraries with optional metadata filters.photonforge.pda.list_projectsList projects matching metadata, sharing, and retirement filters.photonforge.pda.load_projectLoad one project by name or document reference.photonforge.pda.restore_projectRestore a previously retired project document.photonforge.pda.retire_projectRetire a project document by name or identifier.photonforge.pda.stopClose and clear global clients.photonforge.pda.user_infoReturn current user ID and organization ID.