<?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: Input on mouse instead coordinates in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/input-on-mouse-instead-coordinates/m-p/11350796#M34357</link>
    <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 09:24:04 GMT</pubDate>
    <dc:creator>GSK2019</dc:creator>
    <dc:date>2022-08-10T09:24:04Z</dc:date>
    <item>
      <title>Input on mouse instead coordinates</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/input-on-mouse-instead-coordinates/m-p/11348966#M34353</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there is a code that you have a can use, so you can click where something has to be, instead of using coordinates? (something like revision table/Parts list etc).&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 14:23:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/input-on-mouse-instead-coordinates/m-p/11348966#M34353</guid>
      <dc:creator>GSK2019</dc:creator>
      <dc:date>2022-08-09T14:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Input on mouse instead coordinates</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/input-on-mouse-instead-coordinates/m-p/11349015#M34354</link>
      <description>&lt;P&gt;It could be done but would be a more complex process and perhaps unecessary for the user. Is the table not against a border of some kind? You can detect the borders of a sheet, work out the table size if the placement point isnt against a border then&amp;nbsp; then just move the table against the border. &lt;A href="https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/help-with-replacing-blank-cell-in-revision-table/m-p/10541583#M127627" target="_blank" rel="noopener"&gt;Here is a post&lt;/A&gt; with a postion sub routine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 14:45:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/input-on-mouse-instead-coordinates/m-p/11349015#M34354</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2022-08-09T14:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Input on mouse instead coordinates</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/input-on-mouse-instead-coordinates/m-p/11349393#M34355</link>
      <description>&lt;P&gt;Well that is maybe even better, is it hard to put in a corner every time automatically?&lt;/P&gt;&lt;P&gt;F.e.:&lt;/P&gt;&lt;P&gt;A0_landscape top right&lt;/P&gt;&lt;P&gt;A1_Portrait top right?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 17:09:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/input-on-mouse-instead-coordinates/m-p/11349393#M34355</guid>
      <dc:creator>GSK2019</dc:creator>
      <dc:date>2022-08-09T17:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Input on mouse instead coordinates</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/input-on-mouse-instead-coordinates/m-p/11349840#M34356</link>
      <description>&lt;P&gt;If you look for the position sub routine in the precious link you will see border.RangeBox.MaxPoint.X which is the right hand side border and Y&amp;nbsp;the top right hand corner.&lt;/P&gt;&lt;P&gt;For the partslist all you need is this point. If you place it in a sub like the rev table you can call it when you change orientation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;oTablePt&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;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;Border&lt;/SPAN&gt;.&lt;SPAN&gt;RangeBox&lt;/SPAN&gt;.&lt;SPAN&gt;MaxPoint&lt;/SPAN&gt;.&lt;SPAN&gt;X&lt;/SPAN&gt;, &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;TitleBlock&lt;/SPAN&gt;.&lt;SPAN&gt;RangeBox&lt;/SPAN&gt;.&lt;SPAN&gt;MaxPoint&lt;/SPAN&gt;.&lt;SPAN&gt;Y&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;This sub is set up for the rev table on right hand bottom corner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Private&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt;	&lt;SPAN&gt;Positiontable&lt;/SPAN&gt;( &lt;SPAN&gt;oTablePt&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Point2d&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;oRevTableItem&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;RevisionTable&lt;/SPAN&gt;
&lt;SPAN&gt;oRevTableItem&lt;/SPAN&gt; = &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;RevisionTables&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(1) 

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oWidthRevTable&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Double&lt;/SPAN&gt;
&lt;SPAN&gt;oWidthRevTable&lt;/SPAN&gt; = &lt;SPAN&gt;oRevTableItem&lt;/SPAN&gt;.&lt;SPAN&gt;RangeBox&lt;/SPAN&gt;.&lt;SPAN&gt;MaxPoint&lt;/SPAN&gt;.&lt;SPAN&gt;X&lt;/SPAN&gt; - &lt;SPAN&gt;oRevTableItem&lt;/SPAN&gt;.&lt;SPAN&gt;RangeBox&lt;/SPAN&gt;.&lt;SPAN&gt;MinPoint&lt;/SPAN&gt;.&lt;SPAN&gt;X&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oHeightRevTable&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Double&lt;/SPAN&gt;
&lt;SPAN&gt;oHeightRevTable&lt;/SPAN&gt; = &lt;SPAN&gt;oRevTableItem&lt;/SPAN&gt;.&lt;SPAN&gt;RangeBox&lt;/SPAN&gt;.&lt;SPAN&gt;MaxPoint&lt;/SPAN&gt;.&lt;SPAN&gt;Y&lt;/SPAN&gt; - &lt;SPAN&gt;oRevTableItem&lt;/SPAN&gt;.&lt;SPAN&gt;RangeBox&lt;/SPAN&gt;.&lt;SPAN&gt;MinPoint&lt;/SPAN&gt;.&lt;SPAN&gt;Y&lt;/SPAN&gt;

&lt;SPAN&gt;oTablePt&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;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;Border&lt;/SPAN&gt;.&lt;SPAN&gt;RangeBox&lt;/SPAN&gt;.&lt;SPAN&gt;MaxPoint&lt;/SPAN&gt;.&lt;SPAN&gt;X&lt;/SPAN&gt; - &lt;SPAN&gt;oWidthRevTable&lt;/SPAN&gt;, &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;TitleBlock&lt;/SPAN&gt;.&lt;SPAN&gt;RangeBox&lt;/SPAN&gt;.&lt;SPAN&gt;MaxPoint&lt;/SPAN&gt;.&lt;SPAN&gt;Y&lt;/SPAN&gt; + &lt;SPAN&gt;oHeightRevTable&lt;/SPAN&gt;)

&lt;SPAN&gt;oRevTableItem&lt;/SPAN&gt;.&lt;SPAN&gt;Position&lt;/SPAN&gt; = &lt;SPAN&gt;oTablePt&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 13:12:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/input-on-mouse-instead-coordinates/m-p/11349840#M34356</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2022-08-10T13:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Input on mouse instead coordinates</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/input-on-mouse-instead-coordinates/m-p/11350796#M34357</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 09:24:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/input-on-mouse-instead-coordinates/m-p/11350796#M34357</guid>
      <dc:creator>GSK2019</dc:creator>
      <dc:date>2022-08-10T09:24:04Z</dc:date>
    </item>
  </channel>
</rss>

