We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First, big thank you for your ACADSHARP.
I'm trying to use it to convert DWG to ASCII DXF...
I've use this code :
const string _file = "../../../../samples/sample_AC1032.dwg"; const string _filedxf = "../../../../samples/sample_AC1032_mlc.dxf";
static void Main(string[] args) { CadDocument doc; using (DwgReader reader = new DwgReader(_file)) { doc = reader.Read(); }
//exploreDocument(doc); using (DxfWriter writer = new DxfWriter(_filedxf, doc,false)) { writer.OnNotification += NotificationHelper.LogConsoleNotification; writer.Write(); }
}
The dxf created is ASCII one... how to select the ACAD version of DXF if I want one, Please ?
With best regards, MLC
The text was updated successfully, but these errors were encountered:
Hi @mlcvista,
If you want to save the document in a different version just change the version in the header:
//Example doc.Header.Version = ACadVerson.AC1018;
Thanks for your support.
Sorry, something went wrong.
Great ! This project is very good ! a must one :)
No branches or pull requests
First, big thank you for your ACADSHARP.
I'm trying to use it to convert DWG to ASCII DXF...
I've use this code :
const string _file = "../../../../samples/sample_AC1032.dwg";
const string _filedxf = "../../../../samples/sample_AC1032_mlc.dxf";
static void Main(string[] args)
{
CadDocument doc;
using (DwgReader reader = new DwgReader(_file))
{
doc = reader.Read();
}
}
The dxf created is ASCII one... how to select the ACAD version of DXF if I want one, Please ?
With best regards,
MLC
The text was updated successfully, but these errors were encountered: