<?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: iLogic view label below view in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464312#M107938</link>
    <description>&lt;P&gt;You should approach the drawingstyle and set the different options there&lt;/P&gt;&lt;P&gt;Dim drawstyle As DrawingStandardStyle&lt;/P&gt;&lt;P&gt;....&lt;BR /&gt;Call draw.SetViewLabelDefaults(...)&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2016 10:48:11 GMT</pubDate>
    <dc:creator>frederic.vandenplas</dc:creator>
    <dc:date>2016-07-28T10:48:11Z</dc:date>
    <item>
      <title>iLogic view label below view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6459322#M107935</link>
      <description>&lt;P&gt;I would like to set the view label to below the view using iLogic, I know this is possible as I have seen it in a post somewhere before however now that I need it can't find it!&lt;/P&gt;&lt;P&gt;Anyonw know how to do this? I think it's only one line of code, any help would be useful!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 08:26:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6459322#M107935</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-26T08:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic view label below view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6462779#M107936</link>
      <description>&lt;P&gt;You haven't really indicated what you want the label to be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Curtis did a &lt;A href="https://forums.autodesk.com/t5/inventor-customization/custom-user-properties-in-view-label-of-drawing-template-style/td-p/3420537" target="_self"&gt;good post&lt;/A&gt;&amp;nbsp;on this which sets custom iproperties/parameters to the label.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the basis of code which can set all the labels (here they are just enabled and set to their own name)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SyntaxEditor Code Snippet&lt;/P&gt;
&lt;PRE&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;oDoc&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;oSheets&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Sheets&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oViews&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingViews&lt;/SPAN&gt;
&lt;SPAN&gt;oSheets&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;Sheets&lt;/SPAN&gt;
&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&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;In&lt;/SPAN&gt; &lt;SPAN&gt;oSheets&lt;/SPAN&gt;
    &lt;SPAN&gt;oViews&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;DrawingViews&lt;/SPAN&gt;
    &lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&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;In&lt;/SPAN&gt; &lt;SPAN&gt;oViews&lt;/SPAN&gt;
        &lt;SPAN&gt;oView&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ShowLabel&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;True&lt;/SPAN&gt;
        &lt;SPAN&gt;Try&lt;/SPAN&gt;
            &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;add the custom iproperties to the view label&lt;/SPAN&gt;
            &lt;SPAN&gt;oView&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Label&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;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;DrawingViewName/&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;
        &lt;SPAN&gt;Catch&lt;/SPAN&gt;
            &lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;do nothing if error&lt;/SPAN&gt;
        &lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;
    &lt;SPAN&gt;Next&lt;/SPAN&gt;
