|
|
@ -286,16 +286,19 @@ export class AlignedDimension extends Entity
|
|
|
|
this.m_ArmP2.fromArray(file.Read());
|
|
|
|
this.m_ArmP2.fromArray(file.Read());
|
|
|
|
this.m_FootP1.fromArray(file.Read());
|
|
|
|
this.m_FootP1.fromArray(file.Read());
|
|
|
|
this.m_FootP2.fromArray(file.Read());
|
|
|
|
this.m_FootP2.fromArray(file.Read());
|
|
|
|
|
|
|
|
if (ver > 1)
|
|
|
|
|
|
|
|
this.m_TextRotation = file.Read();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//对象将自身数据写入到文件.
|
|
|
|
//对象将自身数据写入到文件.
|
|
|
|
WriteFile(file: CADFiler)
|
|
|
|
WriteFile(file: CADFiler)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
super.WriteFile(file);
|
|
|
|
super.WriteFile(file);
|
|
|
|
file.Write(1);
|
|
|
|
file.Write(2);
|
|
|
|
file.Write(this.m_ArmP1.toArray());
|
|
|
|
file.Write(this.m_ArmP1.toArray());
|
|
|
|
file.Write(this.m_ArmP2.toArray());
|
|
|
|
file.Write(this.m_ArmP2.toArray());
|
|
|
|
file.Write(this.m_FootP1.toArray());
|
|
|
|
file.Write(this.m_FootP1.toArray());
|
|
|
|
file.Write(this.m_FootP2.toArray());
|
|
|
|
file.Write(this.m_FootP2.toArray());
|
|
|
|
|
|
|
|
file.Write(this.m_TextRotation);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//#endregion
|
|
|
|
//#endregion
|
|
|
|
}
|
|
|
|
}
|
|
|
|