<?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 a new parameter to a custom iproperty in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-a-new-parameter-to-a-custom-iproperty/m-p/5898430#M59738</link>
    <description>&lt;P&gt;You may consider the following simple iLogic rule.&lt;/P&gt;
&lt;P&gt;It reads the custom property "AAA" value and then assigns it to the user-defined text parameter “Parameter_AAA”:&lt;/P&gt;

&lt;PRE&gt;&lt;FONT color="#339966"&gt;' iLogic rule 'UpdateUserParameter'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;' reads custom property "AAA" value&lt;/FONT&gt;
Dim PropValue As String = iProperties.Value("Custom", "AAA")
&lt;FONT color="#339966"&gt;'updates the user-defined text parameter&lt;/FONT&gt;
&lt;FONT color="#0000FF"&gt;Parameter_AAA&lt;/FONT&gt; = PropValue
&amp;nbsp;
&lt;FONT color="#339966"&gt;'this message is for debugging only&lt;/FONT&gt;
MsgBox("Parameter was updated: " &amp;amp; &lt;FONT color="#0000FF"&gt;Parameter_AAA&lt;/FONT&gt;)&lt;/PRE&gt;

&lt;P&gt;Using iLogic event you may handle iProperty changes automatically:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/199313iA0D0CA3799630820/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Events.PNG" title="Events.PNG" width="472" height="240" /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 08 Nov 2015 21:12:33 GMT</pubDate>
    <dc:creator>Vladimir.Ananyev</dc:creator>
    <dc:date>2015-11-08T21:12:33Z</dc:date>
    <item>
      <title>link a new parameter to a custom iproperty</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-a-new-parameter-to-a-custom-iproperty/m-p/5892323#M59633</link>
      <description>&lt;P&gt;In an assembly drawing, I am wanting to pull information from various subassemblies to show as information in a text box. I can get the information to populate in a custom iProperty, &amp;amp; noticed that the text block can pull from parameters in subassemblies &amp;amp; parts. Is there a way to link a user parameter to the custom iproperty?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Nathan&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 15:00:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-a-new-parameter-to-a-custom-iproperty/m-p/5892323#M59633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-04T15:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: link a new parameter to a custom iproperty</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-a-new-parameter-to-a-custom-iproperty/m-p/5892835#M59640</link>
      <description>&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/exporting-user-text-parameters-to-custom-i-properties/td-p/3707456" target="_self"&gt;https://forums.autodesk.com/t5/inventor-customization/exporting-user-text-parameters-to-custom-i-properties/td-p/3707456&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 19:04:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-a-new-parameter-to-a-custom-iproperty/m-p/5892835#M59640</guid>
      <dc:creator>BrandonBG</dc:creator>
      <dc:date>2015-11-04T19:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: link a new parameter to a custom iproperty</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-a-new-parameter-to-a-custom-iproperty/m-p/5893022#M59644</link>
      <description>&lt;P&gt;The opposite direction, instead of parameter to iProperty, I need iProperty to parameter.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 20:33:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-a-new-parameter-to-a-custom-iproperty/m-p/5893022#M59644</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-04T20:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: link a new parameter to a custom iproperty</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-a-new-parameter-to-a-custom-iproperty/m-p/5898430#M59738</link>
      <description>&lt;P&gt;You may consider the following simple iLogic rule.&lt;/P&gt;
&lt;P&gt;It reads the custom property "AAA" value and then assigns it to the user-defined text parameter “Parameter_AAA”:&lt;/P&gt;

&lt;PRE&gt;&lt;FONT color="#339966"&gt;' iLogic rule 'UpdateUserParameter'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;' reads custom property "AAA" value&lt;/FONT&gt;
Dim PropValue As String = iProperties.Value("Custom", "AAA")
&lt;FONT color="#339966"&gt;'updates the user-defined text parameter&lt;/FONT&gt;
&lt;FONT color="#0000FF"&gt;Parameter_AAA&lt;/FONT&gt; = PropValue
&amp;nbsp;
&lt;FONT color="#339966"&gt;'this message is for debugging only&lt;/FONT&gt;
MsgBox("Parameter was updated: " &amp;amp; &lt;FONT color="#0000FF"&gt;Parameter_AAA&lt;/FONT&gt;)&lt;/PRE&gt;

&lt;P&gt;Using iLogic event you may handle iProperty changes automatically:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/199313iA0D0CA3799630820/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Events.PNG" title="Events.PNG" width="472" height="240" /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Nov 2015 21:12:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-a-new-parameter-to-a-custom-iproperty/m-p/5898430#M59738</guid>
      <dc:creator>Vladimir.Ananyev</dc:creator>
      <dc:date>2015-11-08T21:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: link a new parameter to a custom iproperty</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-a-new-parameter-to-a-custom-iproperty/m-p/5900094#M59763</link>
      <description>&lt;P&gt;This ran and showed a comment box that the parameter was updated. My custom iproperty I had named as Weight, so I changed everything in the iLogic that was "AAA" to "Weight." I then created a user text parameter "Weight." Ran the rule. Message box says &amp;nbsp;"Parameter was updated: 335.08 lbs." When I check the parameter I created, it is blank. What parameter is updated, and where do I find it?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 21:37:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-a-new-parameter-to-a-custom-iproperty/m-p/5900094#M59763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-09T21:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: link a new parameter to a custom iproperty</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-a-new-parameter-to-a-custom-iproperty/m-p/5900594#M59775</link>
      <description>&lt;P&gt;&amp;nbsp;I expect your updated rule &amp;nbsp;looks like this:&lt;/P&gt;
&lt;PRE&gt;Dim PropValue As String = iProperties.Value("Custom", "AAA")
&lt;FONT color="#339966"&gt;'updates the user-defined text parameter&lt;/FONT&gt;
&lt;FONT color="#0000FF"&gt;Weight&lt;/FONT&gt; = PropValue
&amp;nbsp;
&lt;FONT color="#339966"&gt;'this message is for debugging only&lt;/FONT&gt;
MsgBox("Parameter was updated: " &amp;amp; &lt;FONT color="#0000FF"&gt;Weight&lt;/FONT&gt;)&lt;/PRE&gt;
&lt;P&gt;Name in blue should be the name of your user parameter.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 07:56:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-a-new-parameter-to-a-custom-iproperty/m-p/5900594#M59775</guid>
      <dc:creator>Vladimir.Ananyev</dc:creator>
      <dc:date>2015-11-10T07:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: link a new parameter to a custom iproperty</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-a-new-parameter-to-a-custom-iproperty/m-p/5901206#M59787</link>
      <description>&lt;P&gt;I believe this works. Awesome! Thank you for the help &amp;amp; the code.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 14:58:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/link-a-new-parameter-to-a-custom-iproperty/m-p/5901206#M59787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-10T14:58:12Z</dc:date>
    </item>
  </channel>
</rss>

