diff --git a/src/IxMilia.Dxf.Generator/EntityGenerator.cs b/src/IxMilia.Dxf.Generator/EntityGenerator.cs
index 58531da8..fc9b0469 100644
--- a/src/IxMilia.Dxf.Generator/EntityGenerator.cs
+++ b/src/IxMilia.Dxf.Generator/EntityGenerator.cs
@@ -327,7 +327,7 @@ private void OutputSingleDxfEntity(XElement entity)
AppendXData(entity);
AppendDefaultConstructor(entity);
AppendParameterizedConstructors(entity);
- AppendCopyConstructor(entity, "DxfEntity");
+ AppendCopyConstructor(entity);
AppendInitializeMethod(entity, BaseClass(entity, "") == "DxfDimensionBase" ? $"this.DimensionType = DxfDimensionType.{Tag(entity)};" : null);
AppendAddValuePairsMethod(entity);
AppendTrySetPairMethod(entity);
diff --git a/src/IxMilia.Dxf.Generator/GeneratorBase.cs b/src/IxMilia.Dxf.Generator/GeneratorBase.cs
index d5cfa80f..86d6271e 100644
--- a/src/IxMilia.Dxf.Generator/GeneratorBase.cs
+++ b/src/IxMilia.Dxf.Generator/GeneratorBase.cs
@@ -69,7 +69,7 @@ public void AppendAddValuePairsMethod(XElement item)
}
}
- public void AppendCopyConstructor(XElement item, string baseClass)
+ public void AppendCopyConstructor(XElement item)
{
var copyConstructorAccessibility = CopyConstructor(item);
if (copyConstructorAccessibility != null)
@@ -87,6 +87,7 @@ public void AppendCopyConstructor(XElement item, string baseClass)
AppendLine(" : base(other)");
AppendLine("{");
IncreaseIndent();
+ AppendLine("CopyManualValues(other);");
AppendLine("((IDxfHasXDataHidden)this).XDataHidden = ((IDxfHasXDataHidden)other).XDataHidden;");
foreach (var property in GetPropertiesAndPointers(item))
{
diff --git a/src/IxMilia.Dxf.Generator/ObjectGenerator.cs b/src/IxMilia.Dxf.Generator/ObjectGenerator.cs
index fa255d35..ce24407e 100644
--- a/src/IxMilia.Dxf.Generator/ObjectGenerator.cs
+++ b/src/IxMilia.Dxf.Generator/ObjectGenerator.cs
@@ -278,7 +278,7 @@ private void OutputSingleDxfObject(XElement obj)
AppendXData(obj);
AppendDefaultConstructor(obj);
AppendParameterizedConstructors(obj);
- AppendCopyConstructor(obj, "DxfObject");
+ AppendCopyConstructor(obj);
AppendInitializeMethod(obj);
AppendAddValuePairsMethod(obj);
diff --git a/src/IxMilia.Dxf.Generator/Specs/EntitiesSpec.xml b/src/IxMilia.Dxf.Generator/Specs/EntitiesSpec.xml
index 63e4b402..2a6ca57c 100644
--- a/src/IxMilia.Dxf.Generator/Specs/EntitiesSpec.xml
+++ b/src/IxMilia.Dxf.Generator/Specs/EntitiesSpec.xml
@@ -471,6 +471,23 @@
DefinitionPoint3
+
+
+
+
+
+
+
+
+ TextMidPoint
+
+ FirstExtensionLineP1
+ FirstExtensionLineP2
+ SecondExtensionLineP1
+ SecondExtensionLineP2
+ DimensionLineArcLocation
+
+