<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help with AuditInfo constructor in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/help-with-auditinfo-constructor/m-p/2744657#M64287</link>
    <description>&lt;P&gt;See the native ObjectARX docs for AcDbDatabase::audit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not implemented.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can still use CommandLine to run AUDIT, but isn't that command&lt;/P&gt;&lt;P&gt;indeterminate (e.g., you can't anticipate what prompts it will issue) ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For batch processing, you can use the classes in this sample,&lt;/P&gt;&lt;P&gt;which also&amp;nbsp;solves the syncronous command problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A href="http://www.caddzone.com/AcBatchProcessSample.zip" target="_blank" rel="nofollow"&gt;http://www.caddzone.com/AcBatchProcessSample.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Aug 2010 13:59:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-08-13T13:59:10Z</dc:date>
    <item>
      <title>Help with AuditInfo constructor</title>
      <link>https://forums.autodesk.com/t5/net-forum/help-with-auditinfo-constructor/m-p/2744481#M64285</link>
      <description>&lt;P&gt;Can anyone help me with the constructor for the AuditInfo please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I need to use&amp;nbsp;AuditInfo.Create(type as system.type,unamanagedPointer as System.IntPtr, autoDelete as boolean) but I don't know what I should pass to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can't do:&lt;/P&gt;&lt;PRE&gt;Dim ai As New AuditInfo()&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;as "Sub New is not accessible in this context because it is 'Friend'"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've had a look around but can't find a sample anywhere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2010 10:32:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/help-with-auditinfo-constructor/m-p/2744481#M64285</guid>
      <dc:creator>Paulio</dc:creator>
      <dc:date>2010-08-13T10:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AuditInfo constructor</title>
      <link>https://forums.autodesk.com/t5/net-forum/help-with-auditinfo-constructor/m-p/2744515#M64286</link>
      <description>&lt;P&gt;OK. Got a bit further.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After a bit of (un)educated guessing I came up with this:&lt;/P&gt;&lt;PRE&gt;            Dim ai As AuditInfo = AuditInfo.Create(GetType(AuditInfo), db.UnmanagedObject, True)
            db.Audit(ai)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;but now I'm getting an 'eNotImplementedYet' error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I finally figure out the constructor and then find out I can't use it yet! (unless I still haven't got the constructor right)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there no way to programmatically audit a database? I would use Tony T's commandline&amp;nbsp;but can't becuse I'm looping through drawings in a folder which requires my commandmethod to have the sessionflags.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2010 11:36:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/help-with-auditinfo-constructor/m-p/2744515#M64286</guid>
      <dc:creator>Paulio</dc:creator>
      <dc:date>2010-08-13T11:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AuditInfo constructor</title>
      <link>https://forums.autodesk.com/t5/net-forum/help-with-auditinfo-constructor/m-p/2744657#M64287</link>
      <description>&lt;P&gt;See the native ObjectARX docs for AcDbDatabase::audit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not implemented.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can still use CommandLine to run AUDIT, but isn't that command&lt;/P&gt;&lt;P&gt;indeterminate (e.g., you can't anticipate what prompts it will issue) ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For batch processing, you can use the classes in this sample,&lt;/P&gt;&lt;P&gt;which also&amp;nbsp;solves the syncronous command problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A href="http://www.caddzone.com/AcBatchProcessSample.zip" target="_blank" rel="nofollow"&gt;http://www.caddzone.com/AcBatchProcessSample.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2010 13:59:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/help-with-auditinfo-constructor/m-p/2744657#M64287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-13T13:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AuditInfo constructor</title>
      <link>https://forums.autodesk.com/t5/net-forum/help-with-auditinfo-constructor/m-p/2744697#M64288</link>
      <description>&lt;P&gt;Awesome! Thanks Tony.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd love to know how it works though!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2010 14:28:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/help-with-auditinfo-constructor/m-p/2744697#M64288</guid>
      <dc:creator>Paulio</dc:creator>
      <dc:date>2010-08-13T14:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AuditInfo constructor</title>
      <link>https://forums.autodesk.com/t5/net-forum/help-with-auditinfo-constructor/m-p/2773224#M64289</link>
      <description>&lt;P&gt;Hi Tony:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;I tried your code, I found there are 2 files missing: Application.cs and ExtensionApplicaitonInfo.cs so I cannot compile it. Would you kindly provide a update version. I learn a lot from your code. I will keep doing so. Thank you so much. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wes&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2010 20:07:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/help-with-auditinfo-constructor/m-p/2773224#M64289</guid>
      <dc:creator>wesbird</dc:creator>
      <dc:date>2010-09-16T20:07:06Z</dc:date>
    </item>
  </channel>
</rss>

