.NET
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
SAving DWG in Autocad 2013
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I use this code for Autocad 2010 to 2012
{code}
public void MySave()
{
Document doc = Application.....MdiActiveDocument;
object oAcadDoc = doc.AcadDocument;
oAcadDoc.GetType().InvokeMember( "Save",
BindingFlags.InvokeMethod, null, oAcadDoc, null);
}
But this not function in Autocad 2013.
Can you help me ?
Solved! Go to Solution.
Re: SAving DWG in Autocad 2013
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
>> But this not function in Autocad 2013.
Why? What happens?
- alfred -
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Re: SAving DWG in Autocad 2013
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I convert it in :
1> Dim disegnoAcad As Object = _
2> Application.DocumentManager.MdiActiveDocument
3>
4> disegno.GetType.InvokeMember( _
5> "Save", Reflection.BindingFlags.InvokeMethod, _
6> Nothing, disegnoAcad, Nothing _
7> )
But on row 7 recive error :
Metod not find
Autodesk.AutoCAD.ApplicationServices.Document.Save
Re: SAving DWG in Autocad 2013
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
