<?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 Change text with iLogic in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6681839#M67850</link>
    <description>&lt;P&gt;I like to change some text with iLogic&lt;/P&gt;&lt;P&gt;It is easy get it to make it bolt or change the font, but i like to change the justification of the text.&lt;/P&gt;&lt;P&gt;Where can i find a list of style override functions?&lt;/P&gt;</description>
    <pubDate>Fri, 11 Nov 2016 09:00:01 GMT</pubDate>
    <dc:creator>Rob67ert</dc:creator>
    <dc:date>2016-11-11T09:00:01Z</dc:date>
    <item>
      <title>Change text with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6681839#M67850</link>
      <description>&lt;P&gt;I like to change some text with iLogic&lt;/P&gt;&lt;P&gt;It is easy get it to make it bolt or change the font, but i like to change the justification of the text.&lt;/P&gt;&lt;P&gt;Where can i find a list of style override functions?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 09:00:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6681839#M67850</guid>
      <dc:creator>Rob67ert</dc:creator>
      <dc:date>2016-11-11T09:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Change text with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6683358#M67864</link>
      <description>&lt;P&gt;Hello Robert,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the Inventor help, API help, do a search on "GeneralNote object" and "TextStyle Object"&lt;/P&gt;
&lt;P&gt;You get a list of all the properties you can set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;maybe create a few Textstyles with the justifications you need, and change the textstyle for the text you want to change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 21:12:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6683358#M67864</guid>
      <dc:creator>HermJan.Otterman</dc:creator>
      <dc:date>2016-11-11T21:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change text with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6685558#M67874</link>
      <description>If i understand it correct it is not possible with iLogic, but only if i make a VB code of it?</description>
      <pubDate>Mon, 14 Nov 2016 07:37:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6685558#M67874</guid>
      <dc:creator>Rob67ert</dc:creator>
      <dc:date>2016-11-14T07:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change text with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6686019#M67891</link>
      <description>&lt;P&gt;Hello Robert&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you have to see iLogic as VB.net light.... and the api (application programmer interface) is the link between VB and Inventor.&lt;/P&gt;
&lt;P&gt;there you can find all the things you can do with code in Inventor, that Autodesk lets you do.&lt;/P&gt;
&lt;P&gt;Autodesk makes the API, and decide what is, and is not in&amp;nbsp;the API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when you look at the weld annotation,&amp;nbsp;you can change only 2 or three objects, but there are many more that you can't program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the answer to you question is that with both iLogic and VB you can't fully program the weld symbol.&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;you can vote for this Idea:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/weld-symbols-exposed-in-the-api-in-assemblies/idi-p/6583655" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-ideas/weld-symbols-exposed-in-the-api-in-assemblies/idi-p/6583655&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 12:45:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6686019#M67891</guid>
      <dc:creator>HermJan.Otterman</dc:creator>
      <dc:date>2016-11-14T12:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change text with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6686050#M67894</link>
      <description>Hi HermJan,&lt;BR /&gt;you wrote: So the answer to you question is that with both iLogic and VB you can't fully program the weld symbol.&lt;BR /&gt;&lt;BR /&gt;But that is not my question...&lt;BR /&gt;What i like to change is the justification of some text with ilogic.&lt;BR /&gt;Now i have: TempPartNo = "&amp;lt;StyleOverride Font='ISOCP_IV25' FontSize='0.5' Bold='False' Underline='False' HorizontalJustification='0'&amp;gt;" &amp;amp; TempPartNo &amp;amp; "&amp;lt;/StyleOverride&amp;gt;" and i like to add something to change the justification.</description>
      <pubDate>Mon, 14 Nov 2016 13:03:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6686050#M67894</guid>
      <dc:creator>Rob67ert</dc:creator>
      <dc:date>2016-11-14T13:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Change text with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6686238#M67898</link>
      <description>&lt;P&gt;Not sure if there is a list anywhere,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BUT you can always change the text manually (through the UI) then read the .formattedtext on that text box to see what tags they use to set the style overrides.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keep in mind that those format tags only show up for OVERRIDES and do not appear if the base style used for that text matches for the styles that are not overridden.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 14:19:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6686238#M67898</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2016-11-14T14:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Change text with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6690642#M67980</link>
      <description>&lt;P&gt;Hello Robert,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was misstaking with the weld annotation, you question looked alot like an other question, so I gave the wrong answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;would it be possible for you to share a part with the text not good, and one how it should be?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I thing that the best way it to create two or more tetstyles so you can choose the right textstyle for your part.&lt;/P&gt;
