<?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 the position of an angular dimension in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/change-the-position-of-an-angular-dimension/m-p/12113726#M21067</link>
    <description>&lt;P&gt;I succeeded in expressing the angular dimension using the code below. But I can't move the location.&lt;/P&gt;&lt;P&gt;I want to show the angular dimensions inward in the picture below.&lt;/P&gt;&lt;P&gt;oAgIntent1,2,3 are work points.&lt;/P&gt;&lt;P&gt;'Dim AgLocation As Point2d = oTG5.CreatePoint2d(view3.Center.X, view3.Center.Y - 3)&lt;BR /&gt;and applied it, but it gives an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;view3&lt;/SPAN&gt; = &lt;SPAN&gt;Sheet_1&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingViews&lt;/SPAN&gt;.&lt;SPAN&gt;ItemByName&lt;/SPAN&gt;(&lt;SPAN&gt;"BaseView3"&lt;/SPAN&gt;)
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDimStyle&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;DimensionStyle&lt;/SPAN&gt; = &lt;SPAN&gt;oStylesMgr&lt;/SPAN&gt;.&lt;SPAN&gt;DimensionStyles&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"일반"&lt;/SPAN&gt;)
	&lt;SPAN&gt;oAgIntent1&lt;/SPAN&gt; = &lt;SPAN&gt;view3&lt;/SPAN&gt;.&lt;SPAN&gt;GetIntent&lt;/SPAN&gt;(&lt;SPAN&gt;"AG1-1"&lt;/SPAN&gt;)
	&lt;SPAN&gt;oAgIntent2&lt;/SPAN&gt; = &lt;SPAN&gt;view3&lt;/SPAN&gt;.&lt;SPAN&gt;GetIntent&lt;/SPAN&gt;(&lt;SPAN&gt;"AG1-2"&lt;/SPAN&gt;)
	&lt;SPAN&gt;oAgIntent3&lt;/SPAN&gt; = &lt;SPAN&gt;view3&lt;/SPAN&gt;.&lt;SPAN&gt;GetIntent&lt;/SPAN&gt;(&lt;SPAN&gt;"AG1-3"&lt;/SPAN&gt;)
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oAgDimension&lt;/SPAN&gt; = &lt;SPAN&gt;Sheet_1&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingDimensions&lt;/SPAN&gt;.&lt;SPAN&gt;GeneralDimensions&lt;/SPAN&gt;
	&lt;SPAN&gt;dimAngle&lt;/SPAN&gt; = &lt;SPAN&gt;oAgDimension&lt;/SPAN&gt;.&lt;SPAN&gt;AddAngular&lt;/SPAN&gt;(&lt;SPAN&gt;"angle"&lt;/SPAN&gt;, &lt;SPAN&gt;view3&lt;/SPAN&gt;.&lt;SPAN&gt;Center&lt;/SPAN&gt; , &lt;SPAN&gt;oAgIntent1&lt;/SPAN&gt;, &lt;SPAN&gt;oAgIntent2&lt;/SPAN&gt;, &lt;SPAN&gt;oAgIntent3&lt;/SPAN&gt;, , , , &lt;SPAN&gt;oDimStyle&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ysbaodnj_0-1689818872232.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1242603i2954208ECBCA4E5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ysbaodnj_0-1689818872232.png" alt="ysbaodnj_0-1689818872232.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jul 2023 02:08:16 GMT</pubDate>
    <dc:creator>ysbaodnj</dc:creator>
    <dc:date>2023-07-20T02:08:16Z</dc:date>
    <item>
      <title>Change the position of an angular dimension</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/change-the-position-of-an-angular-dimension/m-p/12113726#M21067</link>
      <description>&lt;P&gt;I succeeded in expressing the angular dimension using the code below. But I can't move the location.&lt;/P&gt;&lt;P&gt;I want to show the angular dimensions inward in the picture below.&lt;/P&gt;&lt;P&gt;oAgIntent1,2,3 are work points.&lt;/P&gt;&lt;P&gt;'Dim AgLocation As Point2d = oTG5.CreatePoint2d(view3.Center.X, view3.Center.Y - 3)&lt;BR /&gt;and applied it, but it gives an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;view3&lt;/SPAN&gt; = &lt;SPAN&gt;Sheet_1&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingViews&lt;/SPAN&gt;.&lt;SPAN&gt;ItemByName&lt;/SPAN&gt;(&lt;SPAN&gt;"BaseView3"&lt;/SPAN&gt;)
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDimStyle&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;DimensionStyle&lt;/SPAN&gt; = &lt;SPAN&gt;oStylesMgr&lt;/SPAN&gt;.&lt;SPAN&gt;DimensionStyles&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"일반"&lt;/SPAN&gt;)
	&lt;SPAN&gt;oAgIntent1&lt;/SPAN&gt; = &lt;SPAN&gt;view3&lt;/SPAN&gt;.&lt;SPAN&gt;GetIntent&lt;/SPAN&gt;(&lt;SPAN&gt;"AG1-1"&lt;/SPAN&gt;)
	&lt;SPAN&gt;oAgIntent2&lt;/SPAN&gt; = &lt;SPAN&gt;view3&lt;/SPAN&gt;.&lt;SPAN&gt;GetIntent&lt;/SPAN&gt;(&lt;SPAN&gt;"AG1-2"&lt;/SPAN&gt;)
	&lt;SPAN&gt;oAgIntent3&lt;/SPAN&gt; = &lt;SPAN&gt;view3&lt;/SPAN&gt;.&lt;SPAN&gt;GetIntent&lt;/SPAN&gt;(&lt;SPAN&gt;"AG1-3"&lt;/SPAN&gt;)
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oAgDimension&lt;/SPAN&gt; = &lt;SPAN&gt;Sheet_1&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingDimensions&lt;/SPAN&gt;.&lt;SPAN&gt;GeneralDimensions&lt;/SPAN&gt;
	&lt;SPAN&gt;dimAngle&lt;/SPAN&gt; = &lt;SPAN&gt;oAgDimension&lt;/SPAN&gt;.&lt;SPAN&gt;AddAngular&lt;/SPAN&gt;(&lt;SPAN&gt;"angle"&lt;/SPAN&gt;, &lt;SPAN&gt;view3&lt;/SPAN&gt;.&lt;SPAN&gt;Center&lt;/SPAN&gt; , &lt;SPAN&gt;oAgIntent1&lt;/SPAN&gt;, &lt;SPAN&gt;oAgIntent2&lt;/SPAN&gt;, &lt;SPAN&gt;oAgIntent3&lt;/SPAN&gt;, , , , &lt;SPAN&gt;oDimStyle&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ysbaodnj_0-1689818872232.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1242603i2954208ECBCA4E5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ysbaodnj_0-1689818872232.png" alt="ysbaodnj_0-1689818872232.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 02:08:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/change-the-position-of-an-angular-dimension/m-p/12113726#M21067</guid>
      <dc:creator>ysbaodnj</dc:creator>
      <dc:date>2023-07-20T02:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Change the position of an angular dimension</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/change-the-position-of-an-angular-dimension/m-p/12114869#M21068</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10139375"&gt;@ysbaodnj&lt;/a&gt;.&amp;nbsp; The second piece of data that the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=c0a7eb37-0d59-962c-56f5-aef421470772" target="_blank" rel="noopener"&gt;AddAngular&lt;/A&gt; method requires as input&amp;nbsp;(labeled "textOrigin") must be understood as a&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=19f1f48c-5f34-7863-d03f-356d06328d8e" target="_blank" rel="noopener"&gt;AngularDimensionTextPositionSpec&lt;/A&gt; type object.&amp;nbsp; Specifying one of these requires something known as a&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=e7fa255f-9a6a-8c00-4399-2c0185c3b6db" target="_blank" rel="noopener"&gt;DocumentUnitsPoint2d&lt;/A&gt; type object.&amp;nbsp; This uses the 'document units' to specify the location of the point, instead of database units (centimeters).&amp;nbsp; The &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=b806a25b-3926-6d37-7895-02571adedba0" target="_blank" rel="noopener"&gt;IManagedDrawingView.Center&lt;/A&gt; property returns an object of that needed type (DocumentUnitsPoint2D), but the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=TransientGeometry_CreatePoint2d" target="_blank" rel="noopener"&gt;TransientGeometry.CreatePoint2D() method&lt;/A&gt;&amp;nbsp;creates a regular &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-Point2d" target="_blank" rel="noopener"&gt;Point2D&lt;/A&gt;&amp;nbsp;object, which is the wrong type, and will not be accepted there.&amp;nbsp; Another simple way to create custom DocumentUnits type geometry objects is though the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=87161197-7f93-9efb-1ba4-727d04e86708" target="_blank" rel="noopener"&gt;ThisDoc.Geometry&lt;/A&gt; route (returns &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=20b885cf-ad04-753e-c7a6-22ded7794107" target="_blank" rel="noopener"&gt;IGeometry&lt;/A&gt; object).&amp;nbsp; Then the &lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=1d450da6-0b79-05a5-6af8-ebcb44404feb" target="_blank" rel="noopener"&gt;IGeometry.Point2D&lt;/A&gt; method can be used to create a custom DocumentUnitsPoint2D object.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Dim TxtPos As DocumentUnitsPoint2d = ThisDoc.Geometry.Point2d(0,0)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 13:28:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/change-the-position-of-an-angular-dimension/m-p/12114869#M21068</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2023-07-20T13:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change the position of an angular dimension</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/change-the-position-of-an-angular-dimension/m-p/12297261#M21069</link>
      <description>&lt;P&gt;See example here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-programming-ilogic/create-angle-dim-like-this/m-p/12297183/highlight/false#M158917" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-programming-ilogic/create-angle-dim-like-this/m-p/12297183/highlight/false#M158917&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 19:38:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/change-the-position-of-an-angular-dimension/m-p/12297261#M21069</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2023-10-10T19:38:56Z</dc:date>
    </item>
  </channel>
</rss>

