<?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: How to set Drawing view scale to model size within the same sheet in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/how-to-set-drawing-view-scale-to-model-size-within-the-same/m-p/9998602#M121936</link>
    <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6518271"&gt;@dutt.thakar&lt;/a&gt;&amp;nbsp; Sir,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was a wounder full solution for my exact requirement. I am very thankful to you for helping me in time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please request you to help me if anything to be required further course for any other requirement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Abdul Rizwan&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jan 2021 14:28:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-01-13T14:28:39Z</dc:date>
    <item>
      <title>How to set Drawing view scale to model size within the same sheet</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-set-drawing-view-scale-to-model-size-within-the-same/m-p/9996502#M121932</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help for to set drawings views scale to fit within the sheet, when model changed from lower value to higher value, but when higher value model to be fit within the are of lower value of the drawing view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The drawing views to be adopted to same size to any size of the model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me as i am struck with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Abdul Rizwan&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 18:15:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-set-drawing-view-scale-to-model-size-within-the-same/m-p/9996502#M121932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-12T18:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Drawing view scale to model size within the same sheet</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-set-drawing-view-scale-to-model-size-within-the-same/m-p/9996528#M121933</link>
      <description>&lt;P&gt;Is this related to some ilogic or vba programming you are doing? Or just out of the box manual view placement/update functions?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 18:31:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-set-drawing-view-scale-to-model-size-within-the-same/m-p/9996528#M121933</guid>
      <dc:creator>mcgyvr</dc:creator>
      <dc:date>2021-01-12T18:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Drawing view scale to model size within the same sheet</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-set-drawing-view-scale-to-model-size-within-the-same/m-p/9997057#M121934</link>
      <description>&lt;P&gt;Hi! Indeed, Brian is right. This needs to be done via iLogic. Inventor automatically figures out a suitable scale factor based on the model bounding box, sheet size, and the pre-defined scale values. Within the manual workflows, there isn't a way to set the scale proportional to the model size. I believe Inventor API and iLogic are needed to make it work.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 22:13:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-set-drawing-view-scale-to-model-size-within-the-same/m-p/9997057#M121934</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2021-01-12T22:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Drawing view scale to model size within the same sheet</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-set-drawing-view-scale-to-model-size-within-the-same/m-p/9997583#M121935</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check out the below links that are available on the Inventor Customization forum.&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/automatic-scale-and-view-position/td-p/5784680" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-customization/automatic-scale-and-view-position/td-p/5784680&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/scaling-functionality-for-a-set-of-drawing-views/td-p/7928218" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-customization/scaling-functionality-for-a-set-of-drawing-views/td-p/7928218&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are several ways of doing this, you can add equations based on your sheet and view size and view positions, you can also predefine the scales and use them etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check out the below code as well, which I use sometimes, which does not require the scales to be set manually or via scale string function. In the below code, you just need to change the values in the fourth line (30,30) that represents an imaginary box within which the view will always be fit, you can try this rule and then it will automatically set the view in that imaginary box regardless of the size of your model. You can do some tests and fix the values(currently (30,30)) and once you are satisfied it will always work. In this you need to be aware that the scales will be set automatically so it will not follow the standards (i.e. 1:5 or 1:10 etc.) you will see quite random values in scale.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;'&lt;STRONG&gt;This code is only for first view, you can use it for more views by modifying it.&lt;/STRONG&gt;&lt;BR /&gt;Sub&lt;/SPAN&gt; &lt;SPAN&gt;Main&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Sheet&lt;/SPAN&gt; = &lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveSheet&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oView&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingView&lt;/SPAN&gt; = &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingViews&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(1)
	&lt;SPAN&gt;ReScale_View&lt;/SPAN&gt;(&lt;SPAN&gt;oView&lt;/SPAN&gt;, 30, 30) 
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt;

&lt;SPAN&gt;Public&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt; &lt;SPAN&gt;ReScale_View&lt;/SPAN&gt; (&lt;SPAN&gt;aView&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingView&lt;/SPAN&gt;, &lt;SPAN&gt;X&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Double&lt;/SPAN&gt;, &lt;SPAN&gt;Y&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Double&lt;/SPAN&gt;)

&l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&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this will be helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 05:17:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-set-drawing-view-scale-to-model-size-within-the-same/m-p/9997583#M121935</guid>
      <dc:creator>dutt.thakar</dc:creator>
      <dc:date>2021-01-13T05:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Drawing view scale to model size within the same sheet</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/how-to-set-drawing-view-scale-to-model-size-within-the-same/m-p/9998602#M121936</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6518271"&gt;@dutt.thakar&lt;/a&gt;&amp;nbsp; Sir,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was a wounder full solution for my exact requirement. I am very thankful to you for helping me in time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please request you to help me if anything to be required further course for any other requirement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Abdul Rizwan&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 14:28:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/how-to-set-drawing-view-scale-to-model-size-within-the-same/m-p/9998602#M121936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-13T14:28:39Z</dc:date>
    </item>
  </channel>
</rss>

