diff --git a/OpenNest.IO/CadImportOptions.cs b/OpenNest.IO/CadImportOptions.cs index 48e2a58..1047365 100644 --- a/OpenNest.IO/CadImportOptions.cs +++ b/OpenNest.IO/CadImportOptions.cs @@ -16,6 +16,11 @@ namespace OpenNest.IO /// public bool DetectBends { get; set; } = true; + /// + /// When true, detects and identifies title block entities during import. Default true. + /// + public bool DetectTitleBlock { get; set; } = true; + /// /// Override the drawing name. Null = filename without extension. /// diff --git a/OpenNest.IO/CadImportResult.cs b/OpenNest.IO/CadImportResult.cs index f3d7555..ff159ca 100644 --- a/OpenNest.IO/CadImportResult.cs +++ b/OpenNest.IO/CadImportResult.cs @@ -45,5 +45,10 @@ namespace OpenNest.IO /// that need access to non-geometry entities (e.g., text annotations). /// public CadDocument Document { get; set; } + + /// + /// GUIDs of entities identified as part of the title block during import. + /// + public HashSet TitleBlockEntityIds { get; set; } } }