&lt;P&gt;then if you want you can automate this&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 12:32:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6690642#M67980</guid>
      <dc:creator>HermJan.Otterman</dc:creator>
      <dc:date>2016-11-16T12:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Change text with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6690673#M67981</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already found that it is not possible to do with iLogic.&lt;/P&gt;&lt;P&gt;What I can change is:&lt;/P&gt;&lt;P&gt;SyntaxEditor Code Snippet&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;StyleOverride Font='ISOCP_IV25' FontSize='0.5' Bold='False' Underline='False' HorizontalJustification='0'&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt; &lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN&gt;TempPartNo&lt;/SPAN&gt; &lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/StyleOverride&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;You can change the font, but not a Style or the Justification.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 12:50:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6690673#M67981</guid>
      <dc:creator>Rob67ert</dc:creator>
      <dc:date>2016-11-16T12:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change text with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6692046#M68016</link>
      <description>&lt;P&gt;Hello Robert,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try this iLogic rule in a drawing. create some Text in the drawing and run the rule.&lt;/P&gt;
&lt;P&gt;depending on the line(s) that are not commented, the justification will change...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(iLogic&amp;nbsp;has VB.net in the Back, so you can run VB.net code in iLogic)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;   &lt;SPAN style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 0);"&gt;oDrawDoc&lt;/SPAN&gt; &lt;SPAN style="color: rgb(255, 0, 0); font-weight: bold;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 0);"&gt;Inventor&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;DrawingDocument&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 0); font-weight: bold;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-weight: bold;"&gt;ThisApplication&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;ActiveDocument&lt;/SPAN&gt;

        &lt;SPAN style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 0);"&gt;oPickedDrawingNote&lt;/SPAN&gt; &lt;SPAN style="color: rgb(255, 0, 0); font-weight: bold;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 0);"&gt;Inventor&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;DrawingNote&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 0); font-weight: bold;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-weight: bold;"&gt;ThisApplication&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;CommandManager&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;SelectionFilterEnum&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;kDrawingNoteFilter&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 128, 128);"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 128, 128);"&gt;Select text&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 128, 128);"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-weight: bold;"&gt;)&lt;/SPAN&gt;

        &lt;SPAN style="color: rgb(128, 0, 0);"&gt;oPickedDrawingNote&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;HorizontalJustification&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 0); font-weight: bold;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 0);"&gt;HorizontalTextAlignmentEnum&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;kAlignTextCenter&lt;/SPAN&gt;
&lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;        oPickedDrawingNote.HorizontalJustification = HorizontalTextAlignmentEnum.kAlignTextLeft&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;
'&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;        oPickedDrawingNote.HorizontalJustification = HorizontalTextAlignmentEnum.kAlignTextRight&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;
'
'&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;        oPickedDrawingNote.VerticalJustification = VerticalTextAlignmentEnum.kAlignTextBaseline   this option gives me an error&lt;/SPAN&gt;
        &lt;SPAN style="color: rgb(128, 0, 0);"&gt;oPickedDrawingNote&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;VerticalJustification&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 0); font-weight: bold;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 0);"&gt;VerticalTextAlignmentEnum&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;kAlignTextLower&lt;/SPAN&gt;
&lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;        oPickedDrawingNote.VerticalJustification = VerticalTextAlignmentEnum.kAlignTextMiddle&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;
'&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;        oPickedDrawingNote.VerticalJustification = VerticalTextAlignmentEnum.kAlignTextUpper&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 22:16:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6692046#M68016</guid>
      <dc:creator>HermJan.Otterman</dc:creator>
      <dc:date>2016-11-16T22:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change text with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6692635#M68019</link>
      <description>Hi Herm Jan,&lt;BR /&gt;&lt;BR /&gt;My bad, I did not mentioned that i like to change text on a part, not in a drawing.&lt;BR /&gt;I would like to place text on the flatt pattern, like a part number to use for laser engraving.</description>
      <pubDate>Thu, 17 Nov 2016 06:09:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6692635#M68019</guid>
      <dc:creator>Rob67ert</dc:creator>
      <dc:date>2016-11-17T06:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change text with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6692789#M68022</link>
      <description>&lt;P&gt;hello Robert,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it's almost the same, this should do it&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;           &lt;SPAN style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 0);"&gt;oPartDoc&lt;/SPAN&gt; &lt;SPAN style="color: rgb(255, 0, 0); font-weight: bold;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 0);"&gt;Inventor&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;PartDocument&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 0); font-weight: bold;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-weight: bold;"&gt;ThisApplication&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;ActiveDocument&lt;/SPAN&gt;

        &lt;SPAN style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 0);"&gt;oText&lt;/SPAN&gt; &lt;SPAN style="color: rgb(255, 0, 0); font-weight: bold;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 0);"&gt;TextBox&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 0); font-weight: bold;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 128); font-weight: bold;"&gt;ThisApplication&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;CommandManager&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;SelectionFilterEnum&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;kSketchTextBoxFilter&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 128, 128);"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 128, 128);"&gt;Select a text&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 128, 128);"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-weight: bold;"&gt;)&lt;/SPAN&gt;

        &lt;SPAN style="color: rgb(128, 0, 0);"&gt;oText&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;HorizontalJustification&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 0); font-weight: bold;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 0);"&gt;HorizontalTextAlignmentEnum&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;kAlignTextCenter&lt;/SPAN&gt;
        &lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;oText.HorizontalJustification = HorizontalTextAlignmentEnum.kAlignTextLeft&lt;/SPAN&gt;
        &lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;oText.HorizontalJustification = HorizontalTextAlignmentEnum.kAlignTextRight&lt;/SPAN&gt;

        &lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;oText.VerticalJustification = VerticalTextAlignmentEnum.kAlignTextBaseline&lt;/SPAN&gt;
        &lt;SPAN style="color: rgb(128, 0, 0);"&gt;oText&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;VerticalJustification&lt;/SPAN&gt; &lt;SPAN style="color: rgb(0, 0, 0); font-weight: bold;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: rgb(128, 0, 0);"&gt;VerticalTextAlignmentEnum&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 0, 0);"&gt;kAlignTextLower&lt;/SPAN&gt;
        &lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;oText.VerticalJustification = VerticalTextAlignmentEnum.kAlignTextMiddle&lt;/SPAN&gt;
        &lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: rgb(128, 128, 128); font-style: italic;"&gt;oText.VerticalJustification = VerticalTextAlignmentEnum.kAlignTextUpper&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 08:19:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6692789#M68022</guid>
      <dc:creator>HermJan.Otterman</dc:creator>
      <dc:date>2016-11-17T08:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Change text with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6692936#M68025</link>
      <description>&lt;P&gt;Hi Herm Jan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;I have now what I like to have:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;SyntaxEditor Code Snippet&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT size="2"&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;PartDocument&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Document&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDef&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;SheetMetalComponentDefinition&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;oDoc&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oSK&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Sketch&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;oDef&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;FlatPattern&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Sketches&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;
&lt;SPAN&gt;TempPartNo&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;Replace&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;iProperties&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Value&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Project&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Part Number&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;
&lt;SPAN&gt;TempPartNo&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;StyleOverride Font='ISOCP_IV25' FontSize='0.5' Bold='False' Underline='False'&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt; &lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN&gt;TempPartNo&lt;/SPAN&gt; &lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/StyleOverride&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;
&lt;SPAN&gt;oSK&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;TextBoxes&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Item&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;HorizontalJustification&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;HorizontalTextAlignmentEnum&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;kAlignTextLeft&lt;/SPAN&gt;
&lt;SPAN&gt;oSK&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;TextBoxes&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Item&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;FormattedText&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;TempPartNo&lt;/SPAN&gt;

        &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;.HorizontalJustification = HorizontalTextAlignmentEnum.kAlignTextCenter&lt;/SPAN&gt;
         &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;.HorizontalJustification = HorizontalTextAlignmentEnum.kAlignTextLeft&lt;/SPAN&gt;
        &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;.HorizontalJustification = HorizontalTextAlignmentEnum.kAlignTextRight&lt;/SPAN&gt;

        &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;.VerticalJustification = VerticalTextAlignmentEnum.kAlignTextBaseline&lt;/SPAN&gt;
          &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;.VerticalJustification = VerticalTextAlignmentEnum.kAlignTextLower&lt;/SPAN&gt;
        &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;.VerticalJustification = VerticalTextAlignmentEnum.kAlignTextMiddle&lt;/SPAN&gt;
        &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;.VerticalJustification = VerticalTextAlignmentEnum.kAlignTextUpper&lt;/SPAN&gt;
&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 09:50:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/change-text-with-ilogic/m-p/6692936#M68025</guid>
      <dc:creator>Rob67ert</dc:creator>
      <dc:date>2016-11-17T09:50:17Z</dc:date>
    </item>
  </channel>
</rss>

