<?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: Link User Parameters by selecting the part file to link to in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-user-parameters-by-selecting-the-part-file-to-link-to/m-p/11021249#M135780</link>
    <description>&lt;P&gt;This is a post on the pick tool. This might be what your looking for.&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/ilogic-pick-function/td-p/7550908" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/ilogic-pick-function/td-p/7550908&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2022 12:43:02 GMT</pubDate>
    <dc:creator>dalton98</dc:creator>
    <dc:date>2022-03-22T12:43:02Z</dc:date>
    <item>
      <title>Link User Parameters by selecting the part file to link to</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-user-parameters-by-selecting-the-part-file-to-link-to/m-p/11021160#M135774</link>
      <description>&lt;P&gt;I'm trying to write ilogic code to link user parameters between file that will allow me to select the PART I want to drive my parameters from? I have a code that will work but I need to put the file path and name in the code, I can't get it to work if I try and select the part. The file with the parameters is a .ipt and the parameters to be linked are _1 in the comments. I'm just missing the select file to link to in my code.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 12:13:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-user-parameters-by-selecting-the-part-file-to-link-to/m-p/11021160#M135774</guid>
      <dc:creator>nowell.colsenXK53F</dc:creator>
      <dc:date>2022-03-22T12:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Link User Parameters by selecting the part file to link to</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-user-parameters-by-selecting-the-part-file-to-link-to/m-p/11021249#M135780</link>
      <description>&lt;P&gt;This is a post on the pick tool. This might be what your looking for.&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/ilogic-pick-function/td-p/7550908" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/ilogic-pick-function/td-p/7550908&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 12:43:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-user-parameters-by-selecting-the-part-file-to-link-to/m-p/11021249#M135780</guid>
      <dc:creator>dalton98</dc:creator>
      <dc:date>2022-03-22T12:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Link User Parameters by selecting the part file to link to</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-user-parameters-by-selecting-the-part-file-to-link-to/m-p/11021375#M135782</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12207216"&gt;@nowell.colsenXK53F&lt;/a&gt;.&amp;nbsp; Just in case you were looking for more of a file dialog, so that you can select a file, instead of the Pick function, some code like this might be useful to you.&amp;nbsp; It is a simple custom Function with no 'input' variables, that will open a file dialog (just like when you use Inventor's Open dialog), but it doesn't actually open the selected file.&amp;nbsp; Instead it just returns the full file name of the selected file.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Sub Main
	oFileName = SelectFile
	MsgBox("oFileName = " &amp;amp; oFileName,,"")
End Sub

Function SelectFile() As String
	Dim oFileDialog As Inventor.FileDialog
	ThisApplication.CreateFileDialog(oFileDialog)
	oFileDialog.DialogTitle = "Select A File."
	oFileDialog.InitialDirectory = ThisApplication.DesignProjectManager.ActiveDesignProject.WorkspacePath
	oFileDialog.Filter = "Autodesk Inventor Files (*.iam;*.dwg;*.idw;*.ipt:*.ipn;*.ide) | *.iam;*.dwg;*.idw;*ipt;*.ipn;*.ide | All files (*.*)|*.*"
	oFileDialog.MultiSelectEnabled = False
	oFileDialog.OptionsEnabled = False
	oFileDialog.InsertMode = False
	oFileDialog.CancelError = True
	Try
		oFileDialog.ShowOpen
		Return oFileDialog.FileName
	Catch
		Return ""
	End Try
End Function&lt;/LI-CODE&gt;
&lt;P&gt;If this solved your problem, or answered your question, please click &lt;SPAN&gt;&lt;STRONG&gt;ACCEPT SOLUTION&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;Or, if this helped you, please click (LIKE or KUDOS) &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@7401B55A0A518861312A0F851CD29320/emoticons/1f44d.png" alt=":thumbs_up:" title=":thumbs_up:" /&gt;.&lt;/P&gt;
&lt;P&gt;If you want and have time, I would appreciate your Vote(s) for &lt;A href="https://forums.autodesk.com/t5/forums/recentpostspage/post-type/message/interaction-style/idea/user-id/7812054/" target="_blank"&gt;My IDEAS &lt;/A&gt; :bulb: or you can Explore &lt;A href="https://knowledge.autodesk.com/profile/LTSUSR7HXMSAE/articles" target="_blank"&gt;My CONTRIBUTIONS &lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 13:25:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-user-parameters-by-selecting-the-part-file-to-link-to/m-p/11021375#M135782</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2022-03-22T13:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Link User Parameters by selecting the part file to link to</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-user-parameters-by-selecting-the-part-file-to-link-to/m-p/11022181#M135796</link>
      <description>&lt;P&gt;Are you starting your rule/code while a part document is open and the active document, or do you have an assembly document open &amp;amp; active when you start the rule/code.&amp;nbsp; Is this code in a 'local' rule (saved within the document) or an external rule?&amp;nbsp; Which version of Inventor are you using (year)?&amp;nbsp; If you are using Inventor 2022, are there any ModelStates involved?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 18:58:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-user-parameters-by-selecting-the-part-file-to-link-to/m-p/11022181#M135796</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2022-03-22T18:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Link User Parameters by selecting the part file to link to</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-user-parameters-by-selecting-the-part-file-to-link-to/m-p/11022231#M135800</link>
      <description>The file being Linked is open and the file that is being linked to is not open. the rule is external and running on Inventor 2018. No model states are being invoke.</description>
      <pubDate>Tue, 22 Mar 2022 19:16:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-user-parameters-by-selecting-the-part-file-to-link-to/m-p/11022231#M135800</guid>
      <dc:creator>nowell.colsenXK53F</dc:creator>
      <dc:date>2022-03-22T19:16:36Z</dc:date>
    </item>
  </channel>
</rss>

