<?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: Unable to scale a sketch symbol in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/unable-to-scale-a-sketch-symbol/m-p/8877711#M98865</link>
    <description>&lt;PRE&gt;Public Sub main()

Dim a As Application
Set a = ThisApplication

Dim b As DrawingDocument
Set b = a.ActiveDocument

Dim oSymbol As SketchedSymbol

        'Dim oSymbols As SketchedSymbols
        For Each oSymbol In b.ActiveSheet.SketchedSymbols
           MsgBox oSymbol.Scale
           Dim x As Double
           x = 2
           oSymbol.[Scale] = x ' 0.2'This line gives a Syntax error
            oSymbol.Rotation = 1.571  'This works as expected
        Next
End Sub&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/no-access-to-write-in-scale-property-for-the-sketched-symbol-of/td-p/1617405" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-customization/no-access-to-write-in-scale-property-for-the-sketched-symbol-of/td-p/1617405&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2019 20:04:20 GMT</pubDate>
    <dc:creator>bradeneuropeArthur</dc:creator>
    <dc:date>2019-06-27T20:04:20Z</dc:date>
    <item>
      <title>Unable to scale a sketch symbol</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/unable-to-scale-a-sketch-symbol/m-p/8877648#M98861</link>
      <description>&lt;P&gt;Can anyone please explain why the following code generates a Syntax error for the 'oSymbol.Scale=0.5' .&amp;nbsp; If I remove the offending 'Scale' line of code then my symbols rotate as expected?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roger Mitchell&lt;/P&gt;&lt;PRE&gt;        Dim oSymbol As SketchedSymbol
        Dim oSymbols As SketchedSymbols
        For Each oSymbol In oSymbols
            &lt;FONT color="#FF0000"&gt;oSymbol.Scale=0.5&lt;/FONT&gt;  'This line gives a Syntax error
            oSymbol.Rotation = 1.571  'This works as expected
        Next&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 19:36:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/unable-to-scale-a-sketch-symbol/m-p/8877648#M98861</guid>
      <dc:creator>rogmitch</dc:creator>
      <dc:date>2019-06-27T19:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to scale a sketch symbol</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/unable-to-scale-a-sketch-symbol/m-p/8877711#M98865</link>
      <description>&lt;PRE&gt;Public Sub main()

Dim a As Application
Set a = ThisApplication

Dim b As DrawingDocument
Set b = a.ActiveDocument

Dim oSymbol As SketchedSymbol

        'Dim oSymbols As SketchedSymbols
        For Each oSymbol In b.ActiveSheet.SketchedSymbols
           MsgBox oSymbol.Scale
           Dim x As Double
           x = 2
           oSymbol.[Scale] = x ' 0.2'This line gives a Syntax error
            oSymbol.Rotation = 1.571  'This works as expected
        Next
End Sub&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/no-access-to-write-in-scale-property-for-the-sketched-symbol-of/td-p/1617405" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-customization/no-access-to-write-in-scale-property-for-the-sketched-symbol-of/td-p/1617405&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 20:04:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/unable-to-scale-a-sketch-symbol/m-p/8877711#M98865</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-06-27T20:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to scale a sketch symbol</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/unable-to-scale-a-sketch-symbol/m-p/8877952#M98871</link>
      <description>&lt;P&gt;Thanks Arthur- I do not understand how you knew to frame the syntax as you did but it is much appreciated.&amp;nbsp; It works.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 21:58:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/unable-to-scale-a-sketch-symbol/m-p/8877952#M98871</guid>
      <dc:creator>rogmitch</dc:creator>
      <dc:date>2019-06-27T21:58:02Z</dc:date>
    </item>
  </channel>
</rss>

