Skip to content

Commit f84cb1d

Browse files
authored
Merge pull request DomCR#836 from DomCR/dxf-minor-objects
AcdbPlaceHolder n ImageDefinition
2 parents 28e6ae1 + 8a3227b commit f84cb1d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/ACadSharp/ACadSharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<PropertyGroup>
1818
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1919
<PackageReadmeFile>README.md</PackageReadmeFile>
20-
<Version>3.2.27</Version>
20+
<Version>3.2.28</Version>
2121
<PackageOutputPath>../nupkg</PackageOutputPath>
2222
</PropertyGroup>
2323

src/ACadSharp/IO/DXF/DxfStreamReader/DxfObjectsSectionReader.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ private CadTemplate readObject()
5757
{
5858
switch (this._reader.ValueAsString)
5959
{
60+
case DxfFileToken.ObjectPlaceholder:
61+
return this.readObjectCodes<AcdbPlaceHolder>(new CadNonGraphicalObjectTemplate(new AcdbPlaceHolder()), this.readObjectSubclassMap);
6062
case DxfFileToken.ObjectDBColor:
6163
return this.readObjectCodes<BookColor>(new CadNonGraphicalObjectTemplate(new BookColor()), this.readBookColor);
6264
case DxfFileToken.ObjectDictionary:
@@ -69,6 +71,8 @@ private CadTemplate readObject()
6971
return this.readObjectCodes<PlotSettings>(new CadNonGraphicalObjectTemplate(new PlotSettings()), this.readPlotSettings);
7072
case DxfFileToken.ObjectEvalGraph:
7173
return this.readObjectCodes<EvaluationGraph>(new CadEvaluationGraphTemplate(), this.readEvaluationGraph);
74+
case DxfFileToken.ObjectImageDefinition:
75+
return this.readObjectCodes<ImageDefinition>(new CadNonGraphicalObjectTemplate(new ImageDefinition()), this.readObjectSubclassMap);
7276
case DxfFileToken.ObjectDictionaryVar:
7377
return this.readObjectCodes<DictionaryVariable>(new CadTemplate<DictionaryVariable>(new DictionaryVariable()), this.readObjectSubclassMap);
7478
case DxfFileToken.ObjectPdfDefinition:

src/ACadSharp/Objects/RasterVariables.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class RasterVariables : NonGraphicalObject
4242
/// AutoCAD units for inserting images. <br/>
4343
/// This is what one AutoCAD unit is equal to for the purpose of inserting and scaling images with an associated resolution.
4444
/// </summary>
45-
[DxfCodeValue(92)]
45+
[DxfCodeValue(72)]
4646
public ImageUnits Units { get; set; }
4747

4848
/// <inheritdoc/>

0 commit comments

Comments
 (0)