<?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 add more Scale to inventor 2020 in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-add-more-scale-to-inventor-2020/m-p/9834691#M56665</link>
    <description>&lt;P&gt;Here is a couple of iLogic rules I wrote about a year ago for this scenario.&lt;/P&gt;&lt;P&gt;It sets up all the scales I want to be available (similarly to the manual process mentioned in this post).&lt;/P&gt;&lt;LI-CODE lang="general"&gt;If ThisApplication.ActiveDocumentType &amp;lt;&amp;gt; DocumentTypeEnum.kDrawingDocumentObject Then
	MsgBox("This rule '" &amp;amp; iLogicVb.RuleName &amp;amp; "' only works for Drawing Documents.",vbOK, "WRONG DOCUMENT TYPE")
	Return
End If

Dim oDDoc As DrawingDocument = ThisDrawing.Document
Dim oScalesList As New List(Of String)
oScalesList.Add("1 / 30")
oScalesList.Add("1 / 29")
oScalesList.Add("1 / 28")
oScalesList.Add("1 / 27")
oScalesList.Add("1 / 26")
oScalesList.Add("1 / 25")
oScalesList.Add("1 / 24")
oScalesList.Add("1 / 23")
oScalesList.Add("1 / 22")
oScalesList.Add("1 / 21")
oScalesList.Add("1 / 20")
oScalesList.Add("1 / 19")
oScalesList.Add("1 / 18")
oScalesList.Add("1 / 17")
oScalesList.Add("1 / 16")
oScalesList.Add("1 / 15")
oScalesList.Add("1 / 14")
oScalesList.Add("1 / 13")
oScalesList.Add("1 / 12")
oScalesList.Add("1 / 11")
oScalesList.Add("1 / 10")
oScalesList.Add("1 / 9")
oScalesList.Add("1 / 8")
oScalesList.Add("1 / 7")
oScalesList.Add("1 / 6")
oScalesList.Add("1 / 5")
oScalesList.Add("1 / 4")
oScalesList.Add("1 / 3")
oScalesList.Add("1 / 2")
oScalesList.Add("1 : 1")
oScalesList.Add("2 : 1")
oScalesList.Add("3 : 1")
oScalesList.Add("4 : 1")
oScalesList.Add("5 : 1")
oScalesList.Add("6 : 1")
oScalesList.Add("7 : 1")
oScalesList.Add("8 : 1")
oScalesList.Add("9 : 1")
oScalesList.Add("10 : 1")
Dim oScales As String() = oScalesList.ToArray()
oDDoc.StylesManager.ActiveStandardStyle.PresetScales = oScales&lt;/LI-CODE&gt;&lt;P&gt;And also a rule to set all the Text Heights that I want to be available within the Text Height drop-down.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;If ThisApplication.ActiveDocumentType &amp;lt;&amp;gt; DocumentTypeEnum.kDrawingDocumentObject Then
	MsgBox("This rule '" &amp;amp; iLogicVb.RuleName &amp;amp; "' only works for Drawing Documents.",vbOK, "WRONG DOCUMENT TYPE")
	Return
End If

Dim oDDoc As DrawingDocument = ThisDrawing.Document
Dim oPTextHeights As New List(Of Double)
oPTextHeights.Add(0.080*2.54)
oPTextHeights.Add(0.100*2.54)
oPTextHeights.Add(0.125*2.54)
oPTextHeights.Add(0.150*2.54)
oPTextHeights.Add(0.1875*2.54)
oPTextHeights.Add(0.250*2.54)
oDDoc.StylesManager.ActiveStandardStyle.PresetTextHeights = oPTextHeights.ToArray&lt;/LI-CODE&gt;&lt;P&gt;If this solved your problem, or answered your question, please click &lt;SPAN style="background-color: green; color: white;"&gt;&lt;STRONG&gt;ACCEPT SOLUTION&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;Or, if this helped you, please click 'LIKE' &lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;If you have time, please... Vote For &lt;A href="https://forums.autodesk.com/t5/forums/recentpostspage/post-type/message/interaction-style/idea/user-id/7812054/" target="_blank"&gt;My IDEAS &lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt;&lt;/SPAN&gt;&lt;/A&gt;and Explore &lt;A href="https://knowledge.autodesk.com/profile/LTSUSR7HXMSAE/articles" target="_blank"&gt;My CONTRIBUTIONS &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2021/ENU/" target="_blank"&gt;Inventor 2021 Help &lt;/A&gt;| &lt;A href="https://forums.autodesk.com/t5/inventor-forum/bd-p/78/" target="_blank"&gt;Inventor Forum &lt;/A&gt;| &lt;A href="https://forums.autodesk.com/t5/inventor-customization/bd-p/120/" target="_blank"&gt;Inventor Customization Forum &lt;/A&gt;| &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/idb-p/v1232/" target="_blank"&gt;Inventor Ideas Forum &lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Oct 2020 12:03:41 GMT</pubDate>
    <dc:creator>WCrihfield</dc:creator>
    <dc:date>2020-10-30T12:03:41Z</dc:date>
    <item>
      <title>How to add more Scale to inventor 2020</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-add-more-scale-to-inventor-2020/m-p/9834207#M56661</link>
      <description>&lt;P&gt;how to I add more Scale (On Drawings idw)to inventor 2020? I did find some version of this online .. But could not find it in the Style Editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know where this is save as well. sind I need to get this out on multi computers hope you can help with one or both of my problem&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 08:35:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-add-more-scale-to-inventor-2020/m-p/9834207#M56661</guid>
      <dc:creator>Darkforce_the_ilogic_guy</dc:creator>
      <dc:date>2020-10-30T08:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to add more Scale to inventor 2020</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-add-more-scale-to-inventor-2020/m-p/9834244#M56662</link>
      <description>&lt;P&gt;It's in the style editor. Select your standard. Under general tab you have a group called Preset Values. Select Scale from the dropdown there and click new &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 08:50:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-add-more-scale-to-inventor-2020/m-p/9834244#M56662</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-10-30T08:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to add more Scale to inventor 2020</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-add-more-scale-to-inventor-2020/m-p/9834264#M56663</link>
      <description>&lt;P&gt;I can´t see that grounp&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bt_0-1604048115212.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/838321i0E9A42C1177C6A7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bt_0-1604048115212.png" alt="bt_0-1604048115212.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;oh wait hehe... I miss the point of change the dropdown menu thankt&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 08:56:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-add-more-scale-to-inventor-2020/m-p/9834264#M56663</guid>
      <dc:creator>Darkforce_the_ilogic_guy</dc:creator>
      <dc:date>2020-10-30T08:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to add more Scale to inventor 2020</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-add-more-scale-to-inventor-2020/m-p/9834265#M56664</link>
      <description>&lt;P&gt;In the drop down that says Line Weights...&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 08:57:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-add-more-scale-to-inventor-2020/m-p/9834265#M56664</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-10-30T08:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to add more Scale to inventor 2020</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-add-more-scale-to-inventor-2020/m-p/9834691#M56665</link>
      <description>&lt;P&gt;Here is a couple of iLogic rules I wrote about a year ago for this scenario.&lt;/P&gt;&lt;P&gt;It sets up all the scales I want to be available (similarly to the manual process mentioned in this post).&lt;/P&gt;&lt;LI-CODE lang="general"&gt;If ThisApplication.ActiveDocumentType &amp;lt;&amp;gt; DocumentTypeEnum.kDrawingDocumentObject Then
	MsgBox("This rule '" &amp;amp; iLogicVb.RuleName &amp;amp; "' only works for Drawing Documents.",vbOK, "WRONG DOCUMENT TYPE")
	Return
End If

Dim oDDoc As DrawingDocument = ThisDrawing.Document
Dim oScalesList As New List(Of String)
oScalesList.Add("1 / 30")
oScalesList.Add("1 / 29")
oScalesList.Add("1 / 28")
oScalesList.Add("1 / 27")
oScalesList.Add("1 / 26")
oScalesList.Add("1 / 25")
oScalesList.Add("1 / 24")
oScalesList.Add("1 / 23")
oScalesList.Add("1 / 22")
oScalesList.Add("1 / 21")
oScalesList.Add("1 / 20")
oScalesList.Add("1 / 19")
oScalesList.Add("1 / 18")
oScalesList.Add("1 / 17")
oScalesList.Add("1 / 16")
oScalesList.Add("1 / 15")
oScalesList.Add("1 / 14")
oScalesList.Add("1 / 13")
oScalesList.Add("1 / 12")
oScalesList.Add("1 / 11")
oScalesList.Add("1 / 10")
oScalesList.Add("1 / 9")
oScalesList.Add("1 / 8")
oScalesList.Add("1 / 7")
oScalesList.Add("1 / 6")
oScalesList.Add("1 / 5")
oScalesList.Add("1 / 4")
oScalesList.Add("1 / 3")
oScalesList.Add("1 / 2")
oScalesList.Add("1 : 1")
oScalesList.Add("2 : 1")
oScalesList.Add("3 : 1")
oScalesList.Add("4 : 1")
oScalesList.Add("5 : 1")
oScalesList.Add("6 : 1")
oScalesList.Add("7 : 1")
oScalesList.Add("8 : 1")
oScalesList.Add("9 : 1")
oScalesList.Add("10 : 1")
Dim oScales As String() = oScalesList.ToArray()
oDDoc.StylesManager.ActiveStandardStyle.PresetScales = oScales&lt;/LI-CODE&gt;&lt;P&gt;And also a rule to set all the Text Heights that I want to be available within the Text Height drop-down.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;If ThisApplication.ActiveDocumentType &amp;lt;&amp;gt; DocumentTypeEnum.kDrawingDocumentObject Then
	MsgBox("This rule '" &amp;amp; iLogicVb.RuleName &amp;amp; "' only works for Drawing Documents.",vbOK, "WRONG DOCUMENT TYPE")
	Return
End If

Dim oDDoc As DrawingDocument = ThisDrawing.Document
Dim oPTextHeights As New List(Of Double)
oPTextHeights.Add(0.080*2.54)
oPTextHeights.Add(0.100*2.54)
oPTextHeights.Add(0.125*2.54)
oPTextHeights.Add(0.150*2.54)
oPTextHeights.Add(0.1875*2.54)
oPTextHeights.Add(0.250*2.54)
oDDoc.StylesManager.ActiveStandardStyle.PresetTextHeights = oPTextHeights.ToArray&lt;/LI-CODE&gt;&lt;P&gt;If this solved your problem, or answered your question, please click &lt;SPAN style="background-color: green; color: white;"&gt;&lt;STRONG&gt;ACCEPT SOLUTION&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;Or, if this helped you, please click 'LIKE' &lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;If you have time, please... Vote For &lt;A href="https://forums.autodesk.com/t5/forums/recentpostspage/post-type/message/interaction-style/idea/user-id/7812054/" target="_blank"&gt;My IDEAS &lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt;&lt;/SPAN&gt;&lt;/A&gt;and Explore &lt;A href="https://knowledge.autodesk.com/profile/LTSUSR7HXMSAE/articles" target="_blank"&gt;My CONTRIBUTIONS &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2021/ENU/" target="_blank"&gt;Inventor 2021 Help &lt;/A&gt;| &lt;A href="https://forums.autodesk.com/t5/inventor-forum/bd-p/78/" target="_blank"&gt;Inventor Forum &lt;/A&gt;| &lt;A href="https://forums.autodesk.com/t5/inventor-customization/bd-p/120/" target="_blank"&gt;Inventor Customization Forum &lt;/A&gt;| &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/idb-p/v1232/" target="_blank"&gt;Inventor Ideas Forum &lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 12:03:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-add-more-scale-to-inventor-2020/m-p/9834691#M56665</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2020-10-30T12:03:41Z</dc:date>
    </item>
  </channel>
</rss>

