|
KiCad PCB EDA Suite
|
Go to the source code of this file.
Classes | |
| struct | ALTIUM_VARIANT_ENTRY |
| A single component variation within an Altium project variant. More... | |
| struct | ALTIUM_PROJECT_VARIANT |
| A project-level assembly variant parsed from an Altium .PrjPcb file. More... | |
Functions | |
| std::vector< ALTIUM_PROJECT_VARIANT > | ParseAltiumProjectVariants (const wxString &aPrjPcbPath) |
| Parse all [ProjectVariantN] sections from an Altium .PrjPcb project file. | |
| std::map< wxString, wxString > | ParseAltiumProjectParameters (const wxString &aPrjPcbPath) |
| Parse all [ParameterN] sections from an Altium .PrjPcb project file. | |
| KIID | AltiumUniqueIdToKiid (const wxString &aUniqueId) |
| Derive a stable KIID from an Altium component unique id. | |
| KIID AltiumUniqueIdToKiid | ( | const wxString & | aUniqueId | ) |
Derive a stable KIID from an Altium component unique id.
Altium unique ids are not hexadecimal, so KIID's string constructor cannot parse them and returns a fresh random uuid each call. This maps equal id strings to equal KIIDs.
| aUniqueId | Altium component unique id. |
Definition at line 34 of file altium_project_variants.cpp.
Referenced by ApplyAltiumProjectVariantsToBoard(), and ALTIUM_PCB::ParseComponents6Data().
| std::map< wxString, wxString > ParseAltiumProjectParameters | ( | const wxString & | aPrjPcbPath | ) |
Parse all [ParameterN] sections from an Altium .PrjPcb project file.
Altium stores project-wide special strings (PCB_Revision, Company_Name, ...) here as Name/Value pairs. They are what board text such as ".PCB_Revision" resolves against, so they map to KiCad project text variables.
| aPrjPcbPath | Full path to the .PrjPcb file. |
Definition at line 132 of file altium_project_variants.cpp.
Referenced by PCB_IO_ALTIUM_CIRCUIT_MAKER::LoadBoard(), PCB_IO_ALTIUM_CIRCUIT_STUDIO::LoadBoard(), PCB_IO_ALTIUM_DESIGNER::LoadBoard(), and PCB_IO_SOLIDWORKS::LoadBoard().
| std::vector< ALTIUM_PROJECT_VARIANT > ParseAltiumProjectVariants | ( | const wxString & | aPrjPcbPath | ) |
Parse all [ProjectVariantN] sections from an Altium .PrjPcb project file.
| aPrjPcbPath | Full path to the .PrjPcb file. |
Definition at line 175 of file altium_project_variants.cpp.
References config, ALTIUM_PROJECT_VARIANT::description, ALTIUM_VARIANT_ENTRY::designator, ALTIUM_PROJECT_VARIANT::name, ParseVariationString(), and ALTIUM_PROJECT_VARIANT::variations.
Referenced by PCB_IO_ALTIUM_CIRCUIT_MAKER::LoadBoard(), PCB_IO_ALTIUM_CIRCUIT_STUDIO::LoadBoard(), PCB_IO_ALTIUM_DESIGNER::LoadBoard(), PCB_IO_SOLIDWORKS::LoadBoard(), and SCH_IO_ALTIUM::LoadSchematicFile().