add warning for importing MTEXT including columns
@@ -26,6 +26,7 @@ if TYPE_CHECKING:
Dimension,
Viewport,
Linetype,
+ MText,
)
logger = logging.getLogger("ezdxf")
@@ -314,6 +315,12 @@ class Importer:
except AttributeError:
pass
+ def _import_mtext(self, mtext: "MText"):
+ if mtext.has_columns:
+ logger.warning(
+ f"Importing MTEXT with columns may not work as expected."
+ )
+
def _import_insert(self, insert: "Insert"):
self.imported_inserts.append(insert)
# remove all possible source drawing dependencies from sub entities
