<?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: Placing hole notes accurately is impossible in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/placing-hole-notes-accurately-is-impossible/m-p/11507915#M144313</link>
    <description>&lt;P&gt;I have tried messing with text justification, but that is not part of the problem.&amp;nbsp; Without changing the text justification, I get different placement of the hole note depending on where it started.&amp;nbsp; The Y value works as it should.&amp;nbsp; No matter how high or low I place the holenote before running the program, it always goes down to the same place.&amp;nbsp; But the x value should go to the exact same place left of right, no matter where the hole note starts and it doesn't.&amp;nbsp; See video.&amp;nbsp; In the video, the text justification, never changes, but I still don't get the same results.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2022 19:25:00 GMT</pubDate>
    <dc:creator>shastu</dc:creator>
    <dc:date>2022-10-25T19:25:00Z</dc:date>
    <item>
      <title>Placing hole notes accurately is impossible</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/placing-hole-notes-accurately-is-impossible/m-p/11507033#M144294</link>
      <description>&lt;P&gt;Please see the video attached.&amp;nbsp; This is just for demonstration purposes but let's assume that I want to place the hole note text precisely at x position of 30 and y position of 20.&amp;nbsp; In my code I specifically set both the oPosition.x, oHN.Text.Origin.x, Oposition.y, and oHN.Text.Origin.y.&amp;nbsp; Just to prove my point, I did the same thing again and set everything again to the same values.&amp;nbsp; So in theory the first time the oHN.Text.Origin - oPosition is executed, the hole note should move to a 30,20 location.&amp;nbsp; Then as it continues through the code, the next time the&amp;nbsp;oHN.Text.Origin - oPosition&amp;nbsp; is executed, the hole note should not move because it is already in that location, but it does.&amp;nbsp; Why oh why does this happen?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 14:09:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/placing-hole-notes-accurately-is-impossible/m-p/11507033#M144294</guid>
      <dc:creator>shastu</dc:creator>
      <dc:date>2022-10-25T14:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Placing hole notes accurately is impossible</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/placing-hole-notes-accurately-is-impossible/m-p/11507504#M144303</link>
      <description>&lt;P&gt;This should help show the problem.&amp;nbsp; See video.&amp;nbsp; I set the oHN.Text.Origin = oPosition.&amp;nbsp; As you can see in the watch window, the values of the oHN.Text.Origin should be 30 and 20, but instead they come in at 27.0325996541975 and 19.999999999999998.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fautode.sk%2F3N28hkh&amp;amp;data=05%7C01%7Cshastu%40bradburyco.com%7C1e9fd2bd839941236bab08dab6a57b83%7Ca4049eaf4d8e48a0a2b63dd13746d6f1%7C0%7C0%7C638023119125318493%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=hXA%2FGyh8S%2BUXv1TEihSgiTA13Uigdg5U%2FBD4BicuUYI%3D&amp;amp;reserved=0" target="_blank"&gt;https://autode.sk/3N28hkh&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 16:28:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/placing-hole-notes-accurately-is-impossible/m-p/11507504#M144303</guid>
      <dc:creator>shastu</dc:creator>
      <dc:date>2022-10-25T16:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Placing hole notes accurately is impossible</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/placing-hole-notes-accurately-is-impossible/m-p/11507693#M144306</link>
      <description>&lt;P&gt;What's the setting for the horizontal text justification?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 17:46:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/placing-hole-notes-accurately-is-impossible/m-p/11507693#M144306</guid>
      <dc:creator>MICHAEL.JONES.AMCE</dc:creator>
      <dc:date>2022-10-25T17:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Placing hole notes accurately is impossible</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/placing-hole-notes-accurately-is-impossible/m-p/11507915#M144313</link>
      <description>&lt;P&gt;I have tried messing with text justification, but that is not part of the problem.&amp;nbsp; Without changing the text justification, I get different placement of the hole note depending on where it started.&amp;nbsp; The Y value works as it should.&amp;nbsp; No matter how high or low I place the holenote before running the program, it always goes down to the same place.&amp;nbsp; But the x value should go to the exact same place left of right, no matter where the hole note starts and it doesn't.&amp;nbsp; See video.&amp;nbsp; In the video, the text justification, never changes, but I still don't get the same results.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 19:25:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/placing-hole-notes-accurately-is-impossible/m-p/11507915#M144313</guid>
      <dc:creator>shastu</dc:creator>
      <dc:date>2022-10-25T19:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Placing hole notes accurately is impossible</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/placing-hole-notes-accurately-is-impossible/m-p/11510988#M144363</link>
      <description>&lt;P&gt;It looks like it's not possible to modify the X position of the text for an existing hole note. You can set the Y value, but there are constraints on X. The hole note has a leader, but it is not available in the API. This is a problem on Inventor 2021, and probably on later versions as well.&lt;BR /&gt;The only thing I can recommend is to create the HoleThreadNote from scratch with the API. That should give you more control over text position than moving an existing note.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 20:48:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/placing-hole-notes-accurately-is-impossible/m-p/11510988#M144363</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2022-10-26T20:48:51Z</dc:date>
    </item>
  </channel>
</rss>