&lt;SPAN&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 16:47:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6462779#M107936</guid>
      <dc:creator>NSBowser</dc:creator>
      <dc:date>2016-07-27T16:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic view label below view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464059#M107937</link>
      <description>&lt;P&gt;I have the basic code to add a label to the views I want, all I want is the line which changes the position from its default of above the view to below, as you can do through styles editor&amp;gt;standard&amp;gt; View Preferences&amp;gt;position and selecting below instead of above.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 08:19:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464059#M107937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-28T08:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic view label below view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464312#M107938</link>
      <description>&lt;P&gt;You should approach the drawingstyle and set the different options there&lt;/P&gt;&lt;P&gt;Dim drawstyle As DrawingStandardStyle&lt;/P&gt;&lt;P&gt;....&lt;BR /&gt;Call draw.SetViewLabelDefaults(...)&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 10:48:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464312#M107938</guid>
      <dc:creator>frederic.vandenplas</dc:creator>
      <dc:date>2016-07-28T10:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic view label below view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464467#M107939</link>
      <description>&lt;P&gt;My apologies, I didn't realize when you said place the view below that that was everything you wanted to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As Frederic indicated, the position of the label is easiest controlled by the Inventor Styles, as I assume you know this, then there is probably a reason you still want to set certain views programatically. Rather than tell you to change the style I'll do my best to help you move the view label.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something to know, is that the 'position' of the view label is nothing a simple as a 'top' or 'bottom'. Those settings in the styles are simply instructions to help place the label correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to change the position of a view that already exists using the API, you will have to modify the position (point2d) of the label in reference to the view it is attached. I would suggest getting the bottom edge of the view, offsetting your label down a set amount from it and centering it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It might look something like the following. (this is just some back work, i didn't test any of this &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Dim oView As DrawingView

xPos = oView.Left + (oView.Width/2)
yPos = oVIew.Top - oView.Height - 2 'Adjust the 2 as needed

oVIew.Label.Position.x = xPos
oView.Label.Position.y = yPos&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If &amp;nbsp;you have trouble applying this solution let us know, we'll probably need a sample to work with if it's more complex&amp;nbsp;than have view need label...&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 12:17:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464467#M107939</guid>
      <dc:creator>NSBowser</dc:creator>
      <dc:date>2016-07-28T12:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic view label below view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464675#M107940</link>
      <description>&lt;P&gt;Well this is what I'm working with:&lt;/P&gt;&lt;PRE&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;: &lt;/SPAN&gt;&lt;SPAN&gt;oDoc&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;oSheet&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Sheet&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;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oDoc&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Sheets&lt;/SPAN&gt;
    &lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oView&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;DrawingViews&lt;/SPAN&gt;
         &lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;oview&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;IsFlatPatternView&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;True&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;            
            &lt;SPAN&gt;oView&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;showlabel&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;True&lt;/SPAN&gt;
            &lt;SPAN&gt;oView&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;label&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;"&lt;/SPAN&gt;&lt;SPAN&gt;FLAT PATTERN&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt; &lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt; &lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN&gt;oView&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ScaleString&lt;/SPAN&gt; &lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;
        &lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;    
    &lt;SPAN&gt;Next&lt;/SPAN&gt;
&lt;SPAN&gt;Next&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I definitely feel like there should be a way to simply change it as I have with the visibility and format which are also part of the drawing style.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try to change the format to no avail, any further help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question, is there a way for illogic to give you options of what you could write next, as vba does?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 13:50:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464675#M107940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-28T13:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic view label below view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464685#M107941</link>
      <description>I'm trying to not use this method, I do know this is a possibility but I'm sure I ran a simple code from somewhere which switched it from top to bottom, similar to toggling the visibility &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;</description>
      <pubDate>Thu, 28 Jul 2016 13:53:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464685#M107941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-28T13:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic view label below view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464688#M107942</link>
      <description>&lt;P&gt;Be aware that the change seems only be visible for newly created drawingviews.&lt;/P&gt;&lt;P&gt;For some reason the label does not change for existing drawing views&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 13:54:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464688#M107942</guid>
      <dc:creator>frederic.vandenplas</dc:creator>
      <dc:date>2016-07-28T13:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic view label below view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464706#M107943</link>
      <description>&lt;P&gt;Then I'm not sure this is what I need, I need it so that it works in the same way showlabel works unfortunately. Thank you anyway&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 13:58:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464706#M107943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-28T13:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic view label below view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464716#M107944</link>
      <description>&lt;P&gt;Unfortunately, how we feel about the API does not make it so. As far as I can tell, the only way to control the position of a pre-existing label is to do as I have indicated or similar.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not know what you mean or are asking when you say 'change the format, to no avail' can you clarify. What formatting? Text format? Font? Size?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lastly, the feature you are referencing is called IntelliSense, which is a feature of the code editor&amp;nbsp;(i.e. visual studio, vba) It does not exist in the iLogic interface. However, you should be able to find all of the information you need in the Programming Help, which gives a relatively comprehensive list of all methods and properties for each object. (I have found a few methods which were not in the help, to my despair)&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 14:00:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464716#M107944</guid>
      <dc:creator>NSBowser</dc:creator>
      <dc:date>2016-07-28T14:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic view label below view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464759#M107945</link>
      <description>&lt;P&gt;I think I might just resort to editing the style. The difficulty with that though is doing it when no one else is on the project!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 14:17:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464759#M107945</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-28T14:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic view label below view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464780#M107946</link>
      <description>&lt;P&gt;If you want the view label&amp;nbsp;affected everywhere, then I agree to modify the Style. However, if you want sheet metal view labels to be unique, than creating an iLogic routine to do so sounds reasonable. I would simply modify your code as shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Dim oDoc As DrawingDocument: oDoc = ThisDoc.Document
Dim oSheet As Sheet
Dim oView As DrawingView

For Each oSheet In oDoc.Sheets
    For Each oView In oSheet.DrawingViews
         If oview.IsFlatPatternView=True Then            
            oView.showlabel=True
            oView.label.formattedtext= "FLAT PATTERN" &amp;amp; " (" &amp;amp; oView.ScaleString &amp;amp; ")"&lt;BR /&gt;
            xPos = oView.Left + (oView.Width/2)
            yPos = oVIew.Top - oView.Height - 2 'Adjust the 2 as needed
            oView.Label.Position.x = xPos
            oView.Label.Position.y = yPos&lt;BR /&gt;            oView.Label.ConstrainToBorder = True&lt;BR /&gt;
        End If    
    Next
Next&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 14:25:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/6464780#M107946</guid>
      <dc:creator>NSBowser</dc:creator>
      <dc:date>2016-07-28T14:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic view label below view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/11029217#M107947</link>
      <description>&lt;P&gt;Old post but I added in the piece missing to physically make the label move in relation to border position.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"oPosPt&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientGeometry&lt;/SPAN&gt;.&lt;SPAN&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN&gt;xPos&lt;/SPAN&gt;, &lt;SPAN&gt;yPos&lt;/SPAN&gt;)"&lt;/P&gt;&lt;P&gt;Thanks to the contributors this solved my updates needed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&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;oDoc&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.&lt;SPAN&gt;Document&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;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;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Sheets&lt;/SPAN&gt;
    &lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oView&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingViews&lt;/SPAN&gt;
        &lt;SPAN&gt;' If oView.IsFlatPatternView=True Then            &lt;/SPAN&gt;
            &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;ShowLabel&lt;/SPAN&gt;=&lt;SPAN&gt;True&lt;/SPAN&gt;
            &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;Label&lt;/SPAN&gt;.&lt;SPAN&gt;FormattedText&lt;/SPAN&gt;= &lt;SPAN&gt;"FLAT PATTERN"&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;" ("&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;ScaleString&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;")"&lt;/SPAN&gt;
			
			&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;xPos&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Double&lt;/SPAN&gt; = &lt;SPAN&gt;Nothing&lt;/SPAN&gt;
			&lt;SPAN&gt;xPos&lt;/SPAN&gt;= &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;Left&lt;/SPAN&gt; + (&lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;Width&lt;/SPAN&gt; / 2)
            
			&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;yPos&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Double&lt;/SPAN&gt; = &lt;SPAN&gt;Nothing&lt;/SPAN&gt;
			&lt;SPAN&gt;yPos&lt;/SPAN&gt; = &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;Top&lt;/SPAN&gt; - &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;Height&lt;/SPAN&gt; -2&lt;SPAN&gt;'Adjust the 2 as needed&lt;/SPAN&gt;
			
			&lt;SPAN&gt;oPosPt&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientGeometry&lt;/SPAN&gt;.&lt;SPAN&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN&gt;xPos&lt;/SPAN&gt;, &lt;SPAN&gt;yPos&lt;/SPAN&gt;)

            &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;Label&lt;/SPAN&gt;.&lt;SPAN&gt;Position&lt;/SPAN&gt; = &lt;SPAN&gt;oPosPt&lt;/SPAN&gt;
        
            &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;Label&lt;/SPAN&gt;.&lt;SPAN&gt;ConstrainToBorder&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;
        &lt;SPAN&gt;'End If    &lt;/SPAN&gt;
    &lt;SPAN&gt;Next&lt;/SPAN&gt;
&lt;SPAN&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 17:01:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-view-label-below-view/m-p/11029217#M107947</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2022-03-25T17:01:18Z</dc:date>
    </item>
  </channel>
</rss>

