public void WritePoint(DL_Writer dw, DL_PointData data, DL_Attributes attrib) { dw.Entity("POINT"); dw.DxfString(100, "AcDbEntity"); dw.EntityAttributes(attrib); dw.DxfString(100, "AcDbPoint"); dw.Coord(DL_Codes.POINT_COORD_CODE, data.x, data.y, data.z); }
public void writePoint(DL_Writer dw, DL_PointData data, DL_Attributes attrib) { dw.entity("POINT"); if (_version == DL_Codes.VER_2000) { dw.dxfString(100, "AcDbEntity"); dw.dxfString(100, "AcDbPoint"); } dw.entityAttributes(attrib); dw.coord(DL_Codes.POINT_COORD_CODE, data.x, data.y, data.z); }