For AAMA layer 1 must be default.
--HG-- branch : feature
This commit is contained in:
parent
f20549d310
commit
9ae393a462
|
@ -277,6 +277,11 @@ void dx_iface::AddAAMALayers()
|
||||||
// cData.layers.push_back(layer);
|
// cData.layers.push_back(layer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void dx_iface::AddAAMAHeaderData()
|
||||||
|
{
|
||||||
|
cData.headerC.addStr("$CLAYER", "1", 8);
|
||||||
|
}
|
||||||
|
|
||||||
void dx_iface::AddDefLayers()
|
void dx_iface::AddDefLayers()
|
||||||
{
|
{
|
||||||
DRW_Layer defLayer;
|
DRW_Layer defLayer;
|
||||||
|
|
|
@ -123,6 +123,7 @@ public:
|
||||||
void AddQtLTypes();
|
void AddQtLTypes();
|
||||||
void AddDefLayers();
|
void AddDefLayers();
|
||||||
void AddAAMALayers();
|
void AddAAMALayers();
|
||||||
|
void AddAAMAHeaderData();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Q_DISABLE_COPY(dx_iface)
|
Q_DISABLE_COPY(dx_iface)
|
||||||
|
|
|
@ -613,6 +613,7 @@ bool VDxfEngine::ExportToAAMA(const QVector<VLayoutPiece> &details)
|
||||||
}
|
}
|
||||||
|
|
||||||
input = QSharedPointer<dx_iface>(new dx_iface(fileName.toStdString(), m_version, varMeasurement, varInsunits));
|
input = QSharedPointer<dx_iface>(new dx_iface(fileName.toStdString(), m_version, varMeasurement, varInsunits));
|
||||||
|
input->AddAAMAHeaderData();
|
||||||
if (m_version > DRW::AC1009)
|
if (m_version > DRW::AC1009)
|
||||||
{
|
{
|
||||||
input->AddDefLayers();
|
input->AddDefLayers();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user