<?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 Betreff: Create Drawing Document with specified Sheet Format in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawing-document-with-specified-sheet-format/m-p/13222003#M3527</link>
    <description>&lt;P&gt;It works for me too, with the exception of one client project.&lt;/P&gt;&lt;P&gt;Strange things happen here.&lt;/P&gt;&lt;P&gt;When I start a new drawing and use a template with sheet formats, the views are linked incorrectly. For example, if a top view was originally derived from the front view, it is now linked to the side view. Or rotated 90 degrees.&lt;/P&gt;&lt;P&gt;So I created the views in an empty drawing using DrawingViews.AddBaseView. But now I have the problem that the views no longer have any BOM information. As I said, this only happens with one customer and only when using the API.&lt;/P&gt;&lt;P&gt;Version 2024.3.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2024 08:46:53 GMT</pubDate>
    <dc:creator>c_hoppen</dc:creator>
    <dc:date>2024-12-20T08:46:53Z</dc:date>
    <item>
      <title>Create Drawing Document with specified Sheet Format</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawing-document-with-specified-sheet-format/m-p/13216377#M3525</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I have a template containing two sheet formats. I want to use this template to create a new drawing.&lt;/P&gt;&lt;P&gt;So far I can do&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;...Document.Add(kDrawingDocumentObject, "mytemplate.idw").&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;and after this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;drawDoc.Sheets.AddUsingSheetFormat(sheetFormat2, modelDoc.FullDocumentName)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This doesn't seem to work properly because strange things happen afterwards&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="c_hoppen_0-1734450887459.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1446871i8CB6934E30267450/image-size/medium?v=v2&amp;amp;px=400" role="button" title="c_hoppen_0-1734450887459.png" alt="c_hoppen_0-1734450887459.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="c_hoppen_2-1734452505829.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1446881iFCAAC0164EEB8D7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="c_hoppen_2-1734452505829.png" alt="c_hoppen_2-1734452505829.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Drawing views lose the connection to the parts list, so I can't attach item number balloons. I have to delete the existing parts list and create a new one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything works as expected when going the UI way (File&amp;gt;New).&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;Regards Christoph&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 16:30:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawing-document-with-specified-sheet-format/m-p/13216377#M3525</guid>
      <dc:creator>c_hoppen</dc:creator>
      <dc:date>2024-12-17T16:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create Drawing Document with specified Sheet Format</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawing-document-with-specified-sheet-format/m-p/13220806#M3526</link>
      <description>&lt;P&gt;Works for me. It might be a model state issue. Instead of using the file name string try using the document object.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 16:50:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawing-document-with-specified-sheet-format/m-p/13220806#M3526</guid>
      <dc:creator>daltonNYAW9</dc:creator>
      <dc:date>2024-12-19T16:50:55Z</dc:date>
    </item>
    <item>
      <title>Betreff: Create Drawing Document with specified Sheet Format</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawing-document-with-specified-sheet-format/m-p/13222003#M3527</link>
      <description>&lt;P&gt;It works for me too, with the exception of one client project.&lt;/P&gt;&lt;P&gt;Strange things happen here.&lt;/P&gt;&lt;P&gt;When I start a new drawing and use a template with sheet formats, the views are linked incorrectly. For example, if a top view was originally derived from the front view, it is now linked to the side view. Or rotated 90 degrees.&lt;/P&gt;&lt;P&gt;So I created the views in an empty drawing using DrawingViews.AddBaseView. But now I have the problem that the views no longer have any BOM information. As I said, this only happens with one customer and only when using the API.&lt;/P&gt;&lt;P&gt;Version 2024.3.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 08:46:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawing-document-with-specified-sheet-format/m-p/13222003#M3527</guid>
      <dc:creator>c_hoppen</dc:creator>
      <dc:date>2024-12-20T08:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create Drawing Document with specified Sheet Format</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawing-document-with-specified-sheet-format/m-p/13222348#M3528</link>
      <description>&lt;P&gt;Is the file a model state? can u link it?&lt;/P&gt;&lt;P&gt;That specific file might be corrupt and needs to be remade.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks similar&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-forum/model-states-becoming-corrupted/td-p/11558501" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-forum/model-states-becoming-corrupted/td-p/11558501&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 13:19:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/create-drawing-document-with-specified-sheet-format/m-p/13222348#M3528</guid>
      <dc:creator>daltonNYAW9</dc:creator>
      <dc:date>2024-12-20T13:19:19Z</dc:date>
    </item>
  </channel>
</rss>

