From 04165b22d116dc855370d2e0e725590c56524364 Mon Sep 17 00:00:00 2001 From: Stefan <2252537-stefan_test@users.noreply.gitlab.com> Date: Wed, 22 Feb 2023 23:10:40 +0000 Subject: [PATCH] Altium Schematic Import: add note that blanket's are not yet supported --- eeschema/sch_plugins/altium/altium_parser_sch.h | 1 + eeschema/sch_plugins/altium/sch_altium_plugin.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/eeschema/sch_plugins/altium/altium_parser_sch.h b/eeschema/sch_plugins/altium/altium_parser_sch.h index 97ca4cdbfb..70898cf789 100644 --- a/eeschema/sch_plugins/altium/altium_parser_sch.h +++ b/eeschema/sch_plugins/altium/altium_parser_sch.h @@ -103,6 +103,7 @@ enum class ALTIUM_SCH_RECORD HARNESS_ENTRY = 216, HARNESS_TYPE = 217, SIGNAL_HARNESS = 218, + BLANKET = 225, RECORD_226 = 226, }; diff --git a/eeschema/sch_plugins/altium/sch_altium_plugin.cpp b/eeschema/sch_plugins/altium/sch_altium_plugin.cpp index e8c694edab..56eebb1cf6 100644 --- a/eeschema/sch_plugins/altium/sch_altium_plugin.cpp +++ b/eeschema/sch_plugins/altium/sch_altium_plugin.cpp @@ -496,6 +496,10 @@ void SCH_ALTIUM_PLUGIN::ParseAdditional( const ALTIUM_COMPOUND_FILE& aAltiumSchF ParseSignalHarness( properties ); break; + case ALTIUM_SCH_RECORD::BLANKET: + m_reporter->Report( _( "Blanket not currently supported." ), RPT_SEVERITY_ERROR ); + break; + default: m_reporter->Report( wxString::Format( _( "Unknown or unexpected record ID %d found " "inside \"Additional\" section." ),