<?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: Open drawing skip user input in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-drawing-skip-user-input/m-p/3899441#M131109</link>
    <description>&lt;P&gt;Ultimately it's not the best solution, but with the options that I've been given, it's the closest that I have found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2013 14:35:26 GMT</pubDate>
    <dc:creator>CAD-e-Shack</dc:creator>
    <dc:date>2013-04-30T14:35:26Z</dc:date>
    <item>
      <title>Open drawing skip user input</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-drawing-skip-user-input/m-p/3897359#M131107</link>
      <description>&lt;P&gt;I'm using the following code to open a drawing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set doc = ThisApplication.Documents.Open(Archive, True)&lt;/P&gt;&lt;P&gt;and this code to close the drawing&lt;/P&gt;&lt;P&gt;ThisApplication.ActiveDocument.Close True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The close command skips the typical user input that is required but for some reason I don't find the option for when the drawing is opened.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The drawing must open in order that it can update the changes that are being made to it by the code (so I can't insert "false" into the open command).&lt;/P&gt;&lt;P&gt;However, because many of the drawings are stored in vault I get the prompt whether or not to check the drawing out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way I can automatically select one of the options (attachment) without the user selecting it each time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ps&lt;/P&gt;&lt;P&gt;I also am using the command&lt;/P&gt;&lt;P&gt;ThisApplication.SilentOperation = True&lt;/P&gt;&lt;P&gt;throughout the code&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2013 16:37:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-drawing-skip-user-input/m-p/3897359#M131107</guid>
      <dc:creator>CAD-e-Shack</dc:creator>
      <dc:date>2013-04-29T16:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Open drawing skip user input</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-drawing-skip-user-input/m-p/3897598#M131108</link>
      <description>&lt;P&gt;My first idea would be to programatically set the Vault dialog options that you can set manually via the UI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="VaultOptions2.PNG" src="https://forums.autodesk.com/t5/image/serverpage/image-id/51606i8038FD901D1242F7/image-size/original?v=mpbl-1&amp;amp;px=-1" align="center" border="0" title="VaultOptions2.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 14px;"&gt;But the only thing I could find was&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;PromptMessageRestrictionsEnum&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="prompt.PNG" src="https://forums.autodesk.com/t5/image/serverpage/image-id/51605i8264A8D62BEAC490/image-size/original?v=mpbl-1&amp;amp;px=-1" align="center" border="0" title="prompt.PNG" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Btw, It's been asked many times, but with no responces:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://forums.autodesk.com/t5/Autodesk-Inventor-Customization/Dialog-suppression-for-check-in-on-file-close/m-p/3216872/highlight/true#M36681"&gt;http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/Dialog-suppression-for-check-in-on-file-close/m-p/3216872/highlight/true#M36681&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://forums.autodesk.com/t5/Autodesk-Inventor-Customization/Vault-Messages-in-Inventor/m-p/1509481/highlight/true#M14475"&gt;http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/Vault-Messages-in-Inventor/m-p/1509481/highlight/true#M14475&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2013 19:27:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-drawing-skip-user-input/m-p/3897598#M131108</guid>
      <dc:creator>jdkriek</dc:creator>
      <dc:date>2013-04-29T19:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Open drawing skip user input</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-drawing-skip-user-input/m-p/3899441#M131109</link>
      <description>&lt;P&gt;Ultimately it's not the best solution, but with the options that I've been given, it's the closest that I have found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2013 14:35:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-drawing-skip-user-input/m-p/3899441#M131109</guid>
      <dc:creator>CAD-e-Shack</dc:creator>
      <dc:date>2013-04-30T14:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Open drawing skip user input</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-drawing-skip-user-input/m-p/3899459#M131110</link>
      <description>&lt;P&gt;I know and given the fact that no one has come up with a solution since 2005 (&lt;SPAN&gt;Vault 4.0) - anything is better than nothing &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2013 14:51:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-drawing-skip-user-input/m-p/3899459#M131110</guid>
      <dc:creator>jdkriek</dc:creator>
      <dc:date>2013-04-30T14:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Open drawing skip user input</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-drawing-skip-user-input/m-p/4934768#M131111</link>
      <description>&lt;P&gt;im doing some automated dxf exports for sheet metal, but i didnt want to&amp;nbsp;click the ok on the title block promted entry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so i added the &amp;nbsp;silent code before the operation, worked for me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;m_InvApp.SilentOperation = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;True&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; NewIdw &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;As &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;DrawingDocument&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; = m_InvApp.Documents.Add(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;DocumentTypeEnum&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;.kDrawingDocumentObject, m_InvApp.FileOptions.TemplatesPath() + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;"Standard.idw"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;True&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 09:25:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-drawing-skip-user-input/m-p/4934768#M131111</guid>
      <dc:creator>Burnit87</dc:creator>
      <dc:date>2014-04-04T09:25:53Z</dc:date>
    </item>
  </channel>
</rss>

