diff --git a/src/DatabaseServices/Database.ts b/src/DatabaseServices/Database.ts index 10ecf5de2..71ef79bf0 100644 --- a/src/DatabaseServices/Database.ts +++ b/src/DatabaseServices/Database.ts @@ -150,7 +150,7 @@ export class Database this.DefaultMaterial.Update(); HostApplicationServices.DefaultMeshMaterial = this.DefaultMaterial.Material; - HostApplicationServices.CurrentDimStyle = (this.DimStyleTable.Current.Object as DimStyleRecord).Id; + HostApplicationServices.CurrentDimStyle = this.DimStyleTable.Current; } Destroy()