Skip to content

Commit

Permalink
- CadDimensionStyleTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
mme1950 committed Dec 15, 2023
1 parent d244ff1 commit 8100757
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ACadSharp/IO/Templates/CadDimensionStyleTemplate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ public override void Build(CadDocumentBuilder builder)
this.CadObject.Style = style;
}

if (builder.TryGetCadObject(this.DIMLDRBLK, out Block leaderArrow))
if (builder.TryGetCadObject(this.DIMLDRBLK, out BlockRecord leaderArrow))
{
this.CadObject.LeaderArrow = leaderArrow;
}

if (builder.TryGetCadObject(this.DIMBLK1, out Block dimArrow1))
if (builder.TryGetCadObject(this.DIMBLK1, out BlockRecord dimArrow1))
{
this.CadObject.DimArrow1 = dimArrow1;
}

if (builder.TryGetCadObject(this.DIMBLK2, out Block dimArrow2))
if (builder.TryGetCadObject(this.DIMBLK2, out BlockRecord dimArrow2))
{
this.CadObject.DimArrow2 = dimArrow2;
}
Expand Down

0 comments on commit 8100757

Please sign in to comment